Changelog Generation¶
Automatic release notes from your commits.
Overview¶
releasio generates beautiful changelogs from your commit history:
%%{init: {'theme': 'neutral'}}%%
graph LR
A[Commits] --> B[Parse]
B --> C[Group]
C --> D[Format]
D --> E[CHANGELOG.md]
Example Output¶
CHANGELOG.md
# Changelog
## [1.2.0] - 2024-01-15
### Features
- Add user dashboard (#42)
- Support dark mode (#45)
### Bug Fixes
- Resolve login timeout (#43)
- Fix email validation (#44)
### Documentation
- Update installation guide (#46)
Configuration¶
Basic Setup¶
Full Options¶
.releasio.toml
[changelog]
# Output file
path = "CHANGELOG.md"
# Show commit authors
show_authors = true
# Show commit hashes
show_commit_hash = true
# Highlight first-time contributors
show_first_time_contributors = true
first_contributor_badge = "🎉 First contribution!"
# Include dependency updates
include_dependency_updates = true
Section Headers¶
Customize how commits are grouped:
.releasio.toml
[changelog.section_headers]
breaking = "⚠️ Breaking Changes"
feat = "✨ Features"
fix = "🐛 Bug Fixes"
perf = "⚡ Performance"
docs = "📚 Documentation"
refactor = "♻️ Refactoring"
Default Sections¶
| Commit Type | Default Header |
|---|---|
| Breaking | Breaking Changes |
feat |
Features |
fix |
Bug Fixes |
docs |
Documentation |
perf |
Performance |
refactor |
Refactoring |
test |
Testing |
build |
Build |
ci |
CI/CD |
Changelog Engines¶
Native Generator (Default)¶
releasio includes a built-in changelog generator:
- Fast and reliable
- No external dependencies
- Conventional commit support
git-cliff Integration¶
For advanced customization, use git-cliff:
Features¶
Author Attribution¶
Output:
Commit Links¶
Output:
First-Time Contributors¶
Output:
Sections¶
Preview Changes¶
Before generating, preview what will be added:
Output:
📝 Changelog Preview:
## [1.2.0] - 2024-01-15
### Features
- Add user dashboard (#42)
### Bug Fixes
- Resolve login timeout (#43)
See Also¶
- Conventional Commits - Commit format
- Configuration Reference - All options
- Version Management - Version bumping