thegeeklab / git-sv

Semantic versioning tool for git based on conventional commits
MIT License
8 stars 1 forks source link

Support multiline breaking changes notes #81

Open xoxys opened 4 months ago

xoxys commented 4 months ago
commit 8e22e87a31798d969b2cc78c17deadba443c4d59 (HEAD -> main, origin/main)
Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Mon Jun 17 13:51:03 2024 +0200

    refactor: replace logger by structlog (#718)

    BREAKING CHANGE: Replace the custom logger and `python-json-logger` with
    `structlog`. This will also change the layout and general structure of
    the log messages.

    The original `python-json-logger` package is unmaintained and has caused
    some issues. Using https://github.com/nhairs/python-json-logger.git
    instead has fixed the logging issues but prevents PyPI package
    uploads...
HTTP Error 400: Can't have direct dependency: python-json-logger@ git+https://github.com/nhairs/python-json-logger.git@v3.1.0. See https://packaging.python.org/specifications/core-metadata for more information.
```

Should create a proper Breaking Change note in the generated release notes.

Current result:

Breaking Changes

Ref: https://github.com/git-chglog/git-chglog/blob/6a6993d52d69f1e3bb9c27ac61a4b6b247c24a3d/commit_parser.go#L265