Skip to content

fix(updates): render release notes as blocks, not a bullet per line - #239

Merged
JeffreyJYZ merged 1 commit into
mainfrom
fix/notes-blocks
Nov 22, 2026
Merged

JeffreyJYZ merged 1 commit into
mainfrom
fix/notes-blocks

Conversation

@jyzbot

@jyzbot jyzbot commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

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.json kept its backticks and *"…"* kept its asterisks.

parseNotes dropped the structure one line before the render that needed it. It now returns blocks — lead, heading, entry (title plus a visually quiet PR number) and body (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: fetchReleaseNotes returns [] for a release with an empty body and null only 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-classes 0.

@vercel

vercel Bot commented Nov 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
quarry-docs Building Building Preview Nov 22, 2026 4:25am UTC

@JeffreyJYZ
JeffreyJYZ merged commit 656f601 into main Nov 22, 2026
5 of 6 checks passed
@JeffreyJYZ
JeffreyJYZ deleted the fix/notes-blocks branch November 22, 2026 04:25
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