Packages

yarn

1.22.22 · 9 Mar 2024BSD-2-Clause13.9M / weekRepositoryHomepagenpmAtom feed

Upgrading yarn From 1.3.1 to 1.22.22

54 releases in betweennotes for 15

Reading releases, release notes and advisories…

Other targets from 1.3.1Clears its 5 advisories1.22.13
  1. 1.3.1yours
  2. 19 releases
  3. 1.15.0breaking
  4. 33 releases
  5. 1.22.22target
1+
change to make
5
advisories fixed
35+
new
53+
fixes

Counted from 15 of 54 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.3.1

Release by release

  1. 1.22.22

    9 Mar 20242 fixes
    • Fixed

      Fixes a punycode warning.

    • Fixed

      Fixes a hoisting issue when transitive dependencies themselves listed aliases as dependencies.

  2. 1.19.0 – 1.22.2125 releases, no release note

  3. 1.18.0

    23 Sep 20191 new · 3 fixes
    • New

      Adds support for reading yarnPath from v2-produced .yarnrc.yml files.

    • Fixed

      Fixes the offline mirror filenames when using Verdaccio

    • Fixed

      Fixes using link:. to refer to the package folder

    • Fixed

      Fixes the postversion lifecycle method not being called when using --no-git-tag-version.

  4. 1.17.1 – 1.17.33 releases, no release note

  5. 1.17.0

    14 Jun 20192 new · 2 fixes
    • New

      Adds prereleases flags and prerelease identifier to yarn version.

    • New

      Adds support for the --offline flag to yarn 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 a package.json

  6. 1.16.0

    29 Apr 20194 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 create spawned processes.

    • New

      Adds support for the npm enterprise URLs when computing the offline mirror filenames.

  7. 1.15.1 – 1.15.22 releases, no release note

  8. 1.15.0

    Migration needed8 Mar 20193 new · 7 fixes
    • Breaking

      Removes --scripts-prepend-node-path as Yarn's default behavior makes this obsolete

    • New

      Adds support for setting global-folder from .yarnrc files

    • New

      Adds support for yarn policies set-version berry

    • New

      Enables displaying Emojis on Terminus by default

164 other lines we could not sort, mostly version bumps
  • 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 prepare lifecycle of git dependencies even if NODE_ENV is set to production.

    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.18.0
  • Yarn will tolerate Yaml at parse time. Full support isn't ready yet and will only come at the next major.

    1.17.0
  • Retries downloading a package on yarn install when we get a ETIMEDOUT error.

    1.16.0
  • Prevents EPIPE errors from being printed.

    1.16.0
  • Tweaks the lockfile parser logic to parse a few extra cases

    1.16.0
  • Removes rootModuleFolders (internal variable which wasn't used anywhere)

    1.15.0

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