Packages

yarn

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

Upgrading yarn From 1.4.0 to 1.22.22

52 releases in betweennotes for 10

Reading releases, release notes and advisories…

Other targets from 1.4.0Clears its 5 advisories1.22.13
  1. 1.4.0yours
  2. 17 releases
  3. 1.15.0breaking
  4. 33 releases
  5. 1.22.22target
1+
change to make
5
advisories fixed
23+
new
39+
fixes

Counted from 10 of 52 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.4.0

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.15.1 – 1.22.2133 releases, no release note

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

  4. 1.14.0

    26 Jan 20191 new · 5 fixes
    • New

      Adds support for GITHUB_TOKEN in yarn policies set-version

    • Fixed

      Fixes PnP detection with workspaces (installConfig is now read at the top-level)

    • Fixed

      Fixes an interaction between yarn pack and bundled dependencies

    • Fixed

      Fixes an issue where resolve would forward an incomplete basedir to the PnP hook

    • Fixed

      Fixes the command that yarn unlink recommends to run as a followup (now yarn install --force)

    • Fixed

      Fixes a bug where os and platform requirements weren't properly checked when engines was missing

  5. 1.13.0

    18 Dec 20184 new · 3 fixes
    • New

      Implements a new package.json field: peerDependenciesMeta

    • New

      Adds an optional settings to peerDependenciesMeta to silence missing peer dependency warnings

    • New

      Implements yarn policies set-version [range]. Check the documentation for usage & tips.

    • New

      Adds transparent support for the resolve package when using Plug'n'Play

    • Fixed

      Fixes a resolution issue when a package had an invalid main entry

    • Fixed

      Fixes postinstall scripts for third-party packages when they were referencing a binary from their own dependencies

    • Fixed

      Fixes yarn audit exit code overflow

  6. 1.12.1 – 1.12.32 releases, no release note

  7. 1.12.0

    2 Oct 20183 new · 3 fixes
    • New

      Adds initial support for PnP on Windows

    • New

      Adds yarn audit (and the --audit flag for all installs)

    • New

      Adds a special logic to PnP for ESLint compatibility (temporary, until eslint/eslint#10125 is fixed)

    • Fixed

      Fixes the display name of the faulty package when the NPM registry returns corrupted data

    • Fixed

      Fixes yarn run when used together with workspaces and PnP

    • Fixed

      Fixes an edge case when peer dependencies were resolved multiple levels deep (webpack-dev-server)

  8. 1.10.1 – 1.11.13 releases, no release note

119 other lines we could not sort, mostly version bumps
  • Removes rootModuleFolders (internal variable which wasn't used anywhere)

    1.15.0
  • Makes yarn version cancellable via ctrl-c or empty string

    1.15.0
  • Changes the location where the --require ./.pnp.js flag gets added into NODE_OPTIONS: now at the front (bis)

    1.15.0
  • Packages won't be auto-unplugged anymore if ignore-scripts is set in the yarnrc file

    1.15.0
  • Run the engines check before executing run scripts.

    1.15.0
  • Improves PnP compatibility with Node 6

    1.14.0
  • Changes the location where the --require ./.pnp.js flag gets added into NODE_OPTIONS: now at the front

    1.14.0
  • Decreases the size of the generated $PATH environment variable for a better Windows support

    1.13.0
  • Stops automatically unplugging packages with postinstall script when running under --ignore-scripts

    1.13.0
  • Properly reports the error codes when the npm registry throws 500's

    1.13.0

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