-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: handle multiple commits in a single message (#2358)
* feat: handle multiple commits in a single message - updated `splitMessages` function to handle multiple conventional commits within the main message - added logic to separate conventional commits (feat, fix, docs, etc.) within the main message - preserved the original message structure outside of nested commit blocks - enhanced breaking change detection from commit body in `toConventionalChangelogFormat` and `postProcessCommits` functions Resolves #2357 * test: new test case for parsing multiple commits - added new test cases for parsing multiple commits from a single message - added fixture file for multiple commits in a single message - changed the order of the expected commits in `multiple-messages` and `1257-breaking-change` fixtures since the order of the commits in the is not reversed anymore * test: remove duplicate test for parsing multiple commits
- Loading branch information
Showing
3 changed files
with
77 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
12 changes: 12 additions & 0 deletions
12
test/fixtures/commit-messages/multiple-commits-single-message.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
feat: adds v4 UUID to crypto | ||
|
||
This adds support for v4 UUIDs to the library. | ||
|
||
fix(utils): unicode no longer throws exception | ||
|
||
- some more stuff | ||
|
||
feat(utils): update encode to support unicode | ||
|
||
- does stuff | ||
- more stuff |