v1.3.0

yarnpkg/yarnv1.3.0Nov 1, 2017by arcanis

AI Summary

Introduces Node native module rebuilding on version changes and improves Git URL and terminal support.

Key Highlights

  • Node native modules will now be rebuilt when the Node version changes
  • Supports more Git URLs than before
  • Nested Yarn commands will now print their output as expected
  • Adds a `yarn-init-private` setting option

New Features

  • Node native modules will now be rebuilt when the Node version changes
  • Adds a `yarn-init-private` setting option

Full Release Notes

*Warning: this release might require you to update your Git version to >=2.13.0 (#4806)*

* __Prevents a warning from being displayed on Node 9+ (#4816)__

    [Thomas Grainger](https://github.com/graingert)

* __Fixes progress display on non-color tty (#4697)__

    [Nick Holloway](mailto:nick.holloway@pyrites.org.uk)

* __Fix a bug where empty strings were converted into the cwd (#4700)__

    [Jeff Valore](https://github.com/rally25rs)

* __The `create` command now correctly forwards its arguments, like `run` (#4713)__

    [Pig Fang](mailto:g-plane@hotmail.com)

* __Uses exact filenames into the autoclean file rather than a full yml blacklisting (#4724)__

    [Lewis Zhang](mailto:lewiszhang@gmail.com)

* __Updates the fallback cache path to use a per-user cache (#4802)__

    [Maël Nison](mailto:nison.mael@gmail.com)

* __Uses the `latest` tag when resolving the default version (#4804 / #4797)__

    [Jeff Valore](https://github.com/rally25rs) / [Nick Holloway](mailto:nick.holloway@pyrites.org.uk)

* __Adds a `yarn-init-private` setting option (#4377)__

    [Pierre Neter](mailto:pierreneter@gmail.com)

* __Fixes an issue causing some terminals to glitch because of the progress bar (#4742)__

    [Nick Holloway](mailto:nick.holloway@pyrites.org.uk)

* __Nested Yarn commands will now print their output as expected, but without the header and footer (they were previously completely silent) (#4811)__

    [sth](https://github.com/sth)

* __Fix an issue where Yarn wouldn't work correctly with Plink (#4806)__

    [Krzysztof Zbudniewek](mailto:krzysztof.zbudniewek@gmail.com)

* __Yarn should no longer remove the symlinks when relinking the node_modules (#4757)__

    [Carlos Ravelo](mailto:ravelo.carlos@gmail.com)

* __Yarn should now be able to support more Git urls than before (#4759)__

    [Johannes Emerich](https://github.com/knuton)

* __Node native modules will now be rebuilt when the Node version changes (#4750)__

    [Roman Schejbal](https://github.com/romanschejbal)

* __Yarn now supports the `${HOME}` variable when used inside a npmrc file__

    [Josh Kelley](https://github.com/joshkel)

* __Fixes how binary links are generated when installing from inside a workspace (#4730)__

    [John Gozde](https://github.com/jgoz)