Skip to content

docs: move three fixes out of the published 0.2.0 section into 0.3.0 - #23

Merged
jonyoder merged 1 commit into
mainfrom
changelog-0.3.0
Aug 7, 2026
Merged

jonyoder merged 1 commit into
mainfrom
changelog-0.3.0

Conversation

@jonyoder

@jonyoder jonyoder commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

What

Moves three fixes out of the published ## [0.2.0] changelog section into a new ## [0.3.0], and adds a guardrail so it does not recur.

Why

v0.2.0 was already cut. It was tagged and pushed on 2026-08-03 at 3dfc5dc, and the module proxy has served it since:

$ curl -s https://proxy.golang.org/github.com/posit-dev/go-python-packaging/@v/v0.2.0.info
{"Version":"v0.2.0","Time":"2026-08-03T16:19:37Z","Origin":{"VCS":"git",
 "URL":"https://github.com/posit-dev/go-python-packaging",
 "Hash":"3dfc5dc4447367996e677fbf7f7008fa307624d1","Ref":"refs/tags/v0.2.0"}}

Four commits landed after that tag — #19, #20, #21, #22 — and three wrote their entries into the dated [0.2.0] section rather than [Unreleased], on the reasoning that the tag was not yet cut. [Unreleased] was empty. So the changelog claimed for v0.2.0 three changes it does not contain:

Entry PR In v0.2.0?
Comma required between adjacent specifiers #22 no
Empty specifier set admits every version #21 no
All-digit local segments normalize as integers #20 no

A Go module tag is immutable once the proxy has seen it, so there is no outcome where v0.2.0 becomes correct. The entries move forward instead.

Two of the three narrow what parses and one changes rendered output, so per this module's own stated policy — breaking changes take a minor bump while major is 0 — the next tag is 0.3.0, not 0.2.1.

Verification

The 0.2.0 section is now byte-identical to what the tag actually shipped. Every other line is additive:

$ git diff 3dfc5dc -- CHANGELOG.md | grep '^-' | grep -v '^---'
-[Unreleased]: https://github.com/posit-dev/go-python-packaging/compare/v0.2.0...HEAD

That one removal is the compare link, which is replaced.

Also in this PR

#19 is now documented, under 0.3.0's Notes. It was NOTICE-only so it had no entry, but for a redistributor it is the release's most consequential change: it credits pkginfo and pypa/twine, whose material distribution/ ports uncredited through v0.2.0; corrects pypa/packaging's license to its Apache-2.0 or BSD-2-Clause dual offer; and deletes a claim that no source from the cited projects was incorporated — false since tags/ landed on 2026-07-08, and so false in v0.1.0, v0.1.1, v0.1.2 and v0.2.0 alike.

A guardrail in CLAUDE.md. The existing rule said entries go under [Unreleased]; it did not say to verify that a dated section is actually unreleased. It now says to check git ls-remote --tags origin first, and why. CI does not validate the changelog, so this stays a review concern.

Follow-up

Tag v0.3.0 once this merges. go-pyresolver pins v0.2.0 today, which lacks the invented-comma fix, and it needs to move to v0.3.0 before its own first tag is cut (that tag blocks rstudio/package-manager#19437).

Docs-only: no .go files touched.

🤖 Generated with Claude Code

v0.2.0 WAS ALREADY CUT. It was tagged and pushed on 2026-08-03 at 3dfc5dc, and
proxy.golang.org has served it since:

    {"Version":"v0.2.0","Time":"2026-08-03T16:19:37Z",
     "Origin":{"Hash":"3dfc5dc4447367996e677fbf7f7008fa307624d1",...}}

Four commits landed after that tag -- #19, #20, #21, #22 -- and three of them
wrote their entries into the dated `## [0.2.0]` section rather than
`[Unreleased]`, on the stated reasoning that the tag had not been cut yet. So
the changelog claimed for v0.2.0 three changes that v0.2.0 does not contain:
the required comma between specifiers, the empty-specifier-set inversion, and
all-digit local segment normalization. `[Unreleased]` was empty.

A GO MODULE TAG IS IMMUTABLE once the proxy has seen it, so there is no version
of this that ends with v0.2.0 being correct. The entries move forward instead.

Two of the three narrow what parses and one changes rendered output, so per this
module's own stated policy -- breaking changes take a minor bump while major is
0 -- the next tag is 0.3.0, not 0.2.1.

VERIFIED that the 0.2.0 section is now byte-identical to what the tag shipped:
`git diff 3dfc5dc -- CHANGELOG.md` removes exactly one line, the [Unreleased]
compare link, which is replaced. Everything else is additive.

Also documents #19 under 0.3.0's Notes. It was NOTICE-only so it had no entry,
but it is the release's most consequential change for a redistributor: it credits
pkginfo and twine, whose material distribution/ ports uncredited through v0.2.0,
corrects pypa/packaging's license to the Apache-2.0-OR-BSD-2-Clause dual offer,
and deletes a claim that no source from the cited projects was incorporated --
false since tags/ landed on 2026-07-08, and therefore false in v0.1.0, v0.1.1,
v0.1.2 and v0.2.0 alike.

And adds the guardrail to CLAUDE.md, since the existing rule said entries go
under [Unreleased] without saying to verify the assumption that a dated section
is unreleased. CI does not validate the changelog.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@jonyoder
jonyoder merged commit dd1f024 into main Aug 7, 2026
2 checks passed
@jonyoder
jonyoder deleted the changelog-0.3.0 branch August 7, 2026 16:50
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