Changelog Template (Keep a Changelog)
CHANGELOG.md in Keep a Changelog 1.1.0 format: Unreleased, six change types, YANKED, comparison links, maintainers' guide with SemVer 2.0.0 mapping
How to use: Public projects with releases. Add entries under `Unreleased` during dev; rename heading at release time.
Preview
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Added
- [Example: Outline panel shows heading levels 4 to 6 when "Show all headings" is on (#171).]
Fixed
- [Example: Spell-check no longer flags words inside inline code (#168).]
1.2.0 - 2026-10-01
Added
- Example: Export to PDF and DOCX from the File menu (#120).
- Example: Dark mode that follows the operating system setting (#98).
Changed
- Example: Preview renders incrementally, so documents over 10,000 lines stay responsive (#131).
Deprecated
- Example: The
--html-legacyexport flag. It will be removed in 2.0.0; use--export htmlinstead (#133).
Fixed
- Example: Editor no longer loses focus when you toggle the preview (#127).
Security
- Example: Imported HTML is now sanitised before preview, fixing a cross-site scripting issue (GHSA-xxxx-xxxx-xxxx).
1.1.1 - 2026-08-20 [YANKED]
Fixed
- Example: Autosave interval setting is respected again (#115).
Example: Yanked on 2026-08-21 because a migration step could delete local settings. Use 1.2.0 or later.
1.1.0 - 2026-08-15
Added
- Example: Mermaid diagram support in the preview (#102).
- Example: KaTeX math rendering (#104).
Removed
- Example: The experimental
--draft-syncflag, which was documented as experimental and outside the public API (#108).
1.0.0 - 2026-06-01
Added
- Example: First stable release: Markdown editing with live preview, local storage and the plugin API v1.
Appendix A: Maintainers' guide to this changelog
Document control
| Field | Value |
|---|---|
| Document ID | [CHG-GUIDE-001] |
| Version | [1.0] |
| Status | [Draft / In use / Superseded] |
| Owner | [@release-manager] |
| Approvers / reviewers | [@maintainers-team] |
| Last updated | YYYY-MM-DD |
| Classification | Public |
| Changelog format | Keep a Changelog 1.1.0 |
| Versioning scheme | Semantic Versioning 2.0.0 [or CalVer, state the pattern] |
| Related | Versioning and Release Policy (dev/versioning-release-policy), Release Notes (dev/release-notes), Release Checklist (dev/release-checklist), Contributing guide (dev/contributing) |
Revision history
| Version | Date | Author | Change |
|---|---|---|---|
| 1.0 (Example) | YYYY-MM-DD | [@release-manager] | Adopted Keep a Changelog 1.1.0 and the entry rules below |
| [x.y] | YYYY-MM-DD | [@name] | [Change summary] |
A.1 Keep a Changelog principles
Keep a Changelog 1.1.0 rests on a few principles. Changelogs are written for humans, not machines. Every version has an entry, and the latest version comes first. Changes of the same type are grouped together. Each version and each section can be linked to. Each version shows its release date. The file says whether the project follows Semantic Versioning.
A.2 Change types
| Heading | Use it for | Typical SemVer effect (2.0.0) |
|---|---|---|
| Added | New features | MINOR |
| Changed | Changes to existing functionality | MINOR, or MAJOR if not backward compatible |
| Deprecated | Features that will be removed in a later release | MINOR (SemVer requires at least a minor release when you deprecate public API) |
| Removed | Features removed in this release | MAJOR once the public API is stable |
| Fixed | Bug fixes | PATCH |
| Security | Fixes for vulnerabilities | PATCH, MINOR or MAJOR, depending on the fix |
The SemVer column is a guide. The version number follows the most significant change in the release: one backward-incompatible change to the public API makes the release a MAJOR one, even if everything else is a fix. Before 1.0.0 (versions 0.y.z), SemVer treats the public API as unstable, so anything may change in any release; say in the changelog when a 0.y release breaks something.
A.3 Writing rules
| ID | Rule | Example |
|---|---|---|
| CL-01 | One line per change, starting with what the user can now do or no longer suffers from | "PDF export keeps wide tables on the page (#142)" |
| CL-02 | Link the issue or pull request number | "(#142)" |
| CL-03 | Every Deprecated entry names the replacement and the removal version | "Removed in 2.0.0; use --export html" |
| CL-04 | Every breaking change says what users must do | "Rename theme.json to brindlemark.theme.json before upgrading" |
| CL-05 | Security entries reference the advisory or CVE, never exploit details before disclosure | "(GHSA-xxxx-xxxx-xxxx)" |
| CL-06 | Dates use ISO 8601, YYYY-MM-DD | "2026-10-01" |
| CL-07 | Leave out changes that do not affect users, such as internal refactoring and test-only changes | |
| CL-08 | A pulled release stays listed and is tagged [YANKED] with the reason | "## 1.1.1 - 2026-08-20 [YANKED]" |
A.4 Release-day steps
- Check that every merged change since the last tag has an entry in Unreleased.
- Decide the version number from the entries (table A.2) and the versioning policy.
- Rename Unreleased to the new version with today's date, and add an empty Unreleased above it.
- Update the comparison links at the end of the file: Unreleased now compares the new tag with HEAD, and the new version compares the previous tag with the new one.
- Commit the changelog with the release, tag it, and copy the version section into the release notes as the detailed list.
A.5 Semantic Versioning quick reference (2.0.0)
- Version format is MAJOR.MINOR.PATCH. Increase MAJOR for backward-incompatible changes to the public API, MINOR for backward-compatible new functionality (and for deprecations), and PATCH for backward-compatible bug fixes. Reset the numbers to the right when one increases.
- A pre-release adds a hyphen and dot-separated identifiers, such as
1.3.0-rc.1. It has lower precedence than the normal version, so1.3.0-rc.1comes before1.3.0. - Build metadata adds a plus sign and identifiers, such as
1.3.0+20261001. It is ignored when comparing precedence. - Once a version is released, its contents must not change. Fix mistakes in a new version.
Standard and licence note
Based on Keep a Changelog 1.1.0 (keepachangelog.com/en/1.1.0/, checked October 2026; 1.1.0 is the current version shown on the site) and Semantic Versioning 2.0.0 (semver.org/spec/v2.0.0.html, licensed CC BY 3.0). Keep a Changelog is published under the MIT licence. The headings, the Unreleased and [YANKED] conventions and the principles are summarised in original wording; the entries, the writing rules and the maintainers' guide are original text. Check both sites for a newer version before you adopt. Template licence: MIT.
Related templates
Architecture Decision Record (ADR) Template
Lightweight Nygard-style ADR: status, context, decision, consequences, alternatives, related decisions, lifecycle and log
Software & EngineeringAGENTS.md Template for AI Coding Agents
Repository instructions for AI coding agents: setup, build and test commands, conventions, architecture map, PR and security rules
Software & EngineeringAI Coding Assistant Policy Template
Policy for AI coding assistants and agents: autonomy levels, tool register, secrets, sandboxing, review of generated code, provenance, OWASP ASI and SSDF mapping