Skip to content

fix: draw the full update news for a person at a terminal - #1981

Merged
REPPL merged 3 commits into
mainfrom
major-news-full
Dec 3, 2026
Merged

REPPL merged 3 commits into
mainfrom
major-news-full

Conversation

@REPPL

@REPPL REPPL commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator
  • fix: draw the full update news for a person at a terminal
  • chore: resolve the unreadable full update news
  • fix: regenerate the update news reference and fit narrow windows

Refs: iss-2612021706041724
Resolves: iss-2612021706041724
Assisted-by: abcd:dev
Assisted-by: Claude:claude-opus-5-5

REPPL added 3 commits December 3, 2026 08:05
abcd update news --full printed every change of every release as one wall
of raw changelog paragraphs. It now draws each release as a summary first:
what needs the person, then up to five headline changes (those with a bold
lead), then the rest as new or fixed, one line per change with the record it
cites. Code spans and strong emphasis are drawn as terminal styling, in the
sixteen basic colours, and each line is fitted to the window. Off a terminal
the same lines come plain, with no colour, and --json carries them.
--change <record-id> prints the whole text of the change citing that record.

Every changelog line is masked with termsafe.SanitizeLine before it is read
as markdown, so the only escapes drawn are the renderer's own. Code spans are
paired through mdrecord.CodeSpanRanges and termsafe.PairCodeSpan.

Refs: iss-2612021706041724
Assisted-by: Claude:claude-opus-5-5
Resolves: iss-2612021706041724
Assisted-by: Claude:claude-opus-5-5
The generated CLI reference, the release surface and the update surface
page now carry the full news text and the --change flag. A change line
in a window too narrow for its record id beside a readable summary
drops the id and cuts the summary, so it still fits. Reading strong
emphasis searches the stretch and the rest of the line apart, so a line
of many ** pairs no longer copies the line at each opener.

Refs: iss-2612021706041724
Assisted-by: Claude:claude-opus-5-5
@REPPL
REPPL enabled auto-merge December 3, 2026 12:39
@REPPL
REPPL added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 7dbcb67 Dec 3, 2026
16 checks passed
@REPPL
REPPL deleted the major-news-full branch December 3, 2026 14:52
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.

1 participant