@yarnpkg/cli
4.18.1 · 24 Sep 2026BSD-2-Clause121.1k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/cli From 2.2.1 to 2.4.3
9 releases in betweennotes for 6
Reading releases, release notes and advisories…
Release by release
2.3.1 – 2.4.37 releases, nothing new or fixed; 2 without a note
- 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-moduleslinker, and that the strictly correct behavior can only be obtained by using the default Plug'n'Play linker. - Fixed
Fixes some pathological globbing problems.
- New
2.2.2no release note
44 other lines we could not sort, mostly version bumps
- 2.4.3
Updated TypeScript patch to cover TypeScript 4.4.
- 2.4.2
Updated TypeScript patch to cover TypeScript 4.3.
- 2.4.1
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.0
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
packageExtensionsrules 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
packageExtensionsfield cannot be used to replace dependencies anymore (only to add missing ones). Prefer using theresolutionsfield 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-interactivecommand will now only show upgrade suggestions for packages that have available upgrades (rather than all of them).
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.