Skip to main content

AI-powered, beautiful changelog generator for git repositories

Project description

Mintlify Changelog Generator 🚀

Generate beautiful, AI-powered changelogs directly from your git commits.

PyPI version Python Versions License

Features

Smart Grouping - Intelligently groups related changes under clear categories
🔄 Enhanced Context - Uses repository data to provide richer context
🐛 Emoji Categories - Visually appealing headings with emoji indicators
📚 Multiple Output Formats - Export as Markdown, HTML, JSON, or plain text
🧠 AI-Powered - Leverages Claude AI for natural language understanding
🎨 Theme Support - Choose from different styles to match your preferences
🔄 Semantic Version Detection - Automatically suggests version bumps
🌐 Zero Config - Works immediately without complex setup

Installation

pip install mintlify-changelog

Or install directly from GitHub:

pip install git+https://github.com/mintlify/changelog.git

Quick Start

  1. Navigate to any git repository
  2. Set your API key (one-time setup):
    mintlify-changelog --set-api-key "your-api-key"
    
  3. Generate a changelog:
    mintlify-changelog
    

Usage

mintlify-changelog [options]

Basic Options

  • -c, --count N - Generate changelog for the last N commits (default: 20)
  • -o, --output FILE - Save changelog to a file (e.g., CHANGELOG.md)
  • --title TITLE - Custom title for the changelog
  • --dry-run - Preview the prompt without calling the API
  • -q, --quiet - Suppress progress output
  • -h, --help - Show help message
  • --version - Show version information

Format Options

  • --format FORMAT - Output format (markdown, html, json, text)
  • --theme THEME - Theme style (standard, conventional, minimal, detailed)
  • --list-themes - See available themes with descriptions

Configuration

  • --set-api-key KEY - Set your Claude API key securely
  • --set-config KEY=VALUE - Set a configuration value (e.g., defaults.count=30)

Examples

Generate for last 10 commits:

mintlify-changelog -c 10

Save to a file:

mintlify-changelog -o CHANGELOG.md

Generate HTML changelog:

mintlify-changelog --format html -o changelog.html

Use Conventional Commits style:

mintlify-changelog --theme conventional

Example Output

# My Project Changelog
### April 23, 2025

#### ✨ New Features
- Add user authentication system with OAuth support
- Implement dark mode across all components
- Add real-time notification system

#### 🐛 Bug Fixes
- Fix critical race condition in async data loading
- Address security vulnerability in input validation
- Resolve file upload issues on Safari browsers

#### 📚 Documentation
- Add comprehensive API documentation
- Create user onboarding guide with screenshots

---

This release introduces major new features including authentication, dark mode, and real-time notifications while addressing several critical bugs and improving documentation.

Environment Variables

  • MINTLIFY_API_KEY - Your Claude API key
  • MINTLIFY_BASE_URL - API base URL
  • MINTLIFY_API_ENDPOINT - API endpoint path
  • MINTLIFY_MODEL - Claude model to use
  • MINTLIFY_MAX_TOKENS - Maximum tokens for API response
  • MINTLIFY_TEMPERATURE - Temperature setting for API

Developing

Clone the repository and install in development mode:

git clone https://github.com/mintlify/changelog.git
cd changelog
pip install -e .

License

MIT

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

mintlify_changelog-1.0.1.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

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

mintlify_changelog-1.0.1-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file mintlify_changelog-1.0.1.tar.gz.

File metadata

  • Download URL: mintlify_changelog-1.0.1.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for mintlify_changelog-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cd8a25b24c1b2a93a39fae9f5cba65a80bed0a28f99876ac755751666c50aa66
MD5 d22b8d2627c56d99c718f91d0ca6dc44
BLAKE2b-256 466e10d9f13f3cda71ee6c21e2d350e03de2e800a9b736126243c09a955c693b

See more details on using hashes here.

File details

Details for the file mintlify_changelog-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mintlify_changelog-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1c198f942949f68ad061f7586fe8ecc6ccaac31a493556e1b2c3361f831f96
MD5 bae6032bd26ff8f8ad7cb2ca49820953
BLAKE2b-256 943169b665d6e0c68e153684023baf38a22635bf5af0874783c8146b8e63ecde

See more details on using hashes here.

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