Skip to content

fix: changelog structure and changelog lint - #9

Merged
charlesberret merged 2 commits into
mainfrom
cursor/changelog-lint-6329
Nov 12, 2026
Merged

charlesberret merged 2 commits into
mainfrom
cursor/changelog-lint-6329

Conversation

@charlesberret

@charlesberret charlesberret commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • CHANGELOG.md: merge duplicate ### Changed / ### Fixed blocks under [Unreleased] (Keep a Changelog order: Added → Changed → Fixed); add ### Added for orphan [0.4.0] bullets; add GitHub release link references for 0.4.0–0.2.0 (matching existing 0.1.0).
  • scripts/check-changelog.mjs: enforces one ### heading per name per ## section, semver link refs at the file bottom, and no orphan list items outside subsections.
  • CI: wired into npm run check and .github/workflows/check.yml.

Verification

$ node scripts/check-changelog.mjs
check-changelog: ok
$ node --test scripts/*.test.mjs
# tests 7
# suites 4
# pass 7
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 66.35656

Includes a unit fixture that rejects a duplicate ### Changed in [Unreleased].

Consolidate duplicate Unreleased subsections, put 0.4.0 bullets under
### Added, add release link references for all semver sections, and gate
structure in CI via scripts/check-changelog.mjs.

Co-authored-by: Charles Berret <charlesberret@users.noreply.github.com>
@charlesberret
charlesberret marked this pull request as ready for review November 12, 2026 03:30
@charlesberret
charlesberret merged commit 3125a57 into main Nov 12, 2026
1 check passed
@charlesberret
charlesberret deleted the cursor/changelog-lint-6329 branch November 12, 2026 03:35
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