Skip to main content

Python package allowing you to manage your CHANGELOG.md files

Project description

(Keep a) Changelog Manager

Python tool to

  • initialize a CHANGELOG.md
  • backfill it with commits, PRs, etc
  • CLI and GUI to edit and update entries
  • Validate
  • Create a Github or Gitlab release page with CHANGLOG.md as note.

It supports these standards

  • Keep a Changelog
  • Semantic Version, PEP 440, Calver
  • Conventional Commits, Gitmoji (for backfill from commit messages)

This is a fork of keepachangelog-manager, originally mostly written by KevinDeJong at TomTom International, but now archived.

Install

uv tool install keepachangelog-manager-fork

The package name on PyPI is keepachangelog-manager-fork. The installed command is changelogmanager with legacy alias of keepachangelog-manager.

Supports pre-commit, CLI, and GitHub Actions workflows.

GUI

changelogmanager gui

The GUI now includes four screens: a live [Unreleased] editor, an initialize/backfill screen, a release publishing screen for GitHub/GitLab, and a components screen for batch validation and from-commits --all.

gui

What it does

keepachangelog-manager helps you:

Edit entries

  • create and validate changelogs
  • add, edit, list, and remove [Unreleased] entries
  • keep future release notes in TASKS.md and promote finished items into [Unreleased]
  • work with multi-component repositories (multiple changelog) via TOML config files

Flip Unreleased Changelog to a Released Changelog

  • infer the next release from change types for SemVer, PEP 440, or CalVer projects
  • release [Unreleased] with an optional confirmation guard

Initialize or bulk update Changelog

  • seed [Unreleased] from git history using Conventional Commit subjects
  • backfill missing released versions from local git tags
  • support fragment-file workflows for teams that prefer changelog.d over direct changelog edits

Many features for bash scripting ergonomics.

Online integration with Git Forge Release pages

  • create or update GitHub and GitLab releases
  • open or update a GitHub pull request for release automation

Examples

These are the happy-path workflows. For every alternate path and every extra flag, use ./docs/.

1. Initialize a new repo

Start with config if you want to lock in Semantic Versioning and defaults up front, then create the changelog:

changelogmanager config init
changelogmanager create

That gives you a clean CHANGELOG.md with an [Unreleased] section and the standard preamble.

2. Backfill released history from local tags

If the repo already has releases, let the tool build the missing version sections before you start editing new work:

changelogmanager backfill --source local --dry-run
changelogmanager backfill --source local

This is the "adopt the tool in an existing repo" path. It uses local tags and commit intervals, and falls back to an honest placeholder when old release notes are not recoverable.

3. Backfill [Unreleased] from commits since the last tag

If your release history is already fine and you only want today's work pulled into [Unreleased]:

changelogmanager backfill --source local --include-unreleased

That is the quickest "catch me up from git" workflow.

4. Edit or update [Unreleased]

Use direct changelog editing when you want polished wording instead of whatever came from commit subjects:

changelogmanager add --change-type added --message "Support draft release previews"
changelogmanager remove --list
changelogmanager edit --change-type added --index 0 --message "Support draft GitHub release previews"

The day-to-day model is simple: add entries as work lands, list them when you need context, and edit them before release.

5. Validate and update commit messages

If you want commit subjects that backfill cleanly, use Keep a Changelog-style subjects such as:

Added: support release PR automation
Fixed: preserve tag ordering during backfill

Audit the range you already have:

changelogmanager lint-commits --strict

Then get a rewrite plan for unpushed commits that need cleanup:

changelogmanager rewrite-messages --plan-out rewrite-plan.tsv

The rewrite command is intentionally plan-only today, which is perfect for reviewing the suggested subjects before you amend or rebase.

6. Validate and autofix the changelog

Before you cut a release, make sure the file is structurally clean:

changelogmanager validate
changelogmanager validate --fix

--fix handles the safe cleanup work: heading normalization, version ordering, duplicate removal, and other common Keep a Changelog paper cuts.

7. Preview the semantic version bump and release

See what the next release would be:

changelogmanager version --reference future

Then promote [Unreleased] into a real release:

changelogmanager release --yes

If your version also lives in pyproject.toml or Python __version__ strings, do it in one step (built in, no extra to install):

changelogmanager release --bump-versions --yes

8. Start the next round of tasks

After a release, it is usually time to collect the next set of user-facing changes that will eventually land in [Unreleased]:

changelogmanager tasks add added "Support release task docs"
changelogmanager tasks add fixed "Keep promoted task text out of TASKS.md"
changelogmanager tasks list

When tasks are complete, mark them checked and promote them into the changelog. If your team prefers fragment files instead of a shared task list, the tool also supports changelog fragments; see ./docs/tasks.md.

CLI Visuals

gif

Credits

Vendored

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keepachangelog_manager_fork-6.4.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keepachangelog_manager_fork-6.4.0-py3-none-any.whl (179.0 kB view details)

Uploaded Python 3

File details

Details for the file keepachangelog_manager_fork-6.4.0.tar.gz.

File metadata

File hashes

Hashes for keepachangelog_manager_fork-6.4.0.tar.gz
Algorithm Hash digest
SHA256 418806dc610c4620581d409dbc4b544ca905c949ddda80ef9adddd1238919068
MD5 644d2cf31c31b27f92fc8efa7a321273
BLAKE2b-256 25d2d22d77fdadcac48932d7e8e01480fcd9abc05e55bae62c677835986324fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for keepachangelog_manager_fork-6.4.0.tar.gz:

Publisher: release.yml on matthewdeanmartin/keepachangelog-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file keepachangelog_manager_fork-6.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for keepachangelog_manager_fork-6.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c2a76b7cd107f468d1ef330310637bac0947e2b08a0f8af3d0ffba0e5fa202
MD5 2e4b23191482264f2880682027d39269
BLAKE2b-256 eb0b43ce907836660ab746b7e3ec411662dd2b50d5ca74542893ebf2c4bc197e

See more details on using hashes here.

Provenance

The following attestation bundles were made for keepachangelog_manager_fork-6.4.0-py3-none-any.whl:

Publisher: release.yml on matthewdeanmartin/keepachangelog-manager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page