Writing Release Notes
Gathering Context
Before writing the note, run these commands in parallel to understand the full scope of changes:
git log --oneline <base-branch>..HEADgit diff <base-branch>..HEAD --statgit diff <base-branch>..HEADgit log <base-branch>..HEAD --format="%B---"
File Location
- Release notes:
doc/release/RELEASE-NOTES.md - Template:
doc/release/RELEASE-NOTES-TEMPLATE.md
New entries go at the top of the file, directly after the header block (lines 1–4).
Steps
- Read the current release notes (
doc/release/RELEASE-NOTES.md) to find the latest version number and the structure of existing entries before writing anything. - Determine the new version using semver:
- Major feature release → bump minor (e.g.
2.19.0→2.20.0) - Hotfix → bump patch (e.g.
2.18.0→2.18.1)
- Gather changes — ask the user for, or derive from git log / PR history:
- New migrations and schema changes
- Code/API changes
- Architecture/environment changes
- Bug fixes
- New user-facing features
- Required post-deployment commands
- Write the entry following the format below.
- Make them concise - each bullet should include only the most important information, avoiding unnecessary details.
- Update the RELEASE-NOTES.md file with the new entry.