relnote compared

A git-cliff alternative and a gh release create --generate-notes alternative — offline conventional-commit release notes from a stdlib Python changelog CLI and GitHub Action.

What you are choosing between

Four tools get asked about in the same breath. They overlap, but they are not the same job.

relnote is the smaller offline alternative when you want a GitHub Action and zero-config CI. Keep gh when you want official GitHub notes. Keep git-cliff when you want a maintained changelog file. Leaving git-cliff for a Release body plus one CHANGELOG section and bump/tag? git-cliff alternative (curl the zipapp, release.sh, optional Actions). Leaving Release Drafter (draft releases from pull request labels in .github/release-drafter.yml)? Release Drafter alternative builds the body from conventional commits, with no labels and no config file. Leaving auto-changelog (npm package, changelog rebuilt from semver tags)? auto-changelog alternative prepends one section and writes the Release body, with no Node package and no Handlebars template. Leaving github-changelog-generator (Ruby gem, changelog rebuilt from GitHub issues and pull requests)? github-changelog-generator alternative writes the Release body from local commits, with no token and no API rate limit. Leaving towncrier (news fragment files, towncrier.toml or pyproject.toml)? towncrier alternative writes the Release body from conventional commits, with no fragment files.

Comparison

Question relnote gh --generate-notes git-cliff
Runs offline Yes. Needs Python 3.11+ and git on PATH. No. Talks to the GitHub API and needs gh auth. Yes for local git history. Remote extras are optional.
Config file None. None. Flags and GitHub repo settings. cliff.toml plus Tera templates.
Install / language Python stdlib. pip install git+https://github.com/loki-inu/relnote.git or python3 -m relnote. GitHub CLI. Already common in many workflows. Rust binary (package manager, cargo, or a release asset).
Conventional commits Yes. Groups feat, fix, type! / BREAKING CHANGE:, and everything else. No. Groups merged pull requests, not commit types. Yes, if you configure parsers for that.
What it writes A GitHub Release body on stdout (or --output). With --changelog, also a new section at the top of CHANGELOG.md. The GitHub Release itself. A changelog file, typically CHANGELOG.md.
Creates the GitHub Release No. Not a GitHub App and not a hosted service. Yes. That is the command. No, unless you wrap it with gh or another step.
PR links and new contributors No. Local commits only. Compare URL if origin is github.com. Yes. Official PR-linked notes. Optional, via GitHub / GitLab integration.
Templates Fixed Features / Fixes / Breaking / Other layout. GitHub’s generated-notes format. Tera templates. Full control over sections and wording.
Version bump Suggests only: --next-version prints the next tag (details). No. Yes (--bumped-version and related flags).
Third-party packages None. stdlib only. The gh binary and GitHub. The git-cliff binary (and a config you maintain).
CI hook loki-inu/[email protected]. Draft-release example in the repo. Call gh release create --generate-notes in a workflow. Community Action and native CLI in CI.
Use it when You want offline, no-config, conventional-commit notes to paste into a Release — plus a GitHub Action. You want GitHub’s official notes and you are already online with gh. You want a changelog file, templates, and a config.

relnote and swapnanil/relnotes

There is another stdlib Python conventional-commit notes CLI: swapnanil/relnotes. Same job — offline, no runtime dependencies, grouped Features / Fixes / Breaking / Other. Different extras.

relnote uses --since / --until for the same kind of range, and also has --format plain. Neither tool creates the GitHub Release.

Install relnote

pip install git+https://github.com/loki-inu/relnote.git
relnote --help

Python 3.11+, git on PATH, no third-party packages. Or from a checkout: python3 -m relnote. For CI, the GitHub Action is loki-inu/[email protected] after actions/checkout with fetch-depth: 0.

What relnote will not do

Common questions

Is relnote a git-cliff alternative?

Yes, when you want a GitHub Release body from conventional commits and do not need Tera templates or a fully regenerated CHANGELOG.md. Keep git-cliff when you want templated changelogs rebuilt from full history and optional version bump. Concrete curl + release.sh + Actions flow: git-cliff alternative.

Is relnote a gh release create --generate-notes alternative?

Yes, when you want offline notes grouped by commit type. Keep gh release create --generate-notes when you want official PR-linked notes and the Release created for you.

Is there a stdlib Python changelog CLI for conventional commits?

Yes. relnote is a stdlib Python changelog CLI: Python 3.11+, git on PATH, no third-party packages. It prints offline conventional-commit release notes from local git history.

How do I generate conventional-commit release notes in a GitHub Action?

Use loki-inu/[email protected] after actions/checkout with fetch-depth: 0. The action writes grouped notes to an output. A draft-release example is in the repo.

Is relnote a Release Drafter alternative?

Yes, when commits already use conventional commits and you want the Release body from local git history. Keep Release Drafter when you label pull requests, want the draft updated on every merge, or use Autolabeler. Guide: Release Drafter alternative.

Is relnote an auto-changelog alternative?

Yes, when you want a Release body and one new CHANGELOG.md section from conventional commits, and you do not need a changelog rebuilt from every semver tag. Keep auto-changelog when you want Handlebars templates, the npm version hook, merge and issue lists, or GitLab, BitBucket, and Azure DevOps links. Guide: auto-changelog alternative.

Is relnote a github-changelog-generator alternative?

Yes, when commits already follow conventional commits and you want the Release body from local git history, with no token. Keep github-changelog-generator when CHANGELOG.md should be rebuilt from GitHub issues and merged pull requests grouped by labels, or when the repository is on GitHub Enterprise. Guide: github-changelog-generator alternative.

Is relnote a towncrier alternative?

Yes, when commits already follow conventional commits and you do not want a news fragment file per change. Keep towncrier when you want curated fragments, towncrier check on each branch, or the Python package integration (pyproject.toml, package version, newsfragments). Guide: towncrier alternative.

How does relnote differ from swapnanil/relnotes?

Both are offline stdlib Python CLIs that group conventional commits. Pick relnote for the GitHub Action, --quiet/--output CI, and bot or secret-looking subject filters. Pick swapnanil/relnotes for optional .relnotes.toml, inferred semver bump, or --from/--to range names.