Standard: Keep a Changelog
Keep a Changelog 1.1.0: a CHANGELOG.md with an Unreleased section on top, ISO 8601 dates, versions in descending order and six groups of changes; four norms.
About the package
What the standard is. Keep a Changelog 1.1.0 is how to keep a changelog for humans. The text: https://keepachangelog.com/en/1.1.0/. The changelog is a CHANGELOG.md file. At the top is the section ## [Unreleased]: changes before a release are written there. Below it is a section per release, newest on top: ## [1.2.0] - 2026-11-28. Inside a release, changes are grouped: Added, Changed, Deprecated, Removed, Fixed, Security. At the bottom are link footnotes [1.2.0]: …compare/v1.1.0...v1.2.0.
When to install. The project has releases, and people (users, a customer, yourself in a month) need to know what changed. It goes well with std-semver (versions) and std-conventional-commits (a draft of a section is easy to assemble from commits).
How to configure. The page /norms/standards/keep-a-changelog.md: which changelogs to look at (files, paths from the root; CHANGELOG.md by default), which groups are allowed (types: a project in another language can write its own names), whether empty groups are allowed (allowEmptySections).
What is checked
- CL-R01 (MUST, enforce): a changelog exists; the first section is
## [Unreleased], without a date and only one; every##heading is a release with a version and a date YYYY-MM-DD, and it is a real calendar day. Brackets around the version and the kind of dash do not matter:## 1.2.0 — 2026-11-28is also read. It may be marked[YANKED]. Theformatcheck. - CL-R02 (MUST, enforce): new releases on top: versions strictly decrease by SemVer, dates do not grow, a version does not repeat. The
ordercheck. - CL-R03 (SHOULD, enforce):
###groups inside a release only from the list, no empty groups. Thesectionscheck. - CL-R04 (SHOULD, observe): every release and Unreleased has a footnote link. It observes: a project without web code hosting has nothing to link to. The
linkscheck.
Code blocks inside the changelog are not read.
What is not checked
- That the changelog is complete and honest: every notable change is recorded, and the entry is clear to a person. Whoever prepares the release sees this.
- That entries are not a dump of
git log: the standard is explicitly against it, but a machine cannot tell. - That the version in the changelog matches the tag and the manifest: that is the
std-semverpackage (versions) and a person (the release).
The package only reads files. It writes nothing.
Norms 4
| ID | Norm | Level | Mode | Enforcer |
|---|---|---|---|---|
| CL-R01 | MUST | blocks | check |
|
| CL-R02 | MUST | blocks | check |
|
| CL-R03 | SHOULD | blocks | check |
|
| CL-R04 | SHOULD | observes | sensor |
"Blocks": the enforcer stops a violation. "Observes": it only notes it. Level MUST means required; SHOULD means yes by default.
Actions 4
| Name | What it does | File | When |
|---|---|---|---|
| format | A changelog exists, Unreleased on top, releases have ISO 8601 dates norm CL-R01 | checks/cl01_format.ts | check |
| order | New releases on top, versions do not repeat norm CL-R02 | checks/cl02_order.ts | check |
| sections | Changes in the standard's groups, no empty groups norm CL-R03 | checks/cl03_sections.ts | check |
| links | Every release has a footnote link to a comparison (observes) norm CL-R04 | checks/cl04_links.ts | check |
shtuk check runs the checks; shtuk run std-keep-a-changelog <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.
Pages 5
They go into the project at these paths.
- /norms/rules/std-keep-a-changelog/
- A changelog exists, Unreleased on top, releases have ISO 8601 dates CL-R01
- New releases on top, a version does not repeat CL-R02
- Changes in the standard's groups, no empty groups CL-R03
- Every release has a footnote link to a comparison CL-R04
- /norms/standards/
- Settings: Keep a Changelog page
Package files 8
They go into .shtukbase/packages/std-keep-a-changelog/; actions run from there.