yarn
1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed
Upgrading yarn From 1.12.0 to 1.22.13
30 releases in betweennotes for 8
Reading releases, release notes and advisories…
Counted from 8 of 30 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking1.15.0
Security
Fixes 5 advisories affecting 1.12.0
- Yarn Improper link resolution before file access (Link Following)high · GHSA-5xf4-f2fq-f69j
- Path Traversal in Yarnhigh · GHSA-8mfc-v7wv-p62g
- TOCTOU Race Condition in Yarnmoderate · GHSA-hjxc-462x-x77j
- Yarn untrusted search path vulnerabilityhigh · GHSA-mpwj-fcr6-x34c
- Missing Encryption of Sensitive Data in yarnhigh · GHSA-wqfc-cr59-h64p
- 1.19.0
Fixes a potential vulnerability regarding how the build artifacts are stored
Release by release
1.22.1 – 1.22.1311 releases, no release note
- New
Allows some dots in binary names again
- New
Implements
yarn init -2 - New
Implements
yarn set version <version>as an alias forpolicies set-version - Fixed
Fixes an issue where the archive paths were incorrectly sanitized
- New
1.19.1 – 1.21.14 releases, no release note
- Security
Fixes a potential vulnerability regarding how the build artifacts are stored
- Security
- New
Adds support for reading
yarnPathfrom v2-produced.yarnrc.ymlfiles. - Fixed
Fixes the offline mirror filenames when using Verdaccio
- Fixed
Fixes using
link:.to refer to the package folder - Fixed
Fixes the
postversionlifecycle method not being called when using--no-git-tag-version.
- New
1.17.1 – 1.17.33 releases, no release note
- New
Adds prereleases flags and prerelease identifier to
yarn version. - New
Adds support for the
--offlineflag toyarn global add - Fixed
Fixes audits when used with
yarn add&yarn upgrade - Fixed
Fixes a bug when using the
link:protocol with a folder that doesn't contain apackage.json
- New
- New
Implements
yarn audit --level [severity]flag to filter the audit command's output. - New
Implements
yarn audit --groups group_name [group_name ...]. - New
Exposes the script environment variables to
yarn createspawned processes. - New
Adds support for the npm enterprise URLs when computing the offline mirror filenames.
- New
21 other lines we could not sort, mostly version bumps
- 1.22.0
Better error handling on
yarn set version - 1.22.0
Passes arguments following
--when running a workspace script (yarn workspace pkg run command -- arg) - 1.18.0
Suggests using the Yarn 2 development trunk on PnP-enabled projects
- 1.18.0
Preserves linked packages when calling
yarn create - 1.18.0
Runs the
preparelifecycle of git dependencies even ifNODE_ENVis set toproduction. - 1.18.0
Ignores potentially large vscode keys in package.json to avoid E2BIG errors.
- 1.18.0
Enforces https for the Yarn and npm registries.
- 1.17.0
Yarn will tolerate Yaml at parse time. Full support isn't ready yet and will only come at the next major.
- 1.16.0
Retries downloading a package on
yarn installwhen we get a ETIMEDOUT error. - 1.16.0
Prevents EPIPE errors from being printed.
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.