Repository navigation
fix(updates): render release notes as blocks, not a bullet per line - #239
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.
The What's new panel drew the whole release body as one flat bullet list: the summary paragraph, the words Fixes, Features, How to update, every entry title and every entry paragraph all got a dot at the same weight. Inline markdown leaked too —
latest.jsonkept its backticks and*"…"*kept its asterisks.parseNotesdropped the structure one line before the render that needed it. It now returns blocks —lead,heading,entry(title plus a visually quiet PR number) andbody(the indented paragraph under an entry) — with inline code, bold, italic and links stripped at parse time. Headings and the lead render as paragraphs; only entries get bullets.It also closes the gap the CSP fix left:
fetchReleaseNotesreturns[]for a release with an empty body andnullonly when the release cannot be read, so "no notes published" and "could not read the notes" are finally different sentences.Fixture is the real body of
quarry-alpha107(gh release view quarry-alpha107 --json body), so the tests pin the text that shipped and the shape that was wrong. Red: 10 failing; green: 21 passing, full suite 1470, gate 11/11,unstyled-classes0.