Skip to content

fix: group changelog entries by the conventional commit type - #617

Merged
2bndy5 merged 2 commits into
mainfrom
claude/project-thread-u751ea
Nov 28, 2026
Merged

2bndy5 merged 2 commits into
mainfrom
claude/project-thread-u751ea

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

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

Related Issues

Relates to #616

Summary by CodeRabbit

  • Changelog
    • 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.

@shenxianpeng
shenxianpeng requested a review from 2bndy5 November 28, 2026 06:55
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

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.

Estimated code review effort: 2 (Simple) | ~8 minutes

Possibly related PRs

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c3d453c0-e3b8-46c9-9bb4-1d6b0aafe376
Commits

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.

Comment thread release-plz.toml Resolved
@2bndy5
2bndy5 merged commit a610b27 into main Nov 28, 2026
24 checks passed
@2bndy5
2bndy5 deleted the claude/project-thread-u751ea branch November 28, 2026 15:47
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.

2 participants