@yarnpkg/cli
4.18.1 · 24 Sep 2026BSD-2-Clause121.1k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/cli From 3.1.0 to 3.8.7
26 releases in betweennotes for 9
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 13+
- new
- 18+
- fixes
Counted from 9 of 26 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.2.0
Release by release
3.5.0 – 3.8.716 releases, no release note
- Fixed
Fixes an accidental backport error in
yarn init.
- Fixed
- Fixed
The PnP API module (
pnpapi) can now be imported from ESM modules. - Fixed
ZipFS.prototype.getBufferAndClosewill not error on empty archives resulting from an unlink after write. - Fixed
Fixes various issues around postinstall script inter-dependencies.
- Fixed
Removes the message prefixes (
YN0000) fromyarn workspaces foreach.
- Fixed
3.2.4 – 3.3.13 releases, nothing new or fixed; 1 without a note
- Fixed
When Corepack is enabled Yarn will now use the current CLI to prepare external Yarn classic projects, matching the behaviour of when Corepack is disabled.
- Fixed
3.2.2nothing new or fixed in the note
- New
Applies hoisting algorithm on aliased dependencies
- New
Reinstalls modules that have their directories removed from node_modules by the user
- New
Improves portal hoisting
- New
Supports
supportedArchitectures - Fixed
The PnP ESM loader is now able to handle symlinked extensionless entrypoints.
- New
- Breaking
Could potentially be a breaking change, but the old behavior caused portability issues with a few packages, so we had to make this change (especially since the portable shell is intended to help portability).
- New
It will now remove the
node_modules/.storeandnode_modulesfolders if they are empty. - New
It now supports running binaries of soft links.
- New
It will now create self-references for packages that don't depend on other versions of themselves.
- Breaking
42 other lines we could not sort, mostly version bumps
- 3.4.0
PnP now supports the Node
--conditionsflag. - 3.4.0
PnP now supports the Node
--watchflag on Node 18 (it previously only supported it on Node 19). - 3.4.0
Updates the PnP compatibility layer for TypeScript v5.0.0-beta.
- 3.3.0
The node-modules linker avoids creation of circular symlinks
- 3.3.0
The node-modules linker no longer creates duplicate copies inside of aliased packages
- 3.3.0
The node-modules linker locates binaries correctly when the same version of the package is duplicated inside root workspace and another workspace
- 3.3.0
Improved performance for
hardlinks-globalnode-moduleslinker mode by 1.5x - 3.3.0
Updates the PnP compatibility layer for TypeScript v4.9.2-rc.
- 3.2.4
The patched filesystem now supports fchown.
- 3.2.4
PnP now handles private import mappings.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.