Skip to content

chore: migrate Changesets to v3 - #17856

Merged
ematipico merged 5 commits into
withastro:mainfrom
trueberryless:chore/changesets-v3
Sep 16, 2026
Merged

ematipico merged 5 commits into
withastro:mainfrom
trueberryless:chore/changesets-v3

Conversation

@trueberryless

Copy link
Copy Markdown
Contributor

Changes

This PR migrates from Changeset v2 to v3 by following https://changesets.dev/guide/migration. I also updated some skills regarding Prerelease Changes changes in Changeset but didn't test them as I edited them manually. The rest of the changes is basically the same as in the Starlight PR.

Testing

no package changes

Docs

no changes for users

@changeset-bot

changeset-bot Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fb79775

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.

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

@github-actions github-actions Bot added the 🚨 action Modifies GitHub Actions label Aug 28, 2026
@ematipico ematipico added the pr: astro-review Triggers a bot to do an automated review label Aug 28, 2026
@astro-factory astro-factory Bot removed the pr: astro-review Triggers a bot to do an automated review label Aug 28, 2026

@astro-factory astro-factory Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR migrates Changesets from v2 to v3 and changesets/action from v1 to v2, matching the documented migration.

Merge Requirement Assessment

Status: satisfied

  • Update @changesets/cli and @changesets/changelog-github to v3/v1 — satisfied by package.json and pnpm-lock.yaml.
  • Update .changeset/config.json schema to v4 — satisfied.
  • Update .github/workflows/release.yml for changesets/action v2 input names (version → version-script, publish → publish-script, commit → commit-message, title → pr-title, GITHUB_TOKEN env → github-token) — satisfied.
  • Update merge/clean-changesets skill and evals for Changesets v3 prerelease changes (.changeset/pre/*.md instead of tracking in pre.json) — satisfied by .agents/skills/merge/clean-changesets.md and .agents/skills/merge/evals/evals.json.
  • No package changes or user-facing docs — satisfied.

Review Status

Verdict: ready to merge based on static review
Context: PR #17856 and PR description (Starlight migration reference)
Scope: Full PR diff (all 6 changed files reviewed)
Changeset: not required (infrastructure-only chore)
Limitations: External migration guide and changesets/action v2 auth docs could not be fetched because no network fetch tools are available in this environment. The removal of the v1-specific NPM_TOKEN: '' workaround is consistent with the v2 input migration but was not independently verified against upstream docs.
Validation: Static review only; no project code, tests, builds, or checks were run.
GitHub context: collected

This review was made by an LLM. The analysis may be wrong, and reports might be incorrect.

@trueberryless
trueberryless marked this pull request as draft August 28, 2026 16:21
@trueberryless

Copy link
Copy Markdown
Contributor Author

Blocking because @delucis reported some issues with Changeset v3 in Starlight, for example in this release commit.

@delucis

delucis commented Aug 28, 2026

Copy link
Copy Markdown
Member

Here’s the relevant issue I raised with Changesets in case it helps to track: changesets/changesets#2272

@trueberryless

Copy link
Copy Markdown
Contributor Author

@changesets/cli@3.0.2 with the fix for this issue has just been released. I'll update the PR once the minimum release age of 3 days is over 👍

@trueberryless
trueberryless marked this pull request as ready for review September 7, 2026 07:52
@trueberryless

Copy link
Copy Markdown
Contributor Author

The wait is over!
I have update the packages to the versions where the reported bug from Chris is patched.

@ematipico
ematipico merged commit 74098b6 into withastro:main Sep 16, 2026
24 of 25 checks passed
@trueberryless
trueberryless deleted the chore/changesets-v3 branch September 16, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚨 action Modifies GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants