Generate Beautiful Changelogs using Conventional Commits
Project description
Table of Contents
About
usechange is a Python CLI for generating changelogs and release notes from Conventional Commits. It reads git history between refs, groups commits by type, renders Markdown release notes, and can update version numbers based on semantic versioning rules.
It gives you:
- Changelog generation - Render release notes and optionally write to CHANGELOG.md.
- Semver bumping - Determine version bumps from commit types and breaking changes.
- Release workflows - Tag and publish using uv and gh.
- GitHub sync - Sync release notes to GitHub releases.
- Repo metadata - Create commit and compare links automatically.
Quick Start
usechange provides a short alias and command shortcuts:
usechangeandchangeare equivalent.changelogalso supports thelogalias.
Install usechange with uv (recommended)
uv add usechange
Install with pip (alternative)
pip install usechange
Generate a changelog
change log --write
Interactive release workflow
change release
Sync the latest release to GitHub
change github release
Interactive changelog preview
Example prompt for selecting optional changelog flags:
Select optional flags (space to select, enter to confirm):
> [ ] --from - Start commit reference
[ ] --to - End commit reference
[ ] --dir - Path to a git repository
[ ] --clean [bool] - Ensure working directory is clean
[ ] --output - Changelog file to write
[ ] --write [bool] - Write changelog to CHANGELOG.md
[ ] --no-output [bool] - Do not write a changelog file
[ ] --noAuthors [bool] - Skip contributors section
[ ] --noDate [bool] - Omit date from header
[ ] --noEmojis [bool] - Omit emojis from headers
[ ] --hideAuthorEmail [bool] - Hide author email if no username is found
[ ] --bump [bool] - Determine and update version
[ ] -r - Release as a specific version
[ ] --release [bool] - Bump, tag, and release
[ ] --no-commit [bool] - Skip release commit
[ ] --no-tag [bool] - Skip release tag
[ ] --push [bool] - Push commits and tags
[ ] --no-github [bool] - Skip GitHub release sync
[ ] --publish [bool] - Publish after generating
[ ] --publishTag - Publish with a custom tag
[ ] --nameSuffix - Append suffix to package name
[ ] --versionSuffix - Append suffix to version
[ ] --canary - Shortcut for --bump and --versionSuffix
[ ] --major [bool] - Force major bump
[ ] --minor [bool] - Force minor bump
[ ] --patch [bool] - Force patch bump
[ ] --premajor - Force premajor bump
[ ] --preminor - Force preminor bump
[ ] --prepatch - Force prepatch bump
[ ] --prerelease - Force prerelease bump
Press <space>, <tab> for multi-selection and <enter> to accept
Usage
Generate changelog
change log --from v0.1.0 --to HEAD --output CHANGELOG.md
Version bumping
change log --bump --write
change log --major --write
Release workflow
change release --yes
GitHub release sync
change github release 0.2.0
change gh release all
Configuration
usechange reads configuration from one of the following:
- changelog.config.json
- .changelogrc
- changelog.config.toml
- pyproject.toml under [tool.changelog]
Development
Common tasks:
uv run poe test
uv run poe lint
uv run poe format
uv run poe typecheck
uv run poe clean-full
Contributing
Quick workflow:
- Fork and branch:
git checkout -b feature/name - Make changes
- Run checks:
uv run poe clean-full - Commit and push
- Open a Pull Request
License
License not yet specified in this repository.
Built by thememium
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file usechange-0.1.27.tar.gz.
File metadata
- Download URL: usechange-0.1.27.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6828fb19d15dd8fbe8777c714f7ea685ba4ec5b3f0d3817188e2414e14be211c
|
|
| MD5 |
ab0d6ff818be3d1fc466d39e5828bf2e
|
|
| BLAKE2b-256 |
b43fbdca3437efa8a625f315a8135f7d005f25b629c2da77fb3dd091ba35c02d
|
File details
Details for the file usechange-0.1.27-py3-none-any.whl.
File metadata
- Download URL: usechange-0.1.27-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83716ca40cc6f4b4b238b53c09209c49e1ae78cf69146fa636786510386d2c14
|
|
| MD5 |
0b10acae3ff049aa61740eb0615b7157
|
|
| BLAKE2b-256 |
6a43bc066715dcdc279f4dc1fc450a661da9a8f1218e8fb32900aa166181fa79
|