You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: group changelog entries by the conventional commit type - #617
In the rc.29 release PR (#616), #614 and #615 (both feat:) are listed under "Changed" instead of "Added". The old git-cliff config grouped entries by PR labels; the release-plz config from #610 matched field = "group" instead, which is not the commit type, so only the fallbacks applied: ^[fF]ix caught fix: commits and everything else ended up in "Changed".
The parsers now match the conventional type in the commit (PR) title, e.g. ^(add|feat)(\(.*\))?!?:, for each group.
Checked with release-plz update on current main: #614 and #615 are under "Added". With the version set to 2.0.0 (so that every commit since 2.0.0-rc9 shows up), feat → Added, fix → Fixed, build → Dependency updates, docs → Documentation and refactor → Changed, matching the earlier hand-written grouping.
After this is merged, running the Release-plz workflow again updates #616.
Changelog entries are categorized using conventional commit prefixes, including optional scopes and breaking-change markers. Supported categories cover features, deprecations, removals, fixes, performance, security, builds, tests, documentation, and maintenance. Other conventional commits appear under “Changed,” while non-conventional commits are skipped. Previous fallback handling for unprefixed “add” or “fix” messages is no longer used.
No actionable comments were generated in the recent review.
Walkthrough
The release-plz commit parser rules now match conventional-commit titles, including optional scopes and breaking-change markers, to assign changelog groups. Other conventional commits map to “Changed,” and non-conventional messages are skipped.
Changes: Changelog Grouping
Layer / File(s)
Summary
Match conventional-commit titles release-plz.toml
Rules assign changelog groups from conventional-commit titles. Other conventional commits map to “Changed,” and non-conventional messages are skipped.
cpp-linter/cpp-linter-rs#610: This PR introduced the release-plz configuration and commit parser rules that this change updates.
Merge Risk: Minimal · up to e7ddc
This changes how release notes are grouped in the changelog and does not touch runtime behavior. The change is low risk and can be reverted easily if the grouping is wrong.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "fix: group changelog entries by the conventional commit type" matches the main change. The raw summary says the changelog commit parsers now classify commits by conventional-commit prefixes…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "fix: group changelog entries by the conventional commit type" matches the main change. The raw summary says the changelog commit parsers now classify commits by conventional-commit prefixes instead of the group field, and the objectives say the PR updates grouping rules to match conventional commit types. The title names the primary change. It does not mention the removal of the case-insensitive fallbacks or the skipping of non-conventional commits, but those are secondary details.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between f4cc660 and e7ddcf8.
Files selected for processing: 1
release-plz.toml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
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
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
In the rc.29 release PR (#616), #614 and #615 (both
feat:) are listed under "Changed" instead of "Added". The old git-cliff config grouped entries by PR labels; the release-plz config from #610 matchedfield = "group"instead, which is not the commit type, so only the fallbacks applied:^[fF]ixcaughtfix:commits and everything else ended up in "Changed".The parsers now match the conventional type in the commit (PR) title, e.g.
^(add|feat)(\(.*\))?!?:, for each group.Checked with
release-plz updateon current main: #614 and #615 are under "Added". With the version set to 2.0.0 (so that every commit since2.0.0-rc9shows up),feat→ Added,fix→ Fixed,build→ Dependency updates,docs→ Documentation andrefactor→ Changed, matching the earlier hand-written grouping.After this is merged, running the Release-plz workflow again updates #616.
Related Issues
Relates to #616
Summary by CodeRabbit