shtukbasehub

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.

Packagestd-keep-a-changelogv0.1.014 files

Standard: Keep a Changelog

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-28 is also read. It may be marked [YANKED]. The format check.
  • CL-R02 (MUST, enforce): new releases on top: versions strictly decrease by SemVer, dates do not grow, a version does not repeat. The order check.
  • CL-R03 (SHOULD, enforce): ### groups inside a release only from the list, no empty groups. The sections check.
  • 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 links check.

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-semver package (versions) and a person (the release).

The package only reads files. It writes nothing.