Table of Contents
24 Changelog File
A changelog documents notable changes to a project in chronological order. It helps users and integrators understand what changed between released versions.
Each repository should contain a machine-readable Markdown file named:
CHANGELOG.md
The file must be located in the repository root. The format is based on Keep a Changelog and complements Semantic Versioning.
—-
Basic Structure
Changes that have not yet been released are collected under Unreleased. Released versions are listed below it, with the newest release first.
- CHANGELOG.md
# Changelog ## [Unreleased] ### Added - Add new functionality (#123). ### Fixed - Prevent an error when loading an empty configuration (#124). ## [1.2.0] - 2026-10-16 ### Added - Add support for a new file format (#120).
The following structure is required:
-
Filename:
CHANGELOG.md -
Location: repository root
-
Unreleased heading:
## [Unreleased] -
Release heading:
## [<version>] - YYYY-MM-DD -
Category heading:
### <Category> -
Entry: Markdown bullet beginning with
- -
Version: Semantic Versioning without the optional
vprefix -
Date: ISO 8601 format
Empty categories should be omitted.
—-
Categories
Each entry must appear under exactly one of the following categories:
| Category | Use when | Replaces |
|---|---|---|
Added | Users can do something new. | [FEATURE] |
Changed | Existing, previously correct functionality now behaves differently or has been visibly improved. | [IMPROVEMENT] |
Deprecated | Functionality is still available but will be removed in a future release. | |
Removed | Functionality has been removed. | |
Fixed | Incorrect or unintended behaviour has been corrected. | [FIX] |
Security | A security vulnerability has been corrected. |
The preferred category order is:
-
Added -
Changed -
Deprecated -
Removed -
Fixed -
Security
Pure refactoring, tests, cleanup and other internal changes do not require an entry unless they have a relevant effect on users or integrators.
Choosing a Category
Apply the following rules in order:
-
Does the change correct a security vulnerability? →
Security -
Was functionality removed? →
Removed -
Was a future removal announced? →
Deprecated -
Can users do something new? →
Added -
Was previous behaviour incorrect or unintended? →
Fixed -
Does existing functionality now behave differently or better? →
Changed
Use Fixed when the previous behaviour was incorrect according to the requirements, documentation or supported environment.
Use Changed when the previous behaviour was valid and is now intentionally modified or improved.
For example:
- Use SHA2-256 instead of SHA3-256 for artifact hashes (#353).
This belongs under Fixed if SHA3-256 caused failures in a supported environment. It belongs under Changed if SHA3-256 was supported and the hashing policy is now intentionally being changed.
If a change has several independently notable effects, separate entries may be added. The same effect should not be duplicated across categories.
—-
Entry Format
Changelog entries should:
-
describe the resulting behaviour or benefit, not the implementation work;
-
be written in concise English;
-
start with a verb where practical;
-
be understandable without reading the associated issue;
-
contain issue references at the end.
Examples:
- Generate an SBOM for built projects (#322). - Install shared FINISHR resources in `ProgramData` (#346). - Support LabVIEW versions without SHA3-256 by using SHA2-256 for artifact hashes (#353).
Issue references use the following formats:
| Reference | Format |
|---|---|
| One issue | (#123) |
| Multiple issues | (#123, #124) |
| Issue in another project | (group/project#123) |
Backward-incompatible changes must begin with BREAKING: and describe the required migration:
- **BREAKING:** Rename the configuration key from `source` to `input`. Update existing configuration files accordingly (#125).
The historical prefixes [FEATURE], [IMPROVEMENT] and [FIX] are not used inside CHANGELOG.md. The category heading already provides this information.
Comments
Internal instructions or notes may be added using HTML comments. These are visible in the raw file but hidden by Markdown renderers:
<!-- This comment is not displayed in the rendered changelog. -->
Comments must not contain information required for parsing or understanding a release.
—-
Workflows
Development Workflow
Developers add notable changes to the Unreleased section while implementing the related issue.
-
Every entry is a Markdown bullet under exactly one category.
-
The changelog update is part of the implementation merge request.
-
No separate changelog-only commit is required.
-
No changelog-specific Git trailer is required.
-
Every merge request either contains a changelog entry or explicitly states that no entry is required.
-
Empty categories are not added.
Release Process
When creating a release:
-
Move the relevant entries from
Unreleasedinto a new version section. -
Add the release date in ISO 8601 format.
-
Remove empty categories from the released section.
-
Restore an empty
Unreleasedsection for upcoming changes. -
Keep the newest released version at the top of the file.
—-
Machine Readability
The format is designed to be maintained manually and parsed automatically by the HSE Release Automation Tools.
Tools reading the changelog should:
-
parse the Markdown structure rather than use regular expressions;
-
identify releases by their level-two headings;
-
associate category headings and list entries with the preceding release heading;
-
map a Git tag such as
v4.4.1to the changelog version4.4.1; -
preserve Markdown formatting within entries;
-
ignore introductory text, link definitions and HTML comments;
-
accept missing categories;
-
reject duplicate version sections;
-
reject invalid release headings or dates;
-
reject a released version without any entries.
The required release heading format is:
## [4.4.1] - 2026-08-21
—-
Example
You can find an example readme file at https://code.hampel-soft.com/hse-labs/dokuwiki-examples/-/blob/main/CHANGELOG.md?ref_type=heads.
HSE-internally, the same file is available on our NAS at /projects/_template/90_software/git-repo-template.
