Skip to content

Fix 2.20.0 notes gap + make curated notes obligatory for stable releases#243

Merged
lesnik512 merged 2 commits into
mainfrom
docs/release-2.20.0-notes
Jun 26, 2026
Merged

Fix 2.20.0 notes gap + make curated notes obligatory for stable releases#243
lesnik512 merged 2 commits into
mainfrom
docs/release-2.20.0-notes

Conversation

@lesnik512

@lesnik512 lesnik512 commented Jun 26, 2026

Copy link
Copy Markdown
Member

What

Two commits closing the same gap and preventing recurrence:

  1. docs(release): add 2.20.0 notes — adds the missing planning/releases/2.20.0.md. Covers the one feature in 2.20.0, Group.get_named_providers() (feat: add Group.get_named_providers() #242); the rest of the tag range is planning/CLAUDE.md/CI chores with no API change.
  2. ci(release): require curated notes for stable tags — adds a guard step in release.yml before just publish that fails the release if a stable tag has no planning/releases/<tag>.md.

Why

The 2.20.0 tag was cut without a curated notes file, so release.yml hit its fallback (generate_release_notes: true) and published the GitHub Release with GitHub's auto-generated PR list — the only release since 2.15.0 missing curated notes.

Because PyPI publish is irreversible and runs first, the guard runs before it: a missing notes file now aborts the release before anything ships, instead of silently degrading to auto-generated notes. Pre-release tags (e.g. 2.0.0rc1) stay exempt and keep the fallback.

Follow-up (manual, outward-facing)

The live 2.20.0 GitHub Release body still shows the auto-generated notes. After merge, restore it from the curated file:

gh release edit 2.20.0 --notes-file planning/releases/2.20.0.md

Nothing to do on PyPI — that publish is irreversible and already correct.

🤖 Generated with Claude Code

lesnik512 and others added 2 commits June 26, 2026 11:05
The 2.20.0 tag was cut without planning/releases/2.20.0.md, so release.yml
fell back to GitHub's auto-generated PR list instead of curated notes. Add
the missing notes file (Group.get_named_providers()) to match every release
since 2.15.0 and restore the GitHub Release body to the curated form.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a guard step before `just publish` that fails the release when a stable
tag has no planning/releases/<tag>.md. PyPI is irreversible and runs first, so
the check gates it: a missing notes file now aborts before anything ships,
instead of silently falling back to GitHub's auto-generated notes (which is
how 2.20.0 went out). Pre-release tags (e.g. 2.0.0rc1) stay exempt and keep
the auto-generated fallback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 changed the title docs(release): add 2.20.0 notes Fix 2.20.0 notes gap + make curated notes obligatory for stable releases Jun 26, 2026
@lesnik512 lesnik512 merged commit 0c3f9b3 into main Jun 26, 2026
7 checks passed
@lesnik512 lesnik512 deleted the docs/release-2.20.0-notes branch June 26, 2026 08:13
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