Skip to content

feat: change minor pattern to support optional conventional commit scopes#188

Merged
PaulHatch merged 4 commits intoPaulHatch:masterfrom
BodrickLight:feature/scopes
Jan 24, 2026
Merged

feat: change minor pattern to support optional conventional commit scopes#188
PaulHatch merged 4 commits intoPaulHatch:masterfrom
BodrickLight:feature/scopes

Conversation

@BodrickLight
Copy link
Contributor

The Conventional Commits spec allows optional scopes to be present after the change type, e.g. feat(scope):. The current minor pattern will only bump the minor version number if the pattern exactly matches feat:. This change adds support for these optional scopes.

…opes


The Conventional Commits spec allows optional scopes to be present after the change type, e.g. `feat(scope):`. The current minor pattern will only bump the minor version number if the pattern exactly matches `feat:`. This change is backwards compatible and adds support for these scopes.
@PaulHatch PaulHatch merged commit a879aef into PaulHatch:master Jan 24, 2026
0 of 4 checks passed
@PaulHatch
Copy link
Owner

Thanks @BodrickLight, this is now published in v6.0.1.

bojanrajkovic added a commit to bojanrajkovic/unquote that referenced this pull request Feb 9, 2026
## Summary

- Removes custom `major_pattern` and `minor_pattern` overrides from all
three workflows using `PaulHatch/semantic-version`
- v6.0.1 (PaulHatch/semantic-version#188) fixed the default patterns to
support optional conventional commit scopes natively
- The new default `major_pattern` also improves detection by matching
`BREAKING CHANGE:` in commit bodies, not just `type!:`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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