v0.22.0

yarnpkg/yarnv0.22.0Mar 6, 2017by bestander

AI Summary

Focuses on concurrency improvements, Windows-specific fixes, and basic CLI enhancements.

Key Highlights

  • Set default network concurrency to 8
  • Implemented mutex system for consistent bin links on Windows
  • Add `--non-interactive` flag for automated processes
  • Sort outdated packages by name

New Features

  • Default network concurrency
  • Mutex system for Windows
  • Non-interactive flag
  • Docker image support
  • v8-compile-cache
  • skip-integrity-check flag for install command

Full Release Notes

    

* __handle process.stdin exceptions__

    [Scott Addie](mailto:tobias.addie@gmail.com) - Sun, 5 Mar 2017 14:39:02 -0800
    
        

* __Upgrade camelcase + flow and specify supported engines (#2812)__

    [Tim van der Lippe](mailto:TimvdLippe@users.noreply.github.com) - Fri, 3 Mar 2017 11:40:51 +0000
    
    

* __set default network concurrency to 8 (#2829)__

    [Konstantin Raev](mailto:bestander@gmail.com) - Fri, 3 Mar 2017 10:12:33 +0000
    
    

* __Mention yarnpkg/rfcs in CONTRIBUTING, README and PULL_REQUEST_TEMPLATE. (#2820)__

    [Tim Oxley](mailto:secoif@gmail.com) - Fri, 3 Mar 2017 00:34:46 +0000
    
    Improves discoverability of yarnpkg/rfcs

* __Adds versioning to the cache path (#2768)__

    [Maël Nison](mailto:nison.mael@gmail.com) - Thu, 2 Mar 2017 17:38:14 +0000
    

* __Correctly resolve peerDependencies for concurrent installs (#2801)__

    [Kamil Ogórek](mailto:kamil.ogorek@gmail.com) - Tue, 28 Feb 2017 14:20:13 +0000
    
  

* __Remove linter warnings (#2797)__

    [Hendrik Purmann](mailto:h.purmann@googlemail.com) - Tue, 28 Feb 2017 11:59:02 +0000
    
    

* __Installing git-ssh dependency should resolve to offline mirror (#2775)__

    [Albert Fernández](mailto:albert@nandez.cat) - Tue, 28 Feb 2017 00:09:30 +0000
    
    

* __Implemented mutex system to make bin links be generated consistently in Windows (#2795)__

    [Daniel Rey López](mailto:daniel.rey.lopez@gmail.com) - Mon, 27 Feb 2017 23:51:08 +0000
    
    

* __Update jest to version 19 (#2778)__

    [Hendrik Purmann](mailto:h.purmann@googlemail.com) - Mon, 27 Feb 2017 23:08:27 +0000
    
    Unfortunately this doesn't work in node7 but seems to be a bug in jest. It
    stops execution when testing remove, though returning a 0 exit code.

* __added unit tests for package-hoister (#2736)__

    [Jeff Valore](mailto:rally25rs@yahoo.com) - Mon, 27 Feb 2017 17:40:55 +0000
    
  
* __`yarn upgrade` packages via protocol (#2780)__

    [Juan Carlos Medina](mailto:juanca.med@gmail.com) - Mon, 27 Feb 2017 17:08:05 +0000
  

* __fix errors thrown if symlink source does not exist (#2744)__

    [Petr Kosikhin](mailto:mq3_storm@mail.ru) - Mon, 27 Feb 2017 15:07:26 +0000
    
    

* __Use `Object.assign` over `defaults`. (#2687)__

    [wtgtybhertgeghgtwtg](mailto:wtgtybhertgeghgtwtg@gmail.com) - Mon, 27 Feb 2017 11:32:25 +0000
    
    

* __Add —non-interactive flag for automated processes (#2770)__

    [Matt Adam](mailto:matt@buddybuild.com) - Sun, 26 Feb 2017 16:24:29 +0000
    
      

* __Added yarnpkg.cmd batch shim for backwards-compatibility on Windows (#2534) (#2746)__

    [Aaron Harris](mailto:contactaaronh@gmail.com) - Sat, 25 Feb 2017 00:56:11 -0800
    
    

* __Add filename output to parse errors (#2761)__

    [Dawson Botsford](mailto:dawsonbotsford@gmail.com) - Fri, 24 Feb 2017 11:46:39 +0000
    
    

* __Enabled skip-integrity-check flag for install command (#2765)__

    [Konstantin Raev](mailto:bestander@gmail.com) - Thu, 23 Feb 2017 16:15:52 +0000
    
    * Enabled skip-integrity-check flag for install command
     Sometimes you need to run full install even if integrity check returns OK.
      

* __Add v8-compile-cache (#2749)__

    [Andres Suarez](mailto:zertosh@gmail.com) - Thu, 23 Feb 2017 14:02:01 +0000
    
    

* __Sort outdated packages by name, fixes #2513 (#2759)__

    [Hendrik Purmann](mailto:h.purmann@googlemail.com) - Thu, 23 Feb 2017 13:59:01 +0000
    
    This is the same npm does when calling `npm outdated`.

* __Fix inaccurate peer dependency warning on upgrade (#2704) (#2733)__

    [Matt Swensen](mailto:swensen.matthew@gmail.com) - Thu, 23 Feb 2017 11:10:53 +0000
    
    

* __skip test in __tests__/index.js for win32 platform: it does some tricks in bash, it does not work with powershell (#2748)__

    [Simon Vocella](mailto:voxsim@gmail.com) - Wed, 22 Feb 2017 09:44:18 +0000
    
    

* __Unescapes ESC character, fixing #2439 (#2745)__

    [Maël Nison](mailto:nison.mael@gmail.com) - Tue, 21 Feb 2017 18:19:33 +0000
    
    

* __Refactoring cli index (#2613)__

    [Simon Vocella](mailto:voxsim@gmail.com) - Mon, 20 Feb 2017 16:17:05 +0000
    
    * add tests to cover almost every cli parsing case and add docs info for
    `command --help`
    
    * extract help command
    

* __install package with file: protocol as default if it exists in the filesystem (#2723)__

    [Simon Vocella](mailto:voxsim@gmail.com) - Mon, 20 Feb 2017 16:00:22 +0000
    
    

* __fixed import version for not installed dependencies (#2731)__

    [Konstantin Raev](mailto:bestander@gmail.com) - Mon, 20 Feb 2017 13:18:57 +0000
    
    

* __[Chocolatey] Add `UseBasicParsing` to Invoke-WebRequest so it works in environments without the MSIE engine available (#2726)__

    [Daniel Lo Nigro](mailto:daniel@dan.cx) - Sun, 19 Feb 2017 16:06:31 -0800
    
    

* __Add global upgrade-interactive command (#2021) (#2689)__

    [Victor Noël](mailto:victornoel@users.noreply.github.com) - Sun, 19 Feb 2017 22:53:37 +0000
    
    

* __Fix tests when path location of yarn contains spaces (#2700)__

    [Keraito](mailto:dragoon_v2_chak_shun@hotmail.com) - Sun, 19 Feb 2017 22:52:00 +0000
    
    

* __Remove logic for loading self-update versions (#2720)__

    [Daniel Lo Nigro](mailto:daniel@dan.cx) - Sun, 19 Feb 2017 22:46:11 +0000
    
    

* __Create Docker image for Node.js + Yarn (#2721)__

    [Daniel Lo Nigro](mailto:daniel@dan.cx) - Sat, 18 Feb 2017 17:22:30 -0800
    
    * Create Docker image for Node.js + Yarn
    
    * Fix comment in Dockerfile.node7
    

* __Prioritise popular transitive dependencies when hoisting (#2676)__

    [Sebastian McKenzie](mailto:kittens@users.noreply.github.com) - Wed, 15 Feb 2017 15:35:43 +0000