Packages

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

Other targets from 3.1.0Latest4.18.1
  1. 3.1.0yours
  2. 1 release
  3. 3.2.0breaking
  4. 23 releases
  5. 3.8.7target
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

  1. 3.5.0 – 3.8.716 releases, no release note

  2. 3.4.1

    1 Feb 20231 fix
    • Fixed

      Fixes an accidental backport error in yarn init.

  3. 3.4.0

    1 Feb 20234 fixes
    • Fixed

      The PnP API module (pnpapi) can now be imported from ESM modules.

    • Fixed

      ZipFS.prototype.getBufferAndClose will 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) from yarn workspaces foreach.

  4. 3.2.4 – 3.3.13 releases, nothing new or fixed; 1 without a note

  5. 3.2.3

    24 Aug 20221 fix
    • 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.

  6. 3.2.2nothing new or fixed in the note

  7. 3.2.1

    13 May 20224 new · 1 fix
    • 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.

  8. 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.

42 other lines we could not sort, mostly version bumps
  • PnP now supports the Node --conditions flag.

    3.4.0
  • PnP now supports the Node --watch flag 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.4.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-global node-modules linker mode by 1.5x

    3.3.0
  • Updates the PnP compatibility layer for TypeScript v4.9.2-rc.

    3.3.0
  • The patched filesystem now supports fchown.

    3.2.4
  • PnP now handles private import mappings.

    3.2.4

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.