Changelog Generator
Chronus provides an extensible changelog generator system.
Configuration
Section titled “Configuration”In .chronus/config.yaml:
changelog: "<name>" # without optionschangelog: # with options - "<name>" - opt1: val1Built-in generators
Section titled “Built-in generators”basic (default)
Section titled “basic (default)”The default basic generator includes every change in a bullet list grouped by change kind.
Example output:
Features
Section titled “Features”
- Add new feature A
- Add new feature B
Bug fixes
Section titled “Bug fixes”
- Fix bug 1
- Fix bug 3
@chronus/github/changelog
Section titled “@chronus/github/changelog”Enhances changelog entries with GitHub information like the PR number and commit SHA.
Example output:
Features
Section titled “Features”
- #236 abcdefg Add new feature A
- #237 abcdefg Add new feature B
Bug fixes
Section titled “Bug fixes”
- #286 abcdefg Fix bug 1
- #216 abcdefg Fix bug 3
To use this generator, install the @chronus/github package:
npm install -D @chronus/githubThen update your config:
changelog: "@chronus/github/changelog"