Skip to content

Stop maintaining a running Unreleased section in CHANGELOG.md - #223

Merged
cinar merged 1 commit into
mainfrom
changelog-use-github-releases
Sep 5, 2026
Merged

Stop maintaining a running Unreleased section in CHANGELOG.md#223
cinar merged 1 commit into
mainfrom
changelog-use-github-releases

Conversation

@cinar

@cinar cinar commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Problem

Every PR added its own bullet to CHANGELOG.md's ## [Unreleased] section, always inserting at (or near) the same spot. With PRs landing close together, that made this file a near-guaranteed merge conflict on every concurrent pull request — the exact problem DOC.md caused before #180 dropped it in favor of pkg.go.dev.

This wasn't theoretical: it's what just happened resolving conflicts on #219#222. Each conflict resolution round immediately conflicted again as the next PR merged, because every remaining branch's ### Fixed entry inserted into the same place.

Fix

  • Freeze the current ## [Unreleased] section as a one-time snapshot (documenting the six P0 bugfixes plus the earlier accumulated Added/Changed/Removed entries) and add a note explaining the new policy at the top of the file.
  • Going forward, unreleased changes are covered by GitHub Releases, whose notes are generated automatically from merged pull requests — no file to conflict on. CHANGELOG.md only gains a new entry when a version is actually tagged, added by hand from that release's generated notes (a maintainer decision, not a per-PR one).
  • Updated CLAUDE.md's conventions section: PRs no longer touch CHANGELOG.md.

No code changes; docs/process only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FLdVmP5daHiknrTW4Geh2i

Every PR added its own bullet to CHANGELOG.md's ## [Unreleased]
section. With PRs landing close together, that turned it into a
near-guaranteed merge conflict on every concurrent pull request -- the
same problem DOC.md caused before it was dropped in favor of
pkg.go.dev. This surfaced concretely while fixing merge conflicts on
PRs #219-#222: each resolution round immediately conflicted again as
the next PR merged, because they all inserted into the same spot.

Freeze the existing Unreleased section as a one-time snapshot and stop
editing this file per PR. Unreleased changes are now covered by GitHub's
auto-generated release notes; CHANGELOG.md only gains a new entry when
a version is actually tagged, added by hand at that point from the
generated release notes.

Update CLAUDE.md's conventions section to match: PRs no longer touch
CHANGELOG.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FLdVmP5daHiknrTW4Geh2i
@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3394242) to head (e7864e3).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #223   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           52        52           
  Lines          920       920           
=========================================
  Hits           920       920           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cinar
cinar merged commit c4c0877 into main Sep 5, 2026
8 checks passed
@cinar
cinar deleted the changelog-use-github-releases branch September 5, 2026 16:51
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