Packages

@yarnpkg/cli

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

Upgrading @yarnpkg/cli From 4.5.1 to 4.18.1

26 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 4.5.1yours
  2. 9 releases
  3. 4.9.3breaking
  4. 15 releases
  5. 4.18.1target

Before you upgrade

Tick each one off as you go
  • Breaking4.9.3

Release by release

  1. 4.18.1

    24 Sep 20261 fix
    • Fixed

      core: Patch got to prevent crash on settled promise cancelation

  2. 4.18.0

    29 Jul 20261 new · 5 fixes
    • New

      nm: Avoid redundant package map sorting

    • Fixed

      nm: Prefer direct dependency binaries

    • Fixed

      Make sure hoistingLimits are not bypassed

    • Fixed

      Preserve root path in tryWorkspaceByCwd when cwd is /

    • Fixed

      extensions: Declare the typescript peer for the Volar packages

    • Fixed

      plugin-npm: Resolve "*" to prereleases when no stable version exists

  3. 4.17.1

    8 Jul 20261 fix
    • Fixed

      Handle optional compat patch failures for TypeScript 7

  4. 4.17.0

    15 Jun 20262 new · 2 fixes
    • New

      Adds support for package map generation

    • New

      plugin-npm: Allow npmMinimalAgeGate per npmScope

    • Fixed

      Add catalog settings to yarnrc schema

    • Fixed

      Explain peer-default dependencies in why

  5. 4.16.0

    2 Jun 20263 new · 1 fix
    • New

      Implements yarn npm stage

    • New

      Enables staged publishing

    • New

      Add editor SDK support for oxc (oxfmt & oxlint)

    • Fixed

      Stop using EBADF workaround for Node 24.16.0+

  6. 4.15.0

    19 May 20262 new · 5 fixes
    • New

      plugin-nm: Cache install state across workspaces

    • New

      plugin-pnpm: Make pnpm install concurrency configurable

    • Fixed

      fix(patch) Correctly handle Unicode paths

    • Fixed

      plugin-npm-cli: Enable OIDC publish on CircleCI

    • Fixed

      core: Ignore legacy YARN_IGNORE_SCRIPTS env var

    • Fixed

      Reject dependency names with leading/trailing whitespace (fixes duplicate installs)

    • Fixed

      PnP: Stop using EDABF solution for Node 26.1.0+

  7. 4.14.1

    17 Apr 20261 fix
    • Fixed

      Widen EBADF fstat version gate to include Node 24.15+

  8. 4.14.0

    16 Apr 20264 new · 3 fixes
    • New

      Add Re-release workflow to republish artifacts from a specific commit SHA

    • New

      plugin-npm: Support OIDC auth for CircleCI

    • New

      Adds approvedGitRepositories

    • New

      why: Allow specifying a version or range

    • Fixed

      Node 25.7+ EBADF by reading CJS source of zip files

    • Fixed

      PnP: Fix watch mode for files required under PnP

    • Fixed

      Names the Experimental ESM support warning

27 other lines we could not sort, mostly version bumps
  • Skip OTP prompts in non-TTY mode

    4.18.0
  • Version: Reimplement yarn version and yarn version apply

    4.18.0
  • PnP: Include Node 22.22.3 in fstat workaround

    4.16.0
  • Bumps eslint-plugin-arca

    4.16.0
  • Makes npmMinimalAgeGate: 1d the default

    4.15.0
  • Makes enableScripts: false the default

    4.14.0
  • Makes the exec: protocol respect enableScripts

    4.14.0
  • Core: Enhance environment variable expansion in configuration

    4.13.0
  • Improves 'yarn workspaces focus' tests

    4.11.0
  • Update README.md badge link

    4.11.0

31 internal lines (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.