Repository navigation
Move to Changesets 3 - #1452
Merged
Merged
Move to Changesets 3#1452
Conversation
Changesets 3 adds `changeset publish-plan` and the `select-mode` and
`publish` actions, which a publish-only release workflow needs.
- `@changesets/cli` 3.0.3, and `changesets/action` v2.1.2 in
release.yml: action v1 refuses Changesets 3, and v2 renames its inputs
and outputs.
- `privatePackages: { version: true, tag: false }`: Changesets 3 stops
versioning private packages by default, and the VS Code extension and
the crates' version package are private. This keeps today's behavior.
- `format: false`: Changesets 3 would format each changelog with the
repository's Prettier config, which rewrites the code samples of old
entries. Changesets 2 left them as they were.
- `changelog-summary.mjs`: each changelog line is the changeset's
summary, with no commit hash, so the changelogs read the same when the
commit that added a changeset is not in this repository.
- The release orchestrator's tag step calls `changeset git-tag`, the new
name of `changeset tag`.
PhilippeCollin
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this PR
Moves the repo from Changesets 2 to Changesets 3. Releases still work the same way: the release workflow opens a release PR, and merging it publishes.
Problem
Releases are about to come from a version commit that reaches
mainalready versioned, andrelease.ymlwill only publish. Changesets 3 has the two pieces that workflow needs:changeset publish-planand thechangesets/action/select-modeaction. It also has to run one real release before the workflow changes, so this upgrade goes first.Solution
@changesets/cli3.0.3changesets/actionv1.9.0 to v2.1.2 inrelease.yml, with its renamed inputs and thehas-changesetsoutput"privatePackages": { "version": true, "tag": false }theme-check-rsare private and must keep their versions"format": false.changeset/changelog-summary.mjschangeset git-tagchangeset tag. Nothing calls this step todayExample changelog entry for a committed changeset:
fixed,access,baseBranchandupdateInternalDependenciesstay the same.Validation
@shopify/liquid-html-parserandtheme-check-vscode, thenpnpm release. It bumps the same 11 packages to the same versions as Changesets 2 does onmain, including the privatetheme-check-vscode(3.12.1). The diff only adds lines: new versions, new changelog sections with no hash, and the lockfile. I deleted the result afterwards.changeset publish-planafter that dry run lists the 10 public npm packages that changed, and no private package.actionlintreports nothing new inrelease.yml.Not tested: the release workflow itself, which only runs on
main. The first push after this merges opens or updates the release PR when a changeset is pending.