From 9708af9cf407391f3d35af8e2ec85531b4da37ba Mon Sep 17 00:00:00 2001 From: Jonathan Yoder Date: Fri, 14 Aug 2026 13:38:25 -0400 Subject: [PATCH] chore(release): date 0.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dates [Unreleased] as 0.7.0 (2026-08-14) and adds its compare link. Verified against `git diff v0.6.0..origin/main -- CHANGELOG.md` that the section contains exactly the one subheading added since that tag, so no already-published content is re-dated. Also corrects that entry's opening line before it becomes immutable. It said ReleaseKey.String "renders the smallest version string carrying a key", which is false in the way that matters: it renders the SHORTEST one, and 1.0a1 and 1.0.dev0 carry the same key while sorting strictly below it. The paragraph further down already says so; the summary line contradicted it. It also said "group", which reads as "map key" — a ReleaseKey holds a slice and cannot be one. --- CHANGELOG.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c59803c..0d431f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,13 +9,15 @@ mistaken for a safe patch upgrade. ## [Unreleased] +## [0.7.0] - 2026-08-14 + ### Added - `version`: `Version.ReleaseKey()` and the `ReleaseKey` type, for consumers - that need to group or bracket versions by their **release** — the epoch and + that need to order or partition versions by their **release** — the epoch and the release segments with trailing zeros stripped — ignoring the pre/post/dev/local suffix. `ReleaseKey.Compare` orders two keys, and - `ReleaseKey.String` renders the smallest version string carrying a key. + `ReleaseKey.String` renders a key in canonical shortest form. Until now the only way to reach a version's release from outside this package was `BaseVersion()`, which renders the version back to text (a @@ -1009,7 +1011,8 @@ Initial release. One module, one package per PEP concern: - `license/` — PyPI classifier standardization, SPDX expression parsing, and top-level license derivation. -[Unreleased]: https://github.com/posit-dev/go-python-packaging/compare/v0.6.0...HEAD +[Unreleased]: https://github.com/posit-dev/go-python-packaging/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/posit-dev/go-python-packaging/compare/v0.6.0...v0.7.0 [0.6.0]: https://github.com/posit-dev/go-python-packaging/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/posit-dev/go-python-packaging/compare/v0.4.0...v0.5.0 [0.4.0]: https://github.com/posit-dev/go-python-packaging/compare/v0.3.1...v0.4.0