Packages

@yarnpkg/cli

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

Upgrading @yarnpkg/cli From 3.8.7 to 4.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.8.7Latest4.18.1
  1. 3.8.7yours
  2. 4.0.0target

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
  • Breaking4.0.0

Release by release

  1. 4.0.0

    Migration needed22 Oct 202387 new · 146 fixes
    • Breaking

      patch: Improves patches

    • Breaking

      core: Rename caFilePath to httpsCaFilePath

    • Breaking

      Move getCustomDataKey to Linker

    • Breaking

      Set default nmMode to hardlinks-local

60 other lines we could not sort, mostly version bumps
  • Make the local cache opt-in (rather than opt-out)

    4.0.0
  • Removes the compatibility layer for Clipanion 2

    4.0.0
  • Improves boot time

    4.0.0
  • Prefer using exclusively Corepack when possible

    4.0.0
  • Soften CI coverage

    4.0.0
  • Normalizes dependencies

    4.0.0
  • Repairs yarn set version from sources from 3 to 4

    4.0.0
  • Yarn npm audit json exitcode

    4.0.0
  • Updates benchmark dependencies

    4.0.0
  • Use cygpath for MINGW (Git Bash)

    4.0.0

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