docs(changelog): dedupe post-release 5.1.0 section and clean accumulated stray titles#339
Conversation
…ted stray titles The release plugin's generate_changelog.py prepends an AI-generated version section above the '# Changelog' title, which accumulates over releases. Clean it: - Remove the AI-generated duplicate [5.1.0] block from above the title, keeping the hand-curated [5.1.0] section (with the SemVer rationale + structured Security/Behavior/Migration subsections). - Remove three stray '# Changelog' title lines left mid-file by past releases (in the [3.3.0], [3.2.1], [3.1.0] sections). - Remove a duplicate [4.2.0] section (two entries for the same release), keeping the concise one. Result: a single '# Changelog' title and one section per version, in order.
There was a problem hiding this comment.
Pull request overview
This PR performs post-release cleanup of CHANGELOG.md to remove release-plugin AI-prepended duplicate version blocks and stray repeated # Changelog titles, restoring a single top-level title and one section per release in descending order.
Changes:
- Removed the duplicated AI-generated
## [5.1.0]block that appeared above the main# Changelogtitle. - Removed an extra duplicate
## [4.2.0]section so only one remains. - Removed stray mid-file
# Changelogheadings within the3.3.0,3.2.1, and3.1.0sections.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ReviewVerified against the working tree (which already reflects this PR's merge state) — the changes do exactly what the PR description claims, cleanly:
Nothing to flag on code quality, bugs, security, or test coverage — this is a docs-only cleanup with no functional surface. Nice catch on identifying the root cause (the release plugin's One minor, non-blocking suggestion: since this is a recurring artifact of the release automation, it might be worth a follow-up issue to fix |
Post-release cleanup of
CHANGELOG.md. The release plugin'sgenerate_changelog.pyprepends an AI-generated version section above the# Changelogtitle on every release, which has accumulated over time.Removed (210 lines, deletions only — no content altered):
## [5.1.0]block sitting above the title, keeping the hand-curated[5.1.0]section (SemVer rationale + structured Security / Behavior changes / Migration subsections).# Changelogtitle lines left mid-file by past releases (in the[3.3.0],[3.2.1],[3.1.0]sections).## [4.2.0]section (two entries for the same release), keeping the concise one.Result: a single
# Changelogtitle and exactly one section per version, in descending order (5.1.0→ … →3.0.0), no duplicates.