Packages

@yarnpkg/cli

4.18.1 · 24 Sep 2026BSD-2-Clause121.1k / weekRepositorynpmAtom feed

Upgrading @yarnpkg/cli From 2.2.0 to 2.4.3

10 releases in betweennotes for 6

Reading releases, release notes and advisories…

Other targets from 2.2.0Latest4.18.1
  1. 2.2.0yours
  2. 9 releases
  3. 2.4.3target
?
changes to make
0
advisories fixed
2+
new
6+
fixes

Counted from 6 of 10 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 2.3.1 – 2.4.37 releases, nothing new or fixed; 2 without a note

  2. 2.3.0

    2 Oct 20202 new · 6 fixes
    • New

      Added support for $$ and $PPID

    • New

      Added a few builtin extensions to improve compatibility with packages that weren't correctly listing their dependencies.

    • Fixed

      Fixed some pathological cases around peer dependencies. In particular, workspaces' peer dependencies will now be resolved against their closest workspace ancestor (according to the directory hierarchy) rather than be ignored. Note that peer dependencies are inherently problematic with workspaces when using the node-modules linker, and that the strictly correct behavior can only be obtained by using the default Plug'n'Play linker.

    • Fixed

      Fixes some pathological globbing problems.

  3. 2.2.1 – 2.2.22 releases, no release note

44 other lines we could not sort, mostly version bumps
  • Updated TypeScript patch to cover TypeScript 4.4.

    2.4.3
  • Updated TypeScript patch to cover TypeScript 4.3.

    2.4.2
  • The release of TypeScript 4.2 couldn't be installed due to patch conflicts. This is now fixed. This version only includes a fix specific to 4.2, but future Yarn releases starting from 3.0 will be more tolerant of this kind of situation and won't cause such errors.

    2.4.1
  • The resolution pipeline got reimplemented. We previously used a multi-pass approach where we performed SAT optimization between each pass, but after investigating it turned out the SAT optims had little impact and added performance bottlenecks. We now run the resolution using a much simpler and more efficient algorithm.

    2.4.0
  • Linkers can now define custom data to cache between Yarn invocations. The builtin linkers new use those new capabilities to cache package information that can't change between runs. In practice, this translates into much faster recurrent installs (when running an install that adds few new packages, if any).

    2.4.0
  • Warnings are now reported when packageExtensions rules are either unused or redundant with the original package definition.

    2.4.0
  • Potentially breaking, but it was intended this way from the start: the packageExtensions field cannot be used to replace dependencies anymore (only to add missing ones). Prefer using the resolutions field to replace existing ones.

    2.4.0
  • Progress bars are rendered less often, which should help performances on some terminals.

    2.4.0
  • Aliased packages no longer include themselves in node_modules installs

    2.4.0
  • The upgrade-interactive command will now only show upgrade suggestions for packages that have available upgrades (rather than all of them).

    2.4.0

1 internal line (docs, tests, tooling) left out.

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.