v1.7.0

yarnpkg/yarnv1.7.0May 23, 2018by DanBuild

AI Summary

Focuses on Node 10 support, workspaces, and improvements to lockfile generation and dependency management.

Key Highlights

  • Add Node 10 support
  • Focused workspaces
  • Generate an empty lockfile when there are no dependencies
  • Convert package-lock.json to yarn.lock

New Features

  • Generate an empty lockfile when there are no dependencies
  • focused workspaces
  • Implement an optional parameter support to `yarn bin`

Full Release Notes

* __v1.7.0__

    [](mailto:byk@BYK-OCULUSRAZER.TheFacebook.com) - Wed, 23 May 2018 21:55:56 +0100

* __chore: Remove unused constants (#5830)__

    [Masato Ohba](mailto:masato.ohba@quipper.com) - Wed, 23 May 2018 15:59:05 +0100

* __feat(cli): Generate an empty lockfile when there are no dependencies (#5843)__

    [Jimmy Chan](mailto:jimmyhchan@users.noreply.github.com) - Wed, 23 May 2018 14:54:20 +0100

* __fix: Add Node 10 support (#5769)__

    [Aram Drevekenin](mailto:grimsniffer@gmail.com) - Wed, 23 May 2018 11:16:38 +0100

* __fix(run): Fix custom shell execution (#5851)__

    [Jeff Valore](mailto:rally25rs@yahoo.com) - Tue, 22 May 2018 20:35:25 +0100

* __focused workspaces (#5663)__

    [Bryan Wain](mailto:bryandwain@gmail.com) - Thu, 17 May 2018 10:42:50 -0700

* __feat(import): convert package-lock.json to yarn.lock (#5745)__

    [Aram Drevekenin](mailto:grimsniffer@gmail.com) - Thu, 17 May 2018 12:47:55 +0200

* __Fix #5517: Backlashes in output fail for escape sequences in Windows (#5792)__

    [An Thien Tran](mailto:tranthienan.90@gmail.com) - Sun, 13 May 2018 18:49:42 +0100

* __fixes ignored folders in prebuilt packages feature of offline mirror (#5793)__

    [Konstantin Raev](mailto:bestander@gmail.com) - Tue, 8 May 2018 18:58:23 -0700

* __Fix #5776: CLI switch "--scripts-prepend-node-path" doesn't work (#5787)__

    [brainfish](mailto:4543871+brainfish@users.noreply.github.com) - Sun, 6 May 2018 12:36:24 +0100

* __Excluded shebang for lockfile package (#5788)__

    [Anton Alexandrenok](mailto:antonalexandrenok@gmail.com) - Sun, 6 May 2018 12:34:07 +0100

* __Show error message to user when publishing fails (#5771)__

    [sth](mailto:sth.dev@tejp.de) - Wed, 2 May 2018 15:03:20 +0100

* __fix(deps): update dependency fs-extra to v6 (#5767)__

    [renovate[bot]](mailto:renovate[bot]@users.noreply.github.com) - Wed, 2 May 2018 15:02:43 +0100

* __chore(deps): update deprecated deps for node 10 (#5763)__

    [Aram Drevekenin](mailto:grimsniffer@gmail.com) - Mon, 30 Apr 2018 23:16:29 +0100

* __fix(tar): Upgrade tar-fs and tar-stream to fix warnings on Node 10 (#5752)__

    [Burak Yiğit Kaya](mailto:ben@byk.im) - Sat, 28 Apr 2018 20:50:21 +0100

* __fix(run): yarn run should never prompt when non-interactive (#5694)__

    [peijiesim](mailto:peijiesim@berkeley.edu) - Thu, 26 Apr 2018 19:11:48 +0100

* __feat(bin): Implement an optional parameter support to `yarn bin` (#5739)__

    [Maël Nison](mailto:nison.mael@gmail.com) - Thu, 26 Apr 2018 18:45:12 +0100

* __Add error when attempting to remove dependency from workspace root and add -W flag (#5737)__

    [Jake Moxey](mailto:jakemoxey@gmail.com) - Thu, 26 Apr 2018 18:39:58 +0100

* __Adds the directory that contains Node to the PATH (#5743)__

    [Maël Nison](mailto:nison.mael@gmail.com) - Thu, 26 Apr 2018 18:38:29 +0100

* __fix #5729: replace dependency on deepequal with deep-equal (#5742)__

    [simevo](mailto:github@simevo.com) - Thu, 26 Apr 2018 16:03:53 +0100

* __fix(publish): Run pre and postpack lifecycle scripts on publish (#5712)__

    [Jeff Valore](mailto:rally25rs@yahoo.com) - Thu, 26 Apr 2018 12:27:17 +0100

* __fix(console-reporter): Fix issue where tree logger was ignoring --silent/-s flag (#5722)__

    [Jake Moxey](mailto:jakemoxey@gmail.com) - Thu, 26 Apr 2018 12:01:52 +0100

* __fix: Remove usage of deprecated Buffer constructor. (#5477) (#5731)__

    [aduh95](mailto:duhamelantoine1995@gmail.com) - Thu, 26 Apr 2018 11:51:36 +0100

* __fix(publish): Fixes the path parameter when specifying a dir to publish. (#5711)__

    [Jeff Valore](mailto:rally25rs@yahoo.com) - Mon, 23 Apr 2018 17:12:56 +0100

* __test(init): Fix flaky init test which used snapshots w/ concurrent (#5700)__

    [Burak Yiğit Kaya](mailto:ben@byk.im) - Thu, 19 Apr 2018 10:04:58 +0100

* __fix(build): Stop scripts from trying to read user input during install (#5632)__

    [Rebecca Turner](mailto:me@re-becca.org) - Wed, 18 Apr 2018 23:05:10 +0100

* __adding resolutions should cause lockfile regeneration (#5603)__

    [Max Burmagin](mailto:mhmad.hamster@gmail.com) - Wed, 18 Apr 2018 17:36:19 +0100

* __Make secureGitUrl() warn for insecure Urls (#5424)__

    [sth](mailto:sth.dev@tejp.de) - Wed, 18 Apr 2018 17:33:50 +0100

* __fix(resolution): Prevent duplicate patterns in PackageResolver patternsByPackage array (#5681)__

    [Jeff Valore](mailto:rally25rs@yahoo.com) - Wed, 18 Apr 2018 17:29:44 +0100

* __fix(config): allow binLinks to be set in .yarnrc (#5113)__

    [Ian Sutherland](mailto:ian@iansutherland.ca) - Wed, 18 Apr 2018 10:00:12 +0100

* __test: Fix failing tests on master (#5687)__

    [Burak Yiğit Kaya](mailto:ben@byk.im) - Tue, 17 Apr 2018 17:52:20 +0100

* __chore(release): Add changelog script (#5677)__

    [Maël Nison](mailto:nison.mael@gmail.com) - Mon, 16 Apr 2018 17:04:59 +0100

* __fix(resolution): Allow github dependency refs of type "#pull/1/head" (#5673)__

    [Jeff Valore](mailto:rally25rs@yahoo.com) - Sun, 15 Apr 2018 22:02:18 +0100

* __feat(version): Added semver versioning flags to version command (#5670)__

    [Brendan Warkentin](mailto:faazshift@gmail.com) - Sun, 15 Apr 2018 16:55:28 -0400

* __chore(request): Add an `unfiltered` option to getting full responses from npm (#5667)__

    [Burak Yiğit Kaya](mailto:ben@byk.im) - Sun, 15 Apr 2018 21:55:03 +0100

* __fix(owner): Fix the currently broken `yarn owner` command (#5593)__

    [Rubycut](mailto:hrvoje.marjanovic@gmail.com) - Fri, 13 Apr 2018 17:16:57 +0100

* __fix(run): Remove notice and licenseText fields from `npm_package_*` (#5666)__

    [Burak Yiğit Kaya](mailto:ben@byk.im) - Fri, 13 Apr 2018 16:21:34 +0100

* __feat(run): Set `INIT_CWD` in environment (#5656)__

    [Dimitar Nestorov](mailto:dimitarnestorov@users.noreply.github.com) - Fri, 13 Apr 2018 11:52:28 +0100

* __feat(version): Ability to disable commit hooks on versioning (#5640)__

    [Brendan Warkentin](mailto:faazshift@gmail.com) - Fri, 13 Apr 2018 09:59:08 +0100

* __fix(upgrade): Fix for pattern not working with upgrade (#5662)__

    [Phil Quinn](mailto:philquinn90@gmail.com) - Thu, 12 Apr 2018 18:17:33 -0400

* __chore(deps): update dependency eslint-plugin-babel to ^5.0.0 (#5647)__

    [renovate[bot]](mailto:renovate[bot]@users.noreply.github.com) - Thu, 12 Apr 2018 11:17:25 +0100

* __chore(deps): update dependency validate-npm-package-license to ^3.0.3 (#5626)__

    [Quentin Dreyer](mailto:quentin.dreyer@gmail.com) - Thu, 12 Apr 2018 10:50:21 +0100

* __Remove yarn-e2e from Jenkins (#5651)__

    [Daniel Lo Nigro](mailto:daniel@dan.cx) - Wed, 11 Apr 2018 22:06:33 -0700

* __ci(renovate): Disable Renovate Docker support (#5646)__

    [Burak Yiğit Kaya](mailto:ben@byk.im) - Wed, 11 Apr 2018 07:59:38 -0700