Skip to content

fix(release): preserve authored changelog notes#2529

Closed
james-elicx wants to merge 1 commit into
mainfrom
codex/fix-cloudflare-release-changelog
Closed

fix(release): preserve authored changelog notes#2529
james-elicx wants to merge 1 commit into
mainfrom
codex/fix-cloudflare-release-changelog

Conversation

@james-elicx

Copy link
Copy Markdown
Member

Summary

  • preserve package-targeted prose from committed changesets before changeset version consumes them
  • merge those authored notes into the grouped conventional-commit changelog output
  • ignore generated auto-*.md changesets and SHA-named commit overrides to keep refreshes idempotent

Root cause

scripts/version.mts replaced each newly generated release section using only path-attributed conventional commits. The enter-v1-beta.md changeset bumps @vinext/cloudflare and includes the beta announcement, but there are no post-0.2.1 commits touching packages/cloudflare, so the rewrite replaced Changesets' output with an empty section.

This is visible in #2499, where @vinext/cloudflare@1.0.0-beta.0 has no changelog body.

Validation

  • vp check scripts/version.mts scripts/version.test.ts
  • vp test run scripts/version.test.ts scripts/create-changeset.test.ts
  • local release workflow dry-run: node scripts/create-changeset.mts then GITHUB_REPOSITORY='' node scripts/version.mts
    • @vinext/cloudflare@1.0.0-beta.0 retains Release the first vinext 1.0 beta.
    • vinext@1.0.0-beta.0 retains the announcement plus accumulated conventional-commit groups

@pkg-pr-new

pkg-pr-new Bot commented Jul 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/vinext/@vinext/cloudflare@2529
npm i https://pkg.pr.new/cloudflare/vinext/create-vinext-app@2529
npm i https://pkg.pr.new/cloudflare/vinext@2529

commit: 65dc443

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor
Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original
workers-cache preview production
web preview production

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared 65dc443 against base 078073d using alternating same-runner rounds. Next.js was unchanged and skipped.

0 improved · 0 regressed · 6 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 126.3 KB 126.3 KB ⚫ -0.0%
Client entry size (gzip) vinext 120.3 KB 120.3 KB ⚫ -0.0%
Dev server cold start vinext 2.53 s 2.51 s ⚫ -0.9%
Production build time vinext 3.05 s 3.02 s ⚫ -1.0%
RSC entry closure size (gzip) vinext 97.5 KB 97.5 KB ⚫ +0.0%
Server bundle size (gzip) vinext 164.0 KB 164.0 KB ⚫ +0.0%

View detailed results and traces

🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head

@james-elicx

Copy link
Copy Markdown
Member Author

Closing: the reported @vinext/cloudflare commit accumulation is already working. PR #2499 refreshed after #2528 landed and correctly included that package commit; this draft addressed a separate authored-note preservation behavior that is not needed for the reported issue.

@james-elicx james-elicx closed this Jul 4, 2026
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