- Allow comma-separated values in array-valued CLI flags: the --major, --minor, and --patch flags of the add command, and the --ignore flag of the version command
- Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking versioned changeset ids in .changeset/pre.json file, with auto-migration of existing pre.json on next run of changeset version or changeset status
- Private packages are no longer versioned by default; set privatePackages to true to opt into versioning and tagging them, or set privatePackages.version to true to version them without tagging
From Changesets
Major Changes
-
#2190
96b65eeThanks @bluwy! - Move versioned prerelease changesets to.changeset/pre/folder instead of accumulating in the root and tracking the versioned changeset ids in the.changeset/pre.jsonfile. Existingpre.jsonwill auto-migrate to this new structure on the next run ofchangeset versionor when callingchangeset status.This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in
.changeset/pre/can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids inpre.jsonif certain changesets are deleted. -
#2186
3910adfThanks @Andarist! - Private packages are no longer versioned by default. SetprivatePackagestotrueto opt into versioning and tagging them, or setprivatePackages.versiontotrueto version them without tagging.
Minor Changes
- #2135
fd7724aThanks @youdie006! - Allow comma-separated values in array-valued CLI flags: the--major,--minor, and--patchflags of theaddcommand, and the--ignoreflag of theversioncommand. For example,--minor pkg-a,pkg-bis now equivalent to--minor pkg-a --minor pkg-b. Surrounding whitespace is trimmed and empty entries are ignored.
Patch Changes
- Updated dependencies [
96b65ee,3910adf,96b65ee]:- @changesets/apply-release-plan@8.0.0-next.10
- @changesets/assemble-release-plan@7.0.0-next.10
- @changesets/git@4.0.0-next.9
- @changesets/pre@3.0.0-next.9
- @changesets/read@1.0.0-next.10
- @changesets/types@7.0.0-next.9
- @changesets/config@4.0.0-next.9
- @changesets/changelog-git@1.0.0-next.9
- @changesets/get-dependents-graph@3.0.0-next.9
- @changesets/should-skip-package@1.0.0-next.9
- @changesets/write@1.0.0-next.9