Skip to main content

changelog-ci

Auto-generate CHANGELOG.md from merged PRs and git history.

Features

  • 🚀 Automatic changelog generation from git commits and GitHub PRs
  • 📋 Conventional commit parsing (feat, fix, docs, perf, chore, etc.)
  • 🏷️ Breaking change detection from ! suffix and BREAKING CHANGE footers
  • 📝 Keep-a-Changelog format with markdown and JSON output
  • 🔧 Configurable via .changelog-ci.yaml
  • 🏃 Dry-run mode for preview
  • 🏷️ Release management — generate, commit, and tag in one command
  • 👥 Contributor listing
  • 🌐 GitHub API integration for merged PRs
  • 📦 Local mode — works without API access

Install

pip install changelog-ci

Usage

# Generate from local git history
changelog-ci generate

# Since a specific tag
changelog-ci generate --since v2.1.0

# Preview without writing
changelog-ci generate --dry-run

# JSON output
changelog-ci generate --format json

# From GitHub PRs
changelog-ci generate --owner myorg --repo-name myrepo

# Create initial CHANGELOG.md
changelog-ci init

# Validate changelog is up to date
changelog-ci validate

# Create a release (generate + commit + tag)
changelog-ci release 2.2.0

# List contributors
changelog-ci contributors

Configuration

Create .changelog-ci.yaml in your repo root:

categories:
  - name: Features
    labels: [enhancement, feature]
    prefixes: [feat]
  - name: Bug Fixes
    labels: [bug, bugfix]
    prefixes: [fix]
header: "# Changelog"
template: keepachangelog
unreleased: true
tag_prefix: "v"
ignore_labels: [skip-changelog, dependencies]
contributors: true

Conventional Commits

changelog-ci understands conventional commit format:

feat: add login page
fix(auth): resolve token expiry (#42)
feat(api)!: change response format
docs: update API reference
perf(db): optimize query performance

Breaking changes are detected from:

  • ! after the type/scope: feat!: redesign API
  • BREAKING CHANGE: footer in commit body

Output Format

# Changelog

## [2.2.0] - 2026-04-07

### Features
- Add pagination support (#142) — @johndoe

### Bug Fixes
- Fix race condition in file writes (#145) — @janedoe

### ⚠️ Breaking Changes
- Rename User.getClient() to User.getActiveClient() (#143)

Development

pip install -e ".[dev]"
pytest

License

MIT © Hiren Thakore

Metadata

Release files for changelog-ci 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for changelog-ci 0.1.0
File Size Uploaded
changelog_ci-0.1.0.tar.gz 17.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for changelog-ci 0.1.0
File Interpreter ABI Platform
changelog_ci-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.3 kB

Release files / changelog_ci-0.1.0.tar.gz

Download URL changelog_ci-0.1.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
53b0ad72f425d828b12d297b44df36a41529da2c97dae19f2bac9779b8f22a76
BLAKE2b-256 checksum
How to use checksums
48d0cd91ef34fa129c1f4a626659a2c354c5edf05f7836b7fbb2a7115c6cfc88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / changelog_ci-0.1.0-py3-none-any.whl

Download URL changelog_ci-0.1.0-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d670480f034115d1f1957df599faa29a395527999d70d5c2c0ed4237ebd88ec
BLAKE2b-256 checksum
How to use checksums
0e2d587a21c0f0303bdeede6fcdb2d5f6b672bcbbff05eae83db11d047701fe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page