Skip to content

chore: put breaking changes in the changelog they belong in - #91

Merged
lmarkmann merged 1 commit into
mainfrom
chore/changelog-breaking
Aug 29, 2026
Merged

lmarkmann merged 1 commit into
mainfrom
chore/changelog-breaking

Conversation

@lmarkmann

Copy link
Copy Markdown
Owner

release-plz.toml's commit_parsers groups on the commit type alone, so feat! lands under Added exactly like feat, and the published 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. 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:

Added

  • Anchored exposure, an atmosphere type, and snow that knows what shape it is

The changelog 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 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.toml is 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 84f093f in a throwaway clone rather than trusted to CI. That is how the other half turned up: commit.breaking_description keeps 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:

### Breaking

- PrecipKind::Snow is removed; snow is celsius::snow. Also

The constraint is now written down in rules/writing.md: bodies here are wrapped at about 80 to match the existing history, and the BREAKING 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 main with the wrapped trailer. Every release after it is covered.

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.
@codspeed

codspeed Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 74 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing chore/changelog-breaking (08ad737) with main (84f093f)

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@lmarkmann
lmarkmann merged commit 5986fff into main Aug 29, 2026
8 checks passed
@lmarkmann
lmarkmann deleted the chore/changelog-breaking branch August 29, 2026 11:36
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.
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