Skip to content

docs: note that changeset version keeps changesets of skipped packages - #2345

Merged
beeequeue merged 1 commit into
changesets:mainfrom
mixelburg:docs/version-retains-skipped-changesets
Nov 13, 2026
Merged

beeequeue merged 1 commit into
changesets:mainfrom
mixelburg:docs/version-retains-skipped-changesets

Conversation

@mixelburg

@mixelburg mixelburg commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

The "Are changesets removed?" FAQ answer said that all changeset files are removed. That is not what changeset version does, and it is the one thing that surprises people setting up a repo with private packages: a changeset for a package that is skipped survives the version run, with no message, and the folder never gets emptied.

Fixes #2338.

Why the file is kept

apply-release-plan deliberately skips those files (packages/apply-release-plan/src/index.ts, "DO NOT remove changeset for skipped packages"): nothing was released for them, so the changeset has not been used yet. Both skip paths already have coverage that asserts the file is still there:

  • should NOT delete changesets for ignored packages (ignore: ["pkg-a"])
  • should NOT delete changesets for private unversioned packages (privatePackages: { version: false })

Scope

Docs only: docs/faq.md (the file moved there from site/faq.md in #2366; the docs/common-questions.md copy this originally touched was retired in the same reorg). No behaviour change, no changeset file.

@netlify

netlify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

👷 Deploy request for changesets pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit fdbd4ed

@changeset-bot

changeset-bot Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fdbd4ed

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

@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.47%. Comparing base (36f8bfa) to head (fdbd4ed).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2345   +/-   ##
=======================================
  Coverage   87.47%   87.47%           
=======================================
  Files          78       78           
  Lines        2971     2971           
  Branches      851      853    +2     
=======================================
  Hits         2599     2599           
  Misses        337      337           
  Partials       35       35           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mixelburg

Copy link
Copy Markdown
Contributor Author

Hi! Is there anything else needed from my side on this one? It is a two-line docs note about changeset version keeping the changesets of skipped packages, and CI is green. Happy to reword it or move it into the existing docs page if you would rather have it elsewhere.

@mixelburg
mixelburg force-pushed the docs/version-retains-skipped-changesets branch from 88a676a to fdbd4ed Compare November 12, 2026 22:02
@mixelburg

Copy link
Copy Markdown
Contributor Author

Rebased on latest main ✅ — #2366 retired the old docs/ folder, so the note now lives only in docs/faq.md (the former site/faq.md); the docs/common-questions.md copy it also touched no longer exists upstream.

@beeequeue beeequeue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks for the help!

@beeequeue
beeequeue added this pull request to the merge queue Nov 13, 2026
Merged via the queue into changesets:main with commit 9a035ec Nov 13, 2026
15 checks passed
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.

FAQ says changeset version removes all changeset files, but it keeps changesets of skipped packages

2 participants