Changesets 2.31.0

2.31.0
Added 1
  • Error on unsupported flags for individual CLI commands and print the matching command usage
Changed 1
  • Respond to --help on all subcommands, including when passed alongside a subcommand like changeset version --help
Fixed 4
  • Fix npm auth for path-based registries during publish by preserving configured registry URLs instead of normalizing them
  • Fix several changeset version issues with workspace protocol dependencies, including preventing unnecessary rewrites of valid explicit workspace ranges and aliases
  • Gracefully handle stale npm info data leading to duplicate publish attempts
  • Improve detection for published state of prerelease-only packages without latest dist-tag on GitHub Packages registry

From Changesets

Minor Changes
  • #1889 96ca062 Thanks @mixelburg! - Error on unsupported flags for individual CLI commands and print the matching command usage to make mistakes easier to spot.

  • #1873 42943b7 Thanks @mixelburg! - Respond to --help on all subcommands. Previously, --help was only handled when it was the sole argument; passing it alongside a subcommand (e.g. changeset version --help) would silently execute the command instead. Now --help always exits early and prints per-command usage when a known subcommand is provided, or the general help text otherwise.

Patch Changes
  • d2121dc Thanks @Andarist! - Fix npm auth for path-based registries during publish by preserving configured registry URLs instead of normalizing them.

  • #1888 036fdd4 Thanks @mixelburg! - Fix several changeset version issues with workspace protocol dependencies. Valid explicit workspace: ranges and aliases are no longer rewritten unnecessarily, and workspace path references are handled correctly during versioning.

  • #1903 5c4731f Thanks @Andarist! - Gracefully handle stale npm info data leading to duplicate publish attempts.

  • #1867 f61e716 Thanks @Andarist! - Improved detection for published state of prerelease-only packages without latest dist-tag on GitHub Packages registry.

  • Updated dependencies [036fdd4, 036fdd4, 036fdd4]:

    • @changesets/assemble-release-plan@6.0.10
    • @changesets/get-dependents-graph@2.1.4
    • @changesets/apply-release-plan@7.1.1
    • @changesets/get-release-plan@4.0.16
    • @changesets/config@3.1.4
View original

Upgraded? How did it go?

Discussion