Skip to content

chore: migrate to changesets v3 - #541

Merged
tuler merged 1 commit into
prerelease/v2-alphafrom
feat/changeset-v3
Oct 7, 2026
Merged

tuler merged 1 commit into
prerelease/v2-alphafrom
feat/changeset-v3

Conversation

@tuler

@tuler tuler commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Migrates the repo to Changesets v3, following https://changesets.dev/guide/migration.

Changes

  • @changesets/cli ^2.31.1 → ^3.0.3.
  • .changeset/config.json: schema URL bumped to @changesets/config@4.0.1. baseBranch and privatePackages (version: true, tag: true) were already explicit, so v3's new default of not versioning private packages doesn't affect @cartesi/sdk tagging.
  • Pre mode: migrated via changeset status. All 285 already-versioned changesets (including those released in 2.0.0-alpha.38) moved to .changeset/pre/, and pre.json now only holds mode/tag. No changesets are pending.
  • release.yaml:
    • changesets/action v1.9.0 → v2.1.2 (SHA-pinned). Inputs renamed (commit → commit-message, publish → publish-script) and the GITHUB_TOKEN env is dropped (the action defaults to github.token).
    • Output publishedPackages → published-packages. The job-level output name is unchanged, so build_sdk didn't need updating.
    • setup-node pinned to Node 24, because v3 requires ^22.11 || ^24 || >=26.
  • bun.lock: the @cartesi/cli workspace version is synced to 2.0.0-alpha.38, which the release commit left stale.
  • publish-packages script is now just changeset publish. Action v2 creates git tags and GitHub releases itself through the API (from CHANGESETS_OUTPUT), so git push --follow-tags is no longer needed.

Notes

  • Changesets has no Bun-specific publish support. It falls back to npm, the same as v2.
  • Verified locally: biome ci passes, and a dry changeset version (run before rebasing onto the alpha.38 release) bumped @cartesi/cli from 2.0.0-alpha.37 to alpha.38 with the expected changelog.

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fef6524

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security

socket-security Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​changesets/​cli@​2.31.1 ⏵ 3.0.399 +210074 -2595100

View full report

@tuler
tuler requested a review from brunomenezes October 6, 2026 03:53
@tuler
tuler force-pushed the feat/changeset-v3 branch from af6993a to 1d8db08 Compare October 6, 2026 03:59
@tuler
tuler added this pull request to stack #542 October 6, 2026 03:59
@tuler
tuler force-pushed the feat/changeset-v3 branch from 1d8db08 to 74550ec Compare October 6, 2026 12:57
Base automatically changed from feat/deps-typecheck to prerelease/v2-alpha October 6, 2026 14:22
@tuler
tuler force-pushed the feat/changeset-v3 branch from 74550ec to 6ea446e Compare October 6, 2026 14:22
@tuler
tuler force-pushed the feat/changeset-v3 branch from 6ea446e to fef6524 Compare October 7, 2026 17:46
@tuler
tuler merged commit 7de9cd1 into prerelease/v2-alpha Oct 7, 2026
3 checks passed
@tuler
tuler deleted the feat/changeset-v3 branch October 7, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: 📦 Done

Development

Successfully merging this pull request may close these issues.

2 participants