Skip to content

ci(release): reflow release notes; rewrite the 1.1.0 and 1.2.0 changelog in the 1.0.x style - #17

Merged
tmack8001 merged 3 commits into
mainfrom
chore/readable-release-notes
Oct 27, 2026
Merged

tmack8001 merged 3 commits into
mainfrom
chore/readable-release-notes

Conversation

@tmack8001

@tmack8001 tmack8001 commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Description

The v1.2.0 release page showed CHANGELOG.md verbatim, so every bullet (hard-wrapped at ~80 columns for editors) arrived as a ragged column of short lines. The 1.1.0 and 1.2.0 sections had also drifted from the terse one-line style of 1.0.0 and 1.0.1 into long wrapped paragraphs (~1,375 and ~1,160 words). This fixes both: the notes script joins wrapped lines, the two sections are rewritten in the 1.0.x style, and the docs say how to write entries.

Type of Change

  • Documentation update
  • Code refactoring (release tooling, no CLI behaviour change)
  • Test addition or update

Changes Made

  • .github/scripts/changelog.py notes now reflows its output: each bullet or paragraph becomes one line. Headings, blank lines, code fences (and their contents), tables, block quotes, link references and nested bullets are left alone, and a trailing hard break is kept. check and roll are unchanged.
  • .github/scripts/test_changelog.py: 10 unit tests for the reflow, run in CI (python3 -m unittest discover -s .github/scripts, Linux jobs only). The reflow was also run over every released section: words and bullet counts are identical, only line breaks change.
  • CHANGELOG.md: the [1.1.0] section (~1,375 -> ~330 words) and the [1.2.0] section (~1,160 -> ~190 words) are rewritten as one short line per change, with no hard wraps, in the style of 1.0.0/1.0.1. What a user would notice is kept; reviewer-level detail is dropped. [Unreleased] records the reflow change.
  • docs/RELEASING.md: new "Writing changelog entries" section (one line per change, user-visible effect, detail belongs in the PR or docs).

Platform(s) Affected

  • Documentation only

Testing

  • The Python unit tests (10) pass locally; the TypeScript suite and CLI are untouched
  • Added new tests for new functionality

changelog.py check still passes, and changelog.py notes 1.1.0 / notes 1.2.0 print one line per bullet. Merging does not change the already-published release pages. To update them from a maintainer machine after merge:

python3 .github/scripts/changelog.py notes 1.2.0 | gh release edit v1.2.0 --notes-file -
python3 .github/scripts/changelog.py notes 1.1.0 | gh release edit v1.1.0 --notes-file -

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

Documentation

  • Updated relevant docs in docs/ folder
  • Updated CHANGELOG.md

🤖 Generated with Claude Code

https://claude.ai/code/session_012GP39ZPN7EzLLdoKcJkGD4

CHANGELOG.md is hard-wrapped for editors, and the release page shows the notes
as written, so every bullet arrived as a ragged column of short lines.
changelog.py notes now joins each bullet's (and paragraph's) wrapped lines.
Headings, blank lines, code fences, tables, block quotes, link references and
nested bullets are left alone, and a trailing hard break is kept.

Adds unit tests for the reflow (run in CI on Linux) and checked it against every
released section: the words and the bullet count are identical.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012GP39ZPN7EzLLdoKcJkGD4
The 1.2.0 section ran to about 1,160 words; it is now one short line per change
(about 290 words). docs/RELEASING.md gains a short "Writing changelog entries"
section (one line per change, user-visible effect, detail belongs in the PR or
docs), and [Unreleased] records the reflow change.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012GP39ZPN7EzLLdoKcJkGD4
1.0.0 and 1.0.1 are short one-line bullets that are easy to read and grep; 1.1.0
and 1.2.0 had grown into long wrapped paragraphs (about 1,375 and 1,160 words).
Rewrite both as one short line per change with no hard wraps: 1.1.0 is now about
330 words and 1.2.0 about 190. Behaviour notes that only mattered to reviewers
are dropped; what a user would notice is kept.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012GP39ZPN7EzLLdoKcJkGD4
@tmack8001 tmack8001 changed the title ci(release): reflow release notes and condense the 1.2.0 changelog ci(release): reflow release notes; rewrite the 1.1.0 and 1.2.0 changelog in the 1.0.x style Oct 27, 2026
@tmack8001
tmack8001 merged commit 345ba67 into main Oct 27, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants