CHANGELOG.md follows Keep a Changelog. The release workflow publishes each tag's section and fails when it's missing. TestChangelogReleases validates version headings.
- Add user-visible framework, CLI and generated-code changes under
## [Unreleased]in the same commit. Omitdocs,test,choreandci. - Sort entries into
Added,Changed,Deprecated,Removed,FixedandSecurity. - Within a section, group entries under
####subheadings by where the change applies, in this order: `datapages lintanddatapages genfor what the app model may contain and what is reported about it;Generated code, opened by the line "Rundatapages gento apply these.";Runtime and modulesfor what applies on upgrade alone;datapages init` for the files it writes. Leave out a subheading with no entries. - Don't repeat in an entry what its subheading says: no "in
datapages lintanddatapages gen" and no closing "Rundatapages gen." - Use imperative entries like commit titles:
Reject subject fields tagged json:"-". Say enough for users to determine whether they are affected. - A
Securityentry follows Security entries. - A breaking change repeats the migration steps of its
BREAKING:block. - Do not add a separate entry for a
runtime/API change. The entry for the user-visible change that requires it goes underGenerated code. - To release, rename
## [Unreleased]to## [X.Y.Z] - YYYY-MM-DD, insert an empty## [Unreleased], update the compare links and tagvX.Y.Z.
Security entries
A security entry lets users determine exposure and remediation:
- State who can read or do what to whom: "any signed-in user can read another user's private events", not "a privacy issue".
- Describe affected applications with terms users can find in their code.
- Give exact affected versions, verified against the release history.
- Give upgrade, regeneration and redeploy steps. Include a workaround or say there is none.
- Link the GHSA or CVE when one exists.
Leave severity labels, CVSS scores and exploit steps to the advisory.