Fragments: notes in .changelog/, folded into CHANGELOG.md on release #35

Merged
mikluko merged 1 commit from fragments into main 2026-11-11 11:48:46 +00:00
Owner

What and why

Pull requests that each add a note under [Unreleased] conflict on the same lines. A fragment is a *.md file in .changelog/ carrying the notes as they would read under [Unreleased], section headings included, so the section still decides the bump.

release -fragments folds every fragment into [Unreleased] in name order, releases it, and deletes the fragments; one unreadable fragment refuses the release with nothing written. The reader's -fragments checks them (new fragment-form, plus unknown-section), so a bad fragment fails its own PR rather than the release.

This repository now takes its notes as fragments; this PR's own is .changelog/fragments.md. .gitignore restates the global .* rule and re-includes .changelog, which it would otherwise hide.

Not covered: folding into an open entry (release still refuses while the newest versioned entry is undated).

Checklist

  • .changelog/ gained a fragment carrying this change's notes, or this change needs none.
  • AI assistance is declared below.

AI assistance

Claude Code (Claude Opus 5.5).

## What and why Pull requests that each add a note under `[Unreleased]` conflict on the same lines. A fragment is a `*.md` file in `.changelog/` carrying the notes as they would read under `[Unreleased]`, section headings included, so the section still decides the bump. `release -fragments` folds every fragment into `[Unreleased]` in name order, releases it, and deletes the fragments; one unreadable fragment refuses the release with nothing written. The reader's `-fragments` checks them (new `fragment-form`, plus `unknown-section`), so a bad fragment fails its own PR rather than the release. This repository now takes its notes as fragments; this PR's own is `.changelog/fragments.md`. `.gitignore` restates the global `.*` rule and re-includes `.changelog`, which it would otherwise hide. Not covered: folding into an open entry (`release` still refuses while the newest versioned entry is undated). ## Checklist - [x] `.changelog/` gained a fragment carrying this change's notes, or this change needs none. - [x] AI assistance is declared below. ## AI assistance Claude Code (Claude Opus 5.5).
Fragments: notes in .changelog/, folded into CHANGELOG.md on release
All checks were successful
CI / test (pull_request) Successful in 18s
CI / changelog (pull_request) Successful in 20s
0eb0ee2051
Pull requests that each add a note under [Unreleased] conflict on the same
lines. A fragment is a *.md file carrying the notes as they would read under
[Unreleased], section headings included, so the section still decides the
bump and one fragment can span several sections.

release -fragments folds every fragment into [Unreleased] in name order,
releases it, and deletes the fragments; one unreadable fragment refuses the
release with nothing written. The reader's -fragments checks them under the
new fragment-form check and unknown-section, so a fragment that would not
fold fails its own pull request rather than the release.

This repository now takes its notes as fragments. .gitignore restates the
global .* rule and re-includes .changelog, which it would otherwise hide.

Assisted-By: Claude <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.