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
📅 Release Cycles - Support for daily, weekly, or monthly release cycles
🌐 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)
  • --release-cycle CYCLE - Time-based grouping (auto, daily, weekly, monthly, none)
  • --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

Group changes by week:

mintlify-changelog --release-cycle weekly

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.2.tar.gz (26.8 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.2-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mintlify_changelog-1.0.2.tar.gz
  • Upload date:
  • Size: 26.8 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.2.tar.gz
Algorithm Hash digest
SHA256 b432a5dc522857332766d51ae97a568da1cc4eb7056d9770922254159b9a454e
MD5 c78e587aafe9b2beff296dedabb91bf5
BLAKE2b-256 b61e199310422d76f78999204cde7b432e6a015fddf42d5b77e6ffb236427367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mintlify_changelog-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d111dd53e55c6817fca4f7df7568a2f67f54688069eec24c17b858993b7039ff
MD5 9757b32d3627d3b29281bcf23f96418c
BLAKE2b-256 81e51f5e9fe4eaa543871e9663f79138bca2f20a234908178ba3a313282ec06c

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