Skip to content

chore(release-notes): unwrap changelog text in release notes; fix [Unreleased] compare base - #134

Merged
mmcky merged 1 commit into
mainfrom
chore/release-notes-hygiene
Aug 20, 2026
Merged

mmcky merged 1 commit into
mainfrom
chore/release-notes-hygiene

Conversation

@mmcky

@mmcky mmcky commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Two hygiene items from the v2.3.0 cut, one durable fix each:

  1. Release notes rendered with narrow, ragged lines. CHANGELOG.md is hard-wrapped (correct for a committed file, where a single newline renders as a space), but GitHub renders release bodies like comments — every newline becomes a line break — so the extracted section showed as a narrow column. The v2.3.0 notes were corrected in place with gh release edit; this PR makes release.yml unwrap the extracted section before publishing, so wrapped changelog source and full-width release notes stop being in tension. Indented continuation lines join their bullet, consecutive > lines join into one blockquote paragraph, and fenced code blocks and nested bullets pass through untouched. Verified locally: the pipeline's output for 2.3.0 is byte-identical to the hand-corrected notes now live on the release.

  2. The [Unreleased] compare link still pointed at v2.2.0...HEAD. Flagged by Copilot on the release-prep PR (chore(release): prepare v2.3.0 #133) — without the re-point, the Unreleased compare includes already-released changes. Now v2.3.0...HEAD, and the release steps in CONTRIBUTING.md include the re-point so the next cut doesn't repeat the miss.

🤖 Generated with Claude Code

…ased] compare base

Two release-notes hygiene items from the v2.3.0 cut:

- release.yml now unwraps the extracted changelog section before
  publishing. CHANGELOG.md is hard-wrapped for the repo view, but GitHub
  renders release bodies with single newlines as <br>, so the v2.3.0
  notes appeared as narrow ragged lines (corrected in place via
  gh release edit). Fenced blocks and nested bullets pass through.
- The [Unreleased] compare link now starts from v2.3.0 instead of
  v2.2.0 — flagged by Copilot on the release-prep PR; without it the
  compare shows already-released changes.

CONTRIBUTING.md's release steps gain the compare-link re-point and a
note that wrapping changelog text is safe.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 20, 2026 03:48
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-20 03:51 UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the release hygiene around CHANGELOG.md consumption: it adjusts the [Unreleased] compare base after the v2.3.0 cut, and makes the tag-triggered release workflow unwrap hard-wrapped changelog lines so GitHub Release notes render as intended.

Changes:

  • Update release.yml to post-process extracted changelog sections, unwrapping hard-wrapped bullet continuations and consolidating consecutive blockquote lines before publishing release notes.
  • Re-point the [Unreleased] compare link to v2.3.0...HEAD.
  • Document the compare-link re-point (and the release-notes unwrapping behavior) in the release steps.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
CONTRIBUTING.md Clarifies release procedure: re-point [Unreleased] compare base and notes release-body newline behavior.
CHANGELOG.md Updates [Unreleased] compare link base from v2.2.0 to v2.3.0.
.github/workflows/release.yml Unwraps hard-wrapped changelog text when generating release-notes.md for GitHub Releases.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

🎭 Visual regression results

passed  17 passed
skipped  3 skipped

Details

stats  20 tests across 1 suite
duration  38.2 seconds
commit  f2a19aa

Skipped tests

mobile-chrome › theme.spec.ts › QuantEcon theme — visual regression › launch-colab
mobile-chrome › theme.spec.ts › QuantEcon theme — visual regression › live-compute-toggle
mobile-chrome › theme.spec.ts › QuantEcon theme — visual regression › live-compute-toggle-absent-without-thebe

@mmcky
mmcky merged commit 926a347 into main Aug 20, 2026
5 checks passed
@mmcky
mmcky deleted the chore/release-notes-hygiene branch August 20, 2026 03:51
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