pm-changelog
v2026.7.14-2
Published
Generate CHANGELOG.md files from pm-cli items for local and CI usage
Downloads
4,512
Maintainers
Readme
pm-changelog
Generate CHANGELOG.md from pm-cli items.
Install
pm install npm:pm-changelog --projectpm changelog generate --mode prepend --output CHANGELOG.mdRebuild a full project changelog from git release tags:
pm changelog generate --all-release-tags --mode replace --output CHANGELOG.mdStandalone npm usage:
npm install --save-dev pm-changelog @unbrained/pm-cli
npx pm-changelog --mode prepend --output CHANGELOG.mdThe standalone CLI accepts both --flag value and --flag=value for value
options, and supports --release-version as a compatibility alias for
--version (matching pm changelog generate syntax).
Opt-in extras
These flags are strictly additive — omitting them keeps output byte-for-byte identical to the default:
npx pm-changelog --stdout --section-by type # group by type/status/label instead of categories
npx pm-changelog --stdout --conventional # Features / Bug Fixes / ... headings
npx pm-changelog --stdout --contributors # per-release contributor list
npx pm-changelog --all-release-tags --limit 10 # keep only the newest N releases
npx pm-changelog --all-release-tags --since-version 2.0.0
npx pm-changelog --all-release-tags --changelog-json > changelog.json
npx pm-changelog --stdout --breaking-changes # add a Breaking Changes section
npx pm-changelog --suggest-semver # print a suggested semver bump as JSON
npx pm-changelog --stdout --body-preview 80 # append first 80 chars of each item body
npx pm-changelog --stdout --emoji-prefix # prefix headings with emoji (Added 🎉, Fixed 🐛, ...)
npx pm-changelog --stdout --include-metadata # append type/status/priority/release/milestone per item
npx pm-changelog --stdout --json --explain # emit selection diagnostics (counts + exclusion hints) for agentsSee Usage for details.
