Repository navigation
chore: put breaking changes in the changelog they belong in - #91
Merged
Merged
Conversation
commit_parsers groups on the type alone, so feat! lands under Added exactly like feat and the release notes never say what stopped compiling. 0.5.0 has a Breaking section because someone wrote it by hand; 0.6.0 was equally breaking and shipped without one, and 0.7.0 was about to do the same while removing a public enum variant, moving a public function, and marking a struct non_exhaustive. The template now renders a Breaking section from commit.breaking, which git-conventional sets for both the ! marker and a BREAKING CHANGE footer, so either spelling is caught. A commit appears in both places on purpose: Added for what it adds, Breaking for what it costs. Verified against 84f093f in a throwaway clone rather than trusted to CI, which is also how the second half of this turned up: breaking_description keeps only the first physical line of the trailer, so the wrapped one on that commit renders as a sentence cut off mid-clause. That constraint is now in rules/writing.md, since bodies here are otherwise wrapped at 80 and the trailer is the one line that must not be.
Contributor
Merging this PR will not alter performance
Comparing Footnotes
|
lmarkmann
added a commit
that referenced
this pull request
Aug 29, 2026
The template that generates this section landed in #91, so releases after this one get it automatically. This one cannot: 84f093f is already on main with its BREAKING CHANGE trailer wrapped at 80 like the rest of its body, and only the first physical line reaches breaking_description, so the generated entry read "PrecipKind::Snow is removed; snow is celsius::snow. Also" and stopped there. All nine breaks cargo-semver-checks reported, written for someone whose build just stopped compiling rather than as a list of API deltas.
lmarkmann
added a commit
that referenced
this pull request
Aug 29, 2026
* chore: release v0.7.0 * docs: list what 0.7.0 actually breaks The template that generates this section landed in #91, so releases after this one get it automatically. This one cannot: 84f093f is already on main with its BREAKING CHANGE trailer wrapped at 80 like the rest of its body, and only the first physical line reaches breaking_description, so the generated entry read "PrecipKind::Snow is removed; snow is celsius::snow. Also" and stopped there. All nine breaks cargo-semver-checks reported, written for someone whose build just stopped compiling rather than as a list of API deltas.
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.
release-plz.toml'scommit_parsersgroups on the commit type alone, sofeat!lands under Added exactly likefeat, and the published release notes never say what stopped compiling.0.5.0 has a
### Breakingsection because someone wrote it by hand. 0.6.0 was equally breaking and shipped without one. 0.7.0 was about to do the same while removing a public enum variant, moving a public function, and marking a struct#[non_exhaustive]; its entire release note currently reads:The changelog template now renders a Breaking section from
commit.breaking, which git-conventional sets for both the!marker and aBREAKING CHANGE:footer, so either spelling is caught. A commit appears in both sections on purpose: Added for what it adds, Breaking for what it costs.Merging this makes release-plz regenerate PR #90, so 0.7.0 picks the section up without anyone hand-writing it.
release-plz.tomlis excluded from the crate tarball, so this cuts no release of its own.The second half, which only showed up because it was tested
Verified against
84f093fin a throwaway clone rather than trusted to CI. That is how the other half turned up:commit.breaking_descriptionkeeps only the first physical line of the trailer, and the trailer on that commit is wrapped at 80 like the rest of the body, so it renders as a sentence cut off mid-clause:The constraint is now written down in
rules/writing.md: bodies here are wrapped at about 80 to match the existing history, and theBREAKING CHANGE:trailer is the one line that must not be.That leaves 0.7.0 itself needing one hand edit, since its commit is already on
mainwith the wrapped trailer. Every release after it is covered.