Changelog generation tool
Project description
Changelog Generator - v0.11.8
Details
changelog-gen
is a CHANGELOG generator, to detect semantic versioning changes
from conventional commits, and generate release tags.
See the docs for more details.
Usage
changelog init
will generate an empty changelog file if you have not been
maintaining changelogs previously. If you already have a changelog file, it
will be detected.
changelog generate
will extract all commits matching the conventional format
since the last release, detect the correct semantic version component to
increment, and generate the correct changelog entry. Depending on
configuration, it will also update release tags in files as well as tagging the
release.
$ git log --oneline
a4e1449 feat: Open changes in editor before confirmation, to allow modification.
c314b6b feat: Block generation if local/remote are out of sync.
2e25deb chore: Relax typer version to 0.X
a95fd80 fix: Handle warning message from bump-my-version if setup.cfg exists
b46d2fe fix: Clean up link generation format in MDWriter
Using the above commits, can generate the following example changelog entry.
# Changelog
## v0.9.2 - 2024-03-08
### Features and Improvements
- Open changes in editor before confirmation, to allow modification. [[#1](https://github.com/NRWLDev/changelog-gen/issues/1)] [[a4e1449](https://github.com/NRWLDev/changelog-gen/commit/a4e1449bf44f370c671cc679d4bf9cfd75e68cbf)]
- Block generation if local/remote are out of sync. [[#2](https://github.com/NRWLDev/changelog-gen/issues/2)] [[c314b6b](https://github.com/NRWLDev/changelog-gen/commit/c314b6b8a32f4ce5c05869f0accd24bb4e6097f2)]
### Bug fixes
- Handle warning message from bump-my-version if setup.cfg exists [[a95fd80](https://github.com/NRWLDev/changelog-gen/commit/a95fd80d939985ab4b51a864676dda234e345d47)]
- Clean up link generation format in MDWriter [[b46d2fe](https://github.com/NRWLDev/changelog-gen/commit/b46d2fe6fba5a170f25dffbf8697868d14a4e73e)]
### Miscellaneous
- Relax typer version to 0.X [[2e25deb](https://github.com/NRWLDev/changelog-gen/commit/2e25deb902710343a0f85f40323762752eef4a45)]
Migrating from 0.8 to 0.9 (Conventional Commit support)
Check the discussion here for details on how to update usage to maintain legacy functionality or move over to new features.
Installation
pip install changelog-gen
or clone this repo and install with invoke/poetry.
invoke install-dev
Contributing
This project uses pre-commit hooks, please run invoke install-dev
after
cloning to install dev dependencies and commit hooks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file changelog_gen-0.11.8.tar.gz
.
File metadata
- Download URL: changelog_gen-0.11.8.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa61465dcee526f282593465d5d20276ef31e43842966f369ad5dffaafdd88f2 |
|
MD5 | 73b106ca7fe9d8a10d24e1baceae34a6 |
|
BLAKE2b-256 | 496bdffe2e0b43b9f83e61e47d92962c1b013acb316b9a1e2cfc35836d2e8c43 |
File details
Details for the file changelog_gen-0.11.8-py3-none-any.whl
.
File metadata
- Download URL: changelog_gen-0.11.8-py3-none-any.whl
- Upload date:
- Size: 26.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d64b8cd46a9ad0b0f567d7b8a29360cc177c23283561f636009a6c01f3173a |
|
MD5 | 13aa46191022b6ca9895f7d1294d57a5 |
|
BLAKE2b-256 | 873c7ecd741c87833a6b60ccc3e05b813c85e4fcc841d98ade348920d25f6dc7 |