ReviewOS

also looking at this

craft-native/craft

fix(release): add non-mutating changelog previews

#306
Merged glennmichael123 wants to merge codex/safe-changelog-preview into main
5 files +132 -0
8 days ago

Summary

  • Add bun run changelog:preview with optional --from/--to, using the installed generator and an isolated temporary output.
  • Resolve Git refs before generation; reject output overrides and fail if generation produces no file.
  • Preserve tracked release notes and existing local edits, with real-generator clean-tree regression tests in CI.

Verification

  • 3 regression tests pass (20 assertions).
  • Pickier, actionlint and git diff checks pass.
  • Previewed the actual v0.0.92-to-main range without changing CHANGELOG.md.

Partial mitigation for #283. The upstream --no-output parser and duplicate issue-reference rendering remain unresolved; this PR does not close that issue or publish a release.

5 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.