Skip to content

Latest commit

 

History

History
227 lines (114 loc) · 10.2 KB

CHANGELOG.md

File metadata and controls

227 lines (114 loc) · 10.2 KB

Changelog

Please add one entry in this file for each change in Yarn's behavior. Use the same format for all entries, including the third-person verb. Make sure you don't add more than one line of text to keep it clean. Thanks!

Master

  • Fix yarn upgrade --scope when using exotic (github) dependencies.

    #7017 - Jeff Valore

  • Fixes occasionally mismatching upper/lowecases of drive letters in win32 pnp check

    #7007 - Christoph Werner

  • Fixes the error reporting for non-HTTP network errors (such as invalid certificates)

    #6968 - Chih-Hsuan Yen

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

    #6951 - John-David Dalton

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

    #6983 - Micha Reiser

1.14.0

  • Improves PnP compatibility with Node 6

    #6871 - Robert Jackson

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

    #6878 - Maël Nison

  • Fixes an interaction between yarn pack and bundled dependencies

    #6908 - Travis Hoover

  • Adds support for GITHUB_TOKEN in yarn policies set-version

    #6912 - Billy Vong

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

    #6882 - Zoran Regvart

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

    #6931 - Justin Sacbibit

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

    #6942 - John-David Dalton

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

    #6976 - Micha Reiser

1.13.0

  • Implements a new package.json field: peerDependenciesMeta

    #6671 - Maël Nison

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

    #6671 - Maël Nison

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

    #6673 - Maël Nison

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

    #6682 - Maël Nison

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

    #6683 - Rowan Lonsdale

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

    #6712 - Maël Nison

  • Fixes yarn audit exit code overflow

    #6748 - Andrey Vetlugin

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

    #6820 - Maël Nison

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

    #6816 - Maël Nison

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

    #6817 - Maël Nison

1.12.3

Important: This release contains a cache bump. It will cause the very first install following the upgrade to take slightly more time, especially if you don't use the Offline Mirror feature. After that everything will be back to normal.

  • Fixes an issue with yarn audit when using workspaces

    #6625 - Jeff Valore

  • Uses NODE_OPTIONS to instruct Node to load the PnP hook, instead of raw CLI arguments

    Caveat: This change might cause issues for PnP users having a space inside their cwd (cf nodejs/node#24065)

    #6479 - Maël Nison

  • Fixes Gulp when used with Plug'n'Play

    #6623 - Maël Nison

  • Fixes an issue with yarn audit when the root package was missing a name

    #6611 - Jack Zhao

  • Fixes an issue with yarn audit when a package was depending on an empty range

    #6611 - Jack Zhao

  • Fixes an issue with how symlinks are setup into the cache on Windows

    #6621 - Yoad Snapir

  • Upgrades inquirer, fixing upgrade-interactive for users using both Node 10 and Windows

    #6635 - Philipp Feigl

  • Exposes the path to the PnP file using require.resolve('pnpapi')

    #6643 - Maël Nison

1.12.2

This release doesn't actually exists and was caused by a quirk in our systems.

1.12.1

1.12.0

  • Adds initial support for PnP on Windows

    #6447 - John-David Dalton

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

    #6409 - Jeff Valore

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

    #6449 - Maël Nison

  • Makes the PnP hook inject a process.versions.pnp variable when setup (equals to VERSIONS.std)

    #6464 - Maël Nison

  • Disables by default (configurable) the automatic migration of the integrity field. It will be re-enabled in 2.0.

    #6465 - Maël Nison

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

    #6455 - Grey Baker

  • Prevents crashes when running yarn outdated and the NPM registry forgets to return the latest tag

    #6454 - mad-mike

  • Fixes yarn run when used together with workspaces and PnP

    #6444 - Maël Nison

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

    #6443 - Maël Nison