@yarnpkg/shell
4.1.4 · 21 Nov 2026BSD-2-Clause1.2M / weekRepositorynpmAtom feed
Upgrading @yarnpkg/shell From 2.2.0 to 2.4.1
3 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
2.4.0 – 2.4.12 releases, nothing new or fixed in the notes
- 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
41 other lines we could not sort, mostly version bumps
- 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). - 2.4.0
The
upgrade-interactivecommand has received UI improvements that should make it easier to look at. - 2.4.0
The
yarn workspaces focuscommand will now only run thepostinstallscripts for the focused workspaces.
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.