feat: add support for breaking change token in the message footer #168
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.
π Linked issue
#112
β Type of change
π Description
Resolves #112
Extends support for signalling breaking changes in commit messages according to the Conventional Commits Specification (see points 11, 12, 13, 15 and 16).
Previously, only the suffix
!
after the type/scope was recognized as a breaking change. With this change, the footer "BREAKING CHANGE" or "BREAKING-CHANGE" will also be identified (as per point 11, 12 and 16 of the specification), these are NOT case-sensitive (as per point 15 of the specification).The footer
BREAKING CHANGE
can be omitted as per point 13 of the specification.Additionally, the description given in
BREAKING CHANGE
will be used if present instead of the commit description unless the commit includes the!
suffix after the type/scope (as per point 12 of the specification).For reference these are the points of the specifications that are being implemented:
π Checklist