Automatic Changelog generator using Jinja2 templates.
Project description
git-changelog
Automatic Changelog generator using Jinja2 templates. From git logs to change logs.
Features
-
Jinja2 templates! You get full control over the rendering. Built-in Keep a Changelog and Angular templates (also see Conventional Changelog).
-
Commit styles/conventions parsing. Built-in Angular, Conventional Commit and basic conventions.
-
Git service/provider agnostic, plus references parsing (issues, commits, etc.). Built-in GitHub, Gitlab and Bitbucket support.
-
Understands SemVer and PEP 440 versioning schemes. Guesses next version based on last commits.
-
Parses Git trailers, allowing to reference issues, PRs, etc., in your commit messages in a clean, provider-agnostic way.
-
Template context injection, to furthermore customize how your changelog will be rendered.
-
Todo:
- Plugin architecture, to support more commit conventions and git services.
- Easy access to "Breaking Changes" in the templates.
Installation
With pip
:
pip install git-changelog
With pipx
:
python3.8 -m pip install --user pipx
pipx install git-changelog
Usage
Simply run git-changelog
in your repository to output a changelog on standard output.
To show the different options and their descriptions, use git-changelog -h
.
- See Quick usage for some command line examples.
- See Configuration to learn how to configure git-changelog for your project.
- See the CLI reference and the API reference for more information.
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 git_changelog-2.5.1.tar.gz
.
File metadata
- Download URL: git_changelog-2.5.1.tar.gz
- Upload date:
- Size: 38.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a800858184493608de98f1c4964f6351335046b48c326b2fa260ae4e6c8d2c |
|
MD5 | 7a79db2c6795ddd62eeaeb2d90d4402b |
|
BLAKE2b-256 | 10bdf564ba2874e14af607411bbcaff3630e9b9323eccdccb7e6d031e6ba59eb |
File details
Details for the file git_changelog-2.5.1-py3-none-any.whl
.
File metadata
- Download URL: git_changelog-2.5.1-py3-none-any.whl
- Upload date:
- Size: 32.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 530697365de63c1af3532f82d879440573d7dc15e5b79febd99394510d7f6fad |
|
MD5 | 3de3669c576cf8c6cb55f9a29dff3657 |
|
BLAKE2b-256 | 24b99c32ad74d4dc12fef0d7a561d6746d07d8daea40a3a6ac218e6868438537 |