@yarnpkg/pnp
4.1.7 · 2 Jun 2026BSD-2-Clause310k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/pnp From 3.0.2 to 3.3.8
17 releases in betweennotes for 3
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 11+
- new
- 22+
- fixes
Counted from 3 of 17 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.2.1 – 3.3.815 releases, nothing new or fixed; 14 without a note
- 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
- New
Workspaces can now be referred to using
workspace:^andworkspace:~. When published, those markers will turn into the actual version (just like what used to happen withworkspace:*), except that they'll be prefixed with the relevant semver prefix (respectively^and~). - New
A new
npmAuditRegistrysetting will let you define which registry to use when running audits. If unset, we'll fallback to the currently configured publish registry (we'll likely change this behavior in Yarn 4 to rather use the fetch registry). - Fixed
Direct portal dependencies for
node_modulesinstalls will now be given priority during hoisting, preventing cases when indirect regular dependencies would block the way for direct portal dependencies. - Fixed
The
pnpifybinary can now be used from inside directories containing spaces.
- New
38 other lines we could not sort, mostly version bumps
- 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.0
The
yarn workspaces foreach runcommand is now able to run binaries. - 3.2.0
The
yarn npm infocommand now supports displaying information about a tagged version of a package (e.g.yarn npm info vue@next). - 3.2.0
A new
yarn explaincommand has been added. It can be used to explain an error code, or list all available error codes. - 3.2.0
The
yarn npm publishcommand now accepts a new--otpoption, to set the One-Time Password from the CLI. - 3.2.0
Yarn will display as many suggestions as can fit in the viewport (rather than a fixed-size list).
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.