Packages

@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…

Other targets from 3.1.0Newest 3.x3.3.8Latest4.1.7
  1. 3.1.0yours
  2. 3.2.0target

Before you upgrade

Tick each one off as you go
  • Breaking3.2.0

Release by release

  1. 3.2.0

    Migration needed21 Feb 20229 new · 11 fixes
    • 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/.store and node_modules folders 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.

19 other lines we could not sort, mostly version bumps
  • The yarn workspaces foreach run command is now able to run binaries.

    3.2.0
  • The yarn npm info command now supports displaying information about a tagged version of a package (e.g. yarn npm info vue@next).

    3.2.0
  • A new yarn explain command has been added. It can be used to explain an error code, or list all available error codes.

    3.2.0
  • The yarn npm publish command now accepts a new --otp option, 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_modules is a symbolic link, and doesn't recreate it.

    3.2.0
  • On top of the cpu and arch fields, Yarn now support a new libc field which can be used in tandem with optionalDependencies to avoid downloading packages that have been linked against incompatible standard libraries (we currently support two values: glibc and musl).

    3.2.0

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.