@yarnpkg/pnp
4.1.7 · 2 Jun 2026BSD-2-Clause310k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/pnp From 3.1.0 to 3.2.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 9
- new
- 11
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.2.0
Release by release
- 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
19 other lines we could not sort, mostly version bumps
- 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).
- 3.2.0
The suggestions that fit in the viewport will be fetched in the foreground and will load one-by-one.
- 3.2.0
The suggestions that don't will be fetched in the background and will be loaded in batches to increase responsiveness and reduce input lag.
- 3.2.0
Most notably, you won't have to wait for all of the suggestions to be fetched (which took a very long time before on large monorepos) before you can start navigating through the list.
- 3.2.0
The node-modules linker now tolerates if
node_modulesis a symbolic link, and doesn't recreate it. - 3.2.0
On top of the
cpuandarchfields, Yarn now support a newlibcfield which can be used in tandem withoptionalDependenciesto avoid downloading packages that have been linked against incompatible standard libraries (we currently support two values:glibcandmusl).
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.