Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Prepare Changelog
Changelog is the list of all the important changes (features, bug-fix, optimizations, docs) that are part of particular Loki release.
Before you begin
Determine the VERSION_PREFIX.
The changelog in Grafana Loki works as follows.
We have
CHANGELOG.mdthat records both unreleased and released changes.Preparing changelog for Loki release at high level is basically two steps
- Move
unreleasedchanges to specific version onrelease-VERSION_PREFIXbranch. - Reflect those changes on
mainbranch.
- Move
Steps
Make sure the
CHANGELOGonrelease-VERSION_PREFIXbranch is up to date.- Check the commits diffs between the new version (example: 2.9.x) and the most recent older version (example: 2.8.x) via
https://github.com/grafana/loki/compare/release-2.8.x...release-2.9.x- Check if any of those commits are important enough to add to the
CHANGELOG.
On the
release-VERSION_PREFIXbranch promoteMain/UnreleasedtoVERSION (YYY-MM-DD). Example PR.On the
mainbranch remove entries fromMain/Unreleasedthat are already part ofVERSION (YYY-MM-DD). Example PR.



