Skip to content

chore: prepare the 4.0.2 release - #66

Merged
futamura merged 1 commit into
mainfrom
develop
Aug 20, 2026
Merged

futamura merged 1 commit into
mainfrom
develop

Conversation

@futamura

Copy link
Copy Markdown
Owner

Summary

Cuts 4.0.2. MARKETING_VERSION goes to 4.0.2 via fastlane set_version version:4.0.2, and the changelog's Unreleased section becomes ## [4.0.2] - 2026-08-21 with its compare link.

The one user-facing change in this release is the refreshed Public Suffix List: the frozen copies had not been regenerated since August 2024, so useFrozenData: true was resolving against a two-year-old list. Everything else is packaging (Swift Package Index listing) and maintainer tooling. No public API changes, hence a patch.

Contents

  • The weekly workflow that refreshes the bundled Public Suffix List.
  • The Swift Package Index listing: .spi.yml, README badges, author line.
  • update-psl.py writing all three bundled copies from a single download, and requiring Python 3.
  • The set_version / bump_version lanes accepting arguments and failing without a TTY.

Side effect on the package page

The Swift Package Index derives the author line from the commit history, so the page still reads "Written by gumob and 3 other contributors." despite #65 landing metadata.authors. Per SPIManifest's docs, .spi.yml changes on a default branch may take up to 24 hours because revisions are collated, while releases are processed as soon as possible. Tagging 4.0.2 therefore also settles the author line.

Coordination

PunycodeSwift is cutting its own 4.0.2 in parallel. Package.swift pins Punycode with .upToNextMajor(from: "4.0.0"), so neither release constrains the other and no manifest change is needed here.

Verification

  • git diff on the pbxproj shows only the four MARKETING_VERSION lines — the lane made no other edits.
  • Changelog link section: [Unreleased] now compares from 4.0.2, and [4.0.2] compares 4.0.1...4.0.2.

After merge

Push the bare tag 4.0.2; release.yml verifies it against MARKETING_VERSION and creates the GitHub Release from the changelog section. Not part of this PR.

Set MARKETING_VERSION to 4.0.2 via the set_version lane and close out the
Unreleased section of the changelog.

The release carries the refreshed Public Suffix List, which is the one
user-facing change: the frozen copies had not been regenerated since
August 2024, so useFrozenData: true was resolving against a two-year-old
list. Everything else is packaging and maintainer tooling. No public API
changes, hence a patch.
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@futamura
futamura merged commit 510928c into main Aug 20, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant