Write a Changelog Entry
Purpose
Give consumers of a library, service or application a curated, human-readable record of notable changes per version, so they can decide whether and how to upgrade. A changelog is for the reader, not a dump of commit history.
When to use
- A version is about to be released and its changelog section must be written.
- A pull request was merged and the Unreleased section needs an entry.
- A project has only commit history and needs a readable change history.
When not to use
- Announcing a release to end users with context and highlights. Use
release-notes.
- Short, store-limited text for a mobile app update. Use
app-store-release-notes.
- Deciding the version number itself. Use
semantic-versioning.
Inputs
Required:
- The changes: commits, merged pull request titles and descriptions, or a change list.
Optional, improves quality:
- Target version and release date; the previous version.
- The existing changelog (to match style, links and wording).
- Audience (library consumers, API clients, operators) and issue tracker links.
If no changes are provided, ask for them. If the version or date is unknown, write the entry under [Unreleased] or with [TBD].
Process
- Collect all changes since the previous version and drop pure internal noise (formatting, test-only, CI tweaks, refactorings with no observable effect) unless the audience is contributors.
- Merge related items: several commits for one feature become one entry.
- Classify each entry into exactly one Keep a Changelog section: Added (new capabilities), Changed (changes to existing behavior), Deprecated (still works, will be removed), Removed, Fixed (bugs), Security (vulnerabilities). When a change is labeled wrongly in commits (e.g., a behavior change as
refactor), classify by effect and note it.
- Write each entry from the consumer's point of view: what they can now do or what behaves differently, in one line, starting with a verb or the affected feature. Avoid internal class names unless they are the public API.
- Identify breaking changes (removed or renamed public API, changed defaults, schema or config changes, stricter validation, changed error codes) and mark them
**BREAKING:** with a one- or two-line migration step.
- For Security entries, state affected versions and severity reference (e.g., CVE ID if one exists) without exploit details.
- Add references: issue or pull request numbers as links, when available; do not invent numbers.
- Order sections as Keep a Changelog prescribes and entries within a section by importance to the consumer.
- Put the version header in the format
## [x.y.z] - YYYY-MM-DD (ISO 8601 date) and add or update the comparison link at the bottom if the existing changelog uses them.
- Check the version against the changes: breaking changes need a major bump, new features a minor, fixes a patch (for SemVer projects). If they disagree, flag it and suggest
semantic-versioning; for a user-facing announcement, suggest release-notes.
Output format
## [<x.y.z> | Unreleased] - <YYYY-MM-DD | TBD>
### Added
- <consumer-facing change> ([#<ref>](<link>))
### Changed
- **BREAKING:** <what changed>. Migration: <step>.
### Deprecated
- <item> — use <replacement>; removal planned in <version or [TBD]>.
### Removed
### Fixed
### Security
- <vulnerability fixed, affected versions, reference>
Omit empty sections.
Quality checklist
Common pitfalls
- Pasting commit subjects verbatim ("fix typo", "wip", "address review"). Curate and rewrite for the reader.
- Hiding a breaking default change under Fixed. Anything that can break an upgrade goes under Changed or Removed with a BREAKING marker.
- Writing "various bug fixes and improvements". List the notable ones or say nothing.
Example
Input: PRs "#212 add retry option to HttpClient", "#215 refactor: timeout default 30s -> 10s", "#218 fix NPE when header missing", "#219 bump test deps".
Weak: "- Refactor timeout default. - Bump test deps. - Fix NPE."
Strong excerpt:
## [3.0.0] - [TBD]
### Added
- Configurable retry for transient HTTP failures via `retry` option ([#212]).
### Changed
- **BREAKING:** Default request timeout reduced from 30 s to 10 s. Migration: set `timeout: 30s` to keep the previous behavior ([#215]).
### Fixed
- Requests no longer fail with a null reference when an optional header is missing ([#218]).
Note: #215 was labeled refactor but changes behavior; the version must be a major bump, not 2.4.0.
1---2name: changelog-entry3description: "Writes changelog entries in the Keep a Changelog format (Added, Changed, Deprecated, Removed, Fixed, Security) from commits, merged pull requests or a change list, written for the people who consume the software, with breaking changes and migration steps called out. Use when preparing a release section, updating the Unreleased section after a merge, or turning noisy commit history into a readable change history."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/changelog-entry7 version: "1.0.0"8 language: en9 category: 05-engineering10 role: developer11 area: docs12 title: "Write a changelog entry"13 related: "commit-message, release-notes, semantic-versioning, pull-request-description, app-store-release-notes"14 prompt: "Turn these merged PR titles into a changelog entry for version 2.4.0 of our client library."15---1617# Write a Changelog Entry1819## Purpose20Give consumers of a library, service or application a curated, human-readable record of notable changes per version, so they can decide whether and how to upgrade. A changelog is for the reader, not a dump of commit history.2122## When to use23- A version is about to be released and its changelog section must be written.24- A pull request was merged and the Unreleased section needs an entry.25- A project has only commit history and needs a readable change history.2627## When not to use28- Announcing a release to end users with context and highlights. Use `release-notes`.29- Short, store-limited text for a mobile app update. Use `app-store-release-notes`.30- Deciding the version number itself. Use `semantic-versioning`.3132## Inputs33Required:34- The changes: commits, merged pull request titles and descriptions, or a change list.3536Optional, improves quality:37- Target version and release date; the previous version.38- The existing changelog (to match style, links and wording).39- Audience (library consumers, API clients, operators) and issue tracker links.4041If no changes are provided, ask for them. If the version or date is unknown, write the entry under `[Unreleased]` or with `[TBD]`.4243## Process441. Collect all changes since the previous version and drop pure internal noise (formatting, test-only, CI tweaks, refactorings with no observable effect) unless the audience is contributors.452. Merge related items: several commits for one feature become one entry.463. Classify each entry into exactly one Keep a Changelog section: Added (new capabilities), Changed (changes to existing behavior), Deprecated (still works, will be removed), Removed, Fixed (bugs), Security (vulnerabilities). When a change is labeled wrongly in commits (e.g., a behavior change as `refactor`), classify by effect and note it.474. Write each entry from the consumer's point of view: what they can now do or what behaves differently, in one line, starting with a verb or the affected feature. Avoid internal class names unless they are the public API.485. Identify breaking changes (removed or renamed public API, changed defaults, schema or config changes, stricter validation, changed error codes) and mark them `**BREAKING:**` with a one- or two-line migration step.496. For Security entries, state affected versions and severity reference (e.g., CVE ID if one exists) without exploit details.507. Add references: issue or pull request numbers as links, when available; do not invent numbers.518. Order sections as Keep a Changelog prescribes and entries within a section by importance to the consumer.529. Put the version header in the format `## [x.y.z] - YYYY-MM-DD` (ISO 8601 date) and add or update the comparison link at the bottom if the existing changelog uses them.5310. Check the version against the changes: breaking changes need a major bump, new features a minor, fixes a patch (for SemVer projects). If they disagree, flag it and suggest `semantic-versioning`; for a user-facing announcement, suggest `release-notes`.5455## Output format56```markdown57## [<x.y.z> | Unreleased] - <YYYY-MM-DD | TBD>58### Added59- <consumer-facing change> ([#<ref>](<link>))60### Changed61- **BREAKING:** <what changed>. Migration: <step>.62### Deprecated63- <item> — use <replacement>; removal planned in <version or [TBD]>.64### Removed65### Fixed66### Security67- <vulnerability fixed, affected versions, reference>68```69Omit empty sections.7071## Quality checklist72- [ ] Every entry describes an effect a consumer can observe, not an implementation step.73- [ ] Each entry sits in exactly one correct section; empty sections are omitted.74- [ ] Every breaking change is marked and has a migration step.75- [ ] No references, versions or dates are invented; unknowns are `[TBD]`.76- [ ] The version number is consistent with the kinds of changes, or the mismatch is flagged.77- [ ] Internal noise (CI, formatting, test-only changes) is excluded for external audiences.78- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.7980## Common pitfalls81- Pasting commit subjects verbatim ("fix typo", "wip", "address review"). Curate and rewrite for the reader.82- Hiding a breaking default change under Fixed. Anything that can break an upgrade goes under Changed or Removed with a BREAKING marker.83- Writing "various bug fixes and improvements". List the notable ones or say nothing.8485## Example86Input: PRs "#212 add retry option to HttpClient", "#215 refactor: timeout default 30s -> 10s", "#218 fix NPE when header missing", "#219 bump test deps".8788Weak: "- Refactor timeout default. - Bump test deps. - Fix NPE."8990Strong excerpt:91```markdown92## [3.0.0] - [TBD]93### Added94- Configurable retry for transient HTTP failures via `retry` option ([#212]).95### Changed96- **BREAKING:** Default request timeout reduced from 30 s to 10 s. Migration: set `timeout: 30s` to keep the previous behavior ([#215]).97### Fixed98- Requests no longer fail with a null reference when an optional header is missing ([#218]).99```100Note: #215 was labeled `refactor` but changes behavior; the version must be a major bump, not 2.4.0.