Expand description
Conventional-commit classification and semantic-version bump computation.
Subjects are matched against the Conventional Commits grammar
(type(scope)!: description) on the first message line only. Breaking
changes are detected from a ! marker in the subject or a
BREAKING CHANGE / BREAKING-CHANGE footer at the start of a body line.
Structs§
Enums§
- Bump
Level - Strength of a semantic-version bump, ordered weakest to strongest.
- Commit
Kind
Functions§
- bump_
version - Apply
leveltocurrent, clearing any pre-release or build metadata. - classify_
commits - Classify commits by their conventional-commit subject, skipping merge commits entirely.
- release_
notes - Render markdown release notes grouped by commit kind, listing breaking changes first and omitting empty sections.
- required_
bump - Determine the strongest bump the commits require, or
Nonewhen no commit warrants a release.