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.md
that records both unreleased and released changes.Preparing changelog for Loki release at high level is basically two steps
- Move
unreleased
changes to specific version onrelease-VERSION_PREFIX
branch. - Reflect those changes on
main
branch.
- Move
Steps
Make sure the
CHANGELOG
onrelease-VERSION_PREFIX
branch 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_PREFIX
branch promoteMain/Unreleased
toVERSION (YYY-MM-DD)
. Example PR.On the
main
branch remove entries fromMain/Unreleased
that are already part ofVERSION (YYY-MM-DD)
. Example PR.