Repository navigation
docs: let release-please own CHANGELOG.md - #132
Merged
Merged
Conversation
Remove the hand-written "## Unreleased" section. It was never cleared at release time, so it had grown to about 42 entries, most of them already released in 1.2.0 to 1.5.0, with "### Bug Fixes" repeated five times. Every release-please section is unchanged. AGENTS.md and CONTRIBUTING.md now say CHANGELOG.md is generated by release-please from the squash-merged pull request titles and is not edited by hand, and the AGENTS.md note on docs/ no longer asks for a separate changelog entry.
docs/compatibility.md still required a changelog entry for every change to the release-input documents, which docs-only pull requests could only meet by editing CHANGELOG.md by hand. It now says a contract change is titled feat, fix, perf or deps so release-please lists it, and a docs clarification is not listed. AGENTS.md and CONTRIBUTING.md name the listed and hidden types instead of implying every title becomes a release note.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CHANGELOG.mdhad a hand-written## Unreleasedsection above the release-please sections. Nobody cleared it at release time, so it had grown to about 42 entries, with### Bug Fixesrepeated five times. Most entries were already released in 1.2.0 to 1.5.0 (FrameInterval, "support MyGo 0.7.4" and others). This PR makes release-please the only author of the changelog.What changed
## Unreleasedsection.# Changelogand every## [x.y.z]section are byte-for-byte unchanged.CHANGELOG.mdis generated by release-please from squash-merged pull request titles and is not edited by hand. Onlyfeat,fix,perf,depsandreverttitles are listed.docs,chore,ci,test,build,refactorandstyleare hidden (changelog-sectionsinrelease-please-config.json).feat,fix,perfordeps(with!when breaking), so release-please lists it; a clarification titleddocsis not listed;CHANGELOG.mdis not edited by hand. The rule that a removal needs a changelog entry (line 25) stays, because afeat!orfix!title produces that entry. This edits process text, not the API contract. It belongs here because this PR is what makes the old wording impossible to follow.docs/bullet): matches the compatibility policy. A contract change reaches the changelog only through a listed title type, and a docs-only clarification is not listed.What happens to the removed entries
Every removed entry was merged before v1.5.0, so none will show up in the next release.
feat,fix,perfordepstitles are already in the 1.2.0 to 1.5.0 sections.chore: adapt Nodra to MyGo v0.7.4 (#93)and the six hand-written Documentation bullets. They remain in git history. The current MyGo minimum is still recorded under 1.5.0 Dependencies ("require MyGo v0.9.0 (deps: require MyGo v0.9.0 #129)").Dependencies on the old section
None found. No test, script or workflow reads
CHANGELOG.mdor the edited policy text; the only hit, innomygo_build_test.go, is a comment.SECURITY.md("fixed releases are recorded inCHANGELOG.md") is still accurate, because security fixes usefixtitles.scripts/check-api.shasks for release notes in the PR description, which is consistent with this change.docs/release-1.0.mdis the completed v1.0.0 checklist and is left as it is.How tested
go test ./...: passedgo test -race -count=1 ./...: passedgo vet ./...: cleango mod tidy -diff: no diffgolangci-lint run ./...(v2.15.0, Go 1.27.4): 0 issuesscripts/check-api.shagainst a fresh clone ofmain: no API changes## [x.y.z]section againstmain: identicalCompatibility
Documentation only. No API, behaviour or release configuration changes. The
docstype does not trigger a release.Screenshots
None. The site is not changed.