Repository navigation
feat(release): notes with a summary, grouped entries and an update line - #237
Merged
Merged
Conversation
JeffreyJYZ
approved these changes
Nov 22, 2026
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Published bodies were a bare
git log --pretty=format:%sdump. The regression has a specific origin:e37f6bdbuiltnotesFromGiton commit subjects only, andgit log -S 'gh pr view' -- scriptsshows no code ever fetched PR bodies — the later refactors copied that shape faithfully.Notes now carry, in order:
Two changes: <title>; <title>.— derived from the same titles the sections render, so it cannot disagree with them, and a test fails if any summary sentence appears inside an entry paragraph. That guard exists because my own first two attempts produced a stitched fragment and then a verbatim duplicate.type(scope):stripped, the(#NNN)kept, and the PR body's first paragraph under the title. A version bump renders nowhere.gh pr viewsupplies the bodies; an unreadable PR stays a bare subject, and a totalghfailure degrades to the subject list with an explicit "summary unavailable" line — a release that published is worth more than a pretty body.scripts/release-notes.ts --tag quarry-alphaNNNprints the notes without publishing, which is how the sample in this PR was produced and how the format is checked by hand.notes.tswas split against the 200-line cap: composition, sources (git/gh), and the script as orchestrator. Gate 11/11, scriptstscclean, file-size clean.