@yarnpkg/cli
4.18.1 · 24 Sep 2026BSD-2-Clause121.1k / weekRepositorynpmAtom feed
Upgrading @yarnpkg/cli From 4.9.1 to 4.18.1
18 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 28
- new
- 44
- fixes
Before you upgrade
Tick each one off as you go- Breaking4.9.3
Release by release
- Fixed
core: Patch got to prevent crash on settled promise cancelation
- Fixed
- 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
typescriptpeer for the Volar packages - Fixed
plugin-npm: Resolve "*" to prereleases when no stable version exists
- New
- Fixed
Handle optional compat patch failures for TypeScript 7
- Fixed
- 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
- New
- 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+
- New
- 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+
- New
- Fixed
Widen EBADF fstat version gate to include Node 24.15+
- Fixed
- 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
- New
20 other lines we could not sort, mostly version bumps
- 4.18.0
Skip OTP prompts in non-TTY mode
- 4.18.0
Version: Reimplement
yarn versionandyarn version apply - 4.16.0
PnP: Include Node 22.22.3 in fstat workaround
- 4.16.0
Bumps eslint-plugin-arca
- 4.15.0
Makes
npmMinimalAgeGate: 1dthe default - 4.14.0
Makes
enableScripts: falsethe default - 4.14.0
Makes the
exec:protocol respectenableScripts - 4.13.0
Core: Enhance environment variable expansion in configuration
- 4.11.0
Improves 'yarn workspaces focus' tests
- 4.11.0
Update README.md badge link
22 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.