Skip to content

fix(pages): don't let empty Unreleased section blank the status page changelog#53

Merged
CodeWithJuber merged 1 commit into
masterfrom
claude/forgekit-repo-setup-8a3735
Jul 11, 2026
Merged

fix(pages): don't let empty Unreleased section blank the status page changelog#53
CodeWithJuber merged 1 commit into
masterfrom
claude/forgekit-repo-setup-8a3735

Conversation

@CodeWithJuber

Copy link
Copy Markdown
Owner

Summary

  • latestChanges() in scripts/build-pages.mjs matched only the first ## [...] CHANGELOG section, which right after a release is the empty ## [Unreleased] heading — leaving the status page's "Latest changes" list empty and failing test/pages.test.js:43. Now walks sections in order and uses the first one with actual bullets.
  • This was the cause of the failing "Bump version" and "Release" workflow runs (both run npm test, which failed on this test).
  • Also bumps ROADMAP.md's stale "Now" version marker (v0.11.0v0.12.0) so forge docs check stays green.

Test plan

  • node --test test/pages.test.js — all pass (previously not ok 394)
  • npm test — 658/660 pass (the 1 remaining failure, test/imagine.test.js, is pre-existing and reproduces identically on master without this change — unrelated worktree quirk, not a CI failure)
  • npx biome check — clean (pre-existing warnings only)
  • npm run typecheck — clean
  • node src/cli.js docs check — clean

🤖 Generated with Claude Code

…ge changelog

latestChanges() matched only the first "## [...]" CHANGELOG section, which
after a release is the empty "## [Unreleased]" heading — leaving the status
page's "Latest changes" list empty and failing test/pages.test.js:43. Now
walks sections in order and uses the first one that actually has bullets.

Also bumps ROADMAP's stale "Now" version marker to v0.12.0.
@CodeWithJuber CodeWithJuber merged commit a7cbc84 into master Jul 11, 2026
11 checks passed
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