A highly customizable changelog generator
open sourceMIT OR Apache-2.0free
git-cliff generates changelog files from a Git repository's history. It reads commits that follow the Conventional Commits specification, or any format its regex-based parsers are set up for, groups them, and renders the changelog through a template set in its configuration file. It's written in Rust and runs as a command-line tool, with its core also published as a Rust library, and it installs from crates.io, npm, PyPI, Docker images and release binaries.
Ways to install
Package managers
Problems it solves
- write CHANGELOG.md by hand before every release
- generate release notes from my git commit messages
- keep a changelog in sync with conventional commits in a Rust or Node project
Features
- changelogs from conventional commits or custom regex commit parsers
- a configuration file and templates that shape the output
- a Rust library (git-cliff-core) as well as the CLI
- binaries for Linux, macOS and Windows, plus npm, PyPI and Docker distributions
Alternatives
The same job
These do what git-cliff does.
- semantic-release Fully automated version management and package publishing
- release-please Generate release PRs based on the Conventional Commits spec
- Changesets A tool to manage versioning and changelogs with a focus on monorepos
- commit-and-tag-version Bump versions, write the CHANGELOG and tag releases from Conventional Commits
- release-plz Publish Rust crates from CI with a Release PR.
- Commitizen Enforce commit message rules, bump versions and generate changelogs
