fix(pages): don't let empty Unreleased section blank the status page changelog#53
Merged
Merged
Conversation
…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.
5 tasks
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.
Summary
latestChanges()inscripts/build-pages.mjsmatched 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 failingtest/pages.test.js:43. Now walks sections in order and uses the first one with actual bullets.npm test, which failed on this test).ROADMAP.md's stale "Now" version marker (v0.11.0→v0.12.0) soforge docs checkstays green.Test plan
node --test test/pages.test.js— all pass (previouslynot ok 394)npm test— 658/660 pass (the 1 remaining failure,test/imagine.test.js, is pre-existing and reproduces identically onmasterwithout this change — unrelated worktree quirk, not a CI failure)npx biome check— clean (pre-existing warnings only)npm run typecheck— cleannode src/cli.js docs check— clean🤖 Generated with Claude Code