Packages

@yarnpkg/shell

4.1.4 · 21 Nov 2026BSD-2-Clause1.2M / weekRepositorynpmAtom feed

Upgrading @yarnpkg/shell From 3.2.1 to 4.1.4

13 releases in betweennotes for 7

Reading releases, release notes and advisories…

Other targets from 3.2.1Newest 3.x3.3.0
  1. 3.2.1yours
  2. 5 releases
  3. 4.0.0major
  4. 6 releases
  5. 4.1.4target
  6. 30 pre
9+
changes to make
0
advisories fixed
6+
new
16+
fixes

Counted from 7 of 13 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking4.0.0

Release by release

  1. 4.1.1 – 4.1.44 releases, no release note

  2. 4.1.0

    14 Sep 20241 new · 7 fixes
    • New

      Adds a new --json option to yarn run when called without script name

    • Fixed

      Fixes node-modules linker link: dependencies mistreatment as inner workspaces, when they point to a parent folder of a workspace

    • Fixed

      Fixes spurious "No candidates found" errors

    • Fixed

      Fixes missing executable permissions when using nodeLinker: pnpm

  3. 4.0.2no release note

  4. 4.0.1

    2 May 20241 new · 6 fixes
    • New

      Implements back the yarn explain peer-requirements command

    • Fixed

      Fixes creation of symlinks for node-modules linker when inner workspace depends on outer workspace

    • Fixed

      Fixes progress bars when the terminal is too large

    • Fixed

      Fixes crashes while running Yarn within Docker within GitHub Actions

    • Fixed

      Fixes yarn npm audit --ignore NUM which didn't apply to deprecations

    • Fixed

      Fixes yarn npm audit --json which didn't print the right output format

    • Fixed

      Fixes an incorrect type export in @yarnpkg/core

  5. 4.0.0

    Migration needed22 Oct 20234 new · 2 fixes
    • Breaking

      With Node.js 16's now being End of Life'd, we dropped support for Node.js versions lower than 18.12.

    • Breaking

      All official Yarn plugins are now included by default in the bundle we provide. You no longer need to run yarn plugin import for official plugins (you still need to do it for third-party plugins, of course).

    • Breaking

      preferAggregateCacheInfo has been removed (it's now always on)

    • Breaking

      pnpDataPath has been removed to adhere to our new PnP specification. For consistency, all PnP files will now be hardcoded to a single value so that third-party tools can implement the PnP specification without relying on the Yarn configuration.

  6. 3.2.4 – 3.3.03 releases, nothing new or fixed; 1 without a note

  7. 3.2.3

    21 Jul 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.

  8. 3.2.2nothing new or fixed in the note

60 other lines we could not sort, mostly version bumps
  • Tweaks -,--verbose in yarn workspaces foreach; -v will now only print the prefixes, -vv will be necessary to also print the timings.

    4.1.0
  • yarn init and yarn set version will prefer using packageManager rather than yarnPath when possible (when they detect COREPACK_ROOT in your environment variables).

    4.0.0
  • yarn init will no longer use zero-install by default. You still can enable it, but it should make it easier to start one-of projects without having to rewrite the configuration afterwards.

    4.0.0
  • yarn workspaces foreach now requires one of --all, --recursive, --since, or --worktree to be explicitly specified; the previous default was --worktree, but it was rarely what users expected.

    4.0.0
  • compressionLevel now defaults to 0 rather than mixed. It's been proved significantly faster on installs, and the size impact was reasonable enough to change the default. Note that it benefits you even if you use Zero-Installs: as per our tests, a zero-compression is actually easier to handle for Git (you can see by yourself with those examples using compressionLevel: 0 vs compressionLevel: mixed).

    4.0.0
  • Packages added and removed from the lockfile are now explicitly reported.

    4.0.0
  • Fluctuations in the project cache size are now reported as a single line.

    4.0.0
  • Unactionable warnings (node-gyp and transitive peer dependency errors) have been removed.

    4.0.0
  • Skipped builds are now only reported during initial installs and manual yarn rebuild calls.

    4.0.0
  • The Yarn version is now displayed on installs to help us investigate issues when reported as screenshots.

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