Skip to content

chore(changelog): drop hand-written [Unreleased] section#38

Merged
Sam Gammon (sgammon) merged 1 commit into
mainfrom
chore/changelog-drop-unreleased
Jun 25, 2026
Merged

chore(changelog): drop hand-written [Unreleased] section#38
Sam Gammon (sgammon) merged 1 commit into
mainfrom
chore/changelog-drop-unreleased

Conversation

@sgammon

Copy link
Copy Markdown
Member

Companion to #35 (release-as). release-please generates each version's changelog from Conventional Commits and prepends it to CHANGELOG.md, so the hand-written ## [Unreleased] section duplicates the released content — exactly what Copilot flagged on the release PR.

Removing it so that when release-please regenerates the release PR off main, the changelog is clean (preamble + the generated ## 0.1.0 section, no duplication). The prior curated entries are captured in the generated 0.1.0 notes and remain in git history.

Merge this before the release PR. On merge, release-please regenerates the 0.1.0 release PR with a clean changelog.

release-please generates each version's notes from Conventional Commits and
prepends them to this file, so a hand-maintained [Unreleased] section duplicates
the released content and confuses the changelog. Remove it; the prior entries
are captured in the generated 0.1.0 section (and remain in git history).

Signed-off-by: Sam Gammon <sam@elide.dev>
Copilot AI review requested due to automatic review settings June 25, 2026 03:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the hand-written ## [Unreleased] section from CHANGELOG.md so that release-please can generate and prepend release notes without duplicating content in the changelog.

Changes:

  • Delete the manually maintained ## [Unreleased] section (including its footer link reference) from CHANGELOG.md.
  • Leave only the changelog header/preamble for release-please to append/prepend generated version entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sgammon Sam Gammon (sgammon) merged commit ffa3575 into main Jun 25, 2026
16 of 17 checks passed
@sgammon Sam Gammon (sgammon) deleted the chore/changelog-drop-unreleased branch June 25, 2026 03: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.

2 participants