changelog
Generate or update CHANGELOG.md files.
Usage
bash
relizy changelog [options]What It Does
The changelog command:
- ✅ Analyzes git commits
- ✅ Groups commits by type
- ✅ Generates markdown changelog
- ✅ Updates CHANGELOG.md
- ❌ Does NOT bump versions
- ❌ Does NOT create commits
Options
--from
Start changelog from specific version:
bash
relizy changelog --from v1.0.0--to
End changelog at specific version:
bash
relizy changelog --to v2.0.0--include-private
Generate changelogs for private packages (packages with "private": true in their package.json) in addition to public ones. By default, private packages are skipped.
bash
relizy changelog --include-privateWhen enabled:
- Each private package gets its own
CHANGELOG.md. - Commits touching only private packages are included in the aggregated root changelog (in
unified,selective, andindependentmodes).
This is equivalent to setting monorepo.includePrivates: true in relizy.config.ts. See Monorepo Configuration — includePrivates.
Examples
Basic Usage
bash
relizy changelog
# Generates changelog from last tag to HEADCustom Range
bash
relizy changelog --from v1.0.0 --to v2.0.0
# Generates changelog for specific version rangeMonorepo
bash
relizy changelog
# Generates changelogs for all packagesOutput Format
md
# Changelog
## v1.2.0
### 🚀 Features
- Add authentication ([a1b2c3d](https://github.com/user/repo/commit/a1b2c3d))
### 🐛 Bug Fixes
- Fix memory leak ([e4f5g6h](https://github.com/user/repo/commit/e4f5g6h))See Also
- release - Full release workflow
- Changelog Guide - Detailed changelog documentation