Skip to content

chore: introduce changesets for versioning and changelogs - #1

Merged
hudrazine merged 1 commit into
mainfrom
chore/changesets-introduction
Aug 21, 2026
Merged

chore: introduce changesets for versioning and changelogs#1
hudrazine merged 1 commit into
mainfrom
chore/changesets-introduction

Conversation

@hudrazine

@hudrazine hudrazine commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Introduce changesets to replace manual version bumps and hand-written release notes:
    • Add @changesets/cli + @changesets/changelog-github as devDependencies, plus .changeset/config.json and a changeset npm script (vp run changeset).
    • New .github/workflows/version.yml: on pushes to main, changesets/action/version@v2 creates or updates a single Version Packages PR that bumps the version and regenerates CHANGELOG.md. PRs without a changeset are a no-op.
  • Publishing is intentionally unchanged: the existing tag-triggered release.yml keeps publishing through vp pm publish --no-git-checks with OIDC trusted publishing, so the npm Trusted Publisher registration stays valid.
  • Document the release procedure in .engineering/development/release.md (linked from the engineering index) and remove the now-unused bumpp.

Reason

Manual version bumps and manual CHANGELOG authorship were error-prone and easy to forget. Changesets accumulates per-PR change entries and automates versioning, while keeping the proven publish path untouched.

Test notes

  • Local: dummy changeset bumped 0.1.0 → 0.1.1 with correct CHANGELOG.md; reverted before commit. vp run check, vp run test (9/9), and vp install --frozen-lockfile all pass.
  • After merge: verify end-to-end that a changeset-bearing PR produces the Version Packages PR, and that tagging still publishes via release.yml.

Replace manual version bumps with changesets. A Version Packages PR is
created and updated automatically on main, and publishing remains in the
tag-triggered release workflow with OIDC trusted publishing. Document
the release procedure in .engineering/development/release.md and remove
the now-unused bumpp.
@hudrazine
hudrazine marked this pull request as ready for review August 21, 2026 12:20
@hudrazine
hudrazine merged commit 077caa4 into main Aug 21, 2026
1 check passed
@hudrazine
hudrazine deleted the chore/changesets-introduction branch August 21, 2026 12:22
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