Skip to content

Changelog Generator

Chronus provides an extensible changelog generator system.

In .chronus/config.yaml:

changelog: "<name>" # without options
changelog: # with options
- "<name>"
- opt1: val1

The default basic generator includes every change in a bullet list grouped by change kind.

Example output:

  • Add new feature A
  • Add new feature B
  • Fix bug 1
  • Fix bug 3

Enhances changelog entries with GitHub information like the PR number and commit SHA.

Example output:

  • #236 abcdefg Add new feature A
  • #237 abcdefg Add new feature B
  • #286 abcdefg Fix bug 1
  • #216 abcdefg Fix bug 3

To use this generator, install the @chronus/github package:

Terminal window
npm install -D @chronus/github

Then update your config:

changelog: "@chronus/github/changelog"