Skip to content

v0.17.0

Compare
Choose a tag to compare
@bestander bestander released this 14 Nov 17:06
· 1285 commits to master since this release
  • Replace .includes with .indexOf for older Node 4 versions (#1813)

    Neil Kistner - Mon, 14 Nov 2016 10:37:01 -0600

  • Add support for 'ca' config file option (#1742)

    vvm-broadsoft - Mon, 14 Nov 2016 14:08:37 +0000

  • Allow token replacement of .npmrc configuration with env vars (#1207)

    Chris Trevino - Mon, 14 Nov 2016 13:16:59 +0000

  • Fix yarn ls [package] command to filter properly (#1792)

    Neil Kistner - Mon, 14 Nov 2016 10:12:25 +0000

  • making link command warn instead of throw an error if (#1793)

    Jake Goldsborough - Mon, 14 Nov 2016 10:11:58 +0000

    link is already registered

  • Fix yarn run [script] [-- <args>] command usage (#1788)

    Neil Kistner - Mon, 14 Nov 2016 10:09:25 +0000

  • Update outdated condition in upgrade-interactive (#1791)

    Rifat Nabi - Mon, 14 Nov 2016 10:09:08 +0000

  • Fix cli aliases test (#1789)

    Neil Kistner - Fri, 11 Nov 2016 13:20:29 -0600

  • rename update command to upgrade-interactive

    Sebastian McKenzie - Fri, 11 Nov 2016 18:40:22 +0000

  • Make existence of manifest optional when performing lifecycle wrapping - fixes #1747 (#1787)

    Sebastian McKenzie - Fri, 11 Nov 2016 18:38:19 +0000

  • fix readme detection (#1533)

  • Delay visibility propagation until deps are known (#1739)

    Jan Olaf Krems - Fri, 11 Nov 2016 18:33:27 +0000

    Fixes #761

  • lockfile is rewritten only if there are substantial changes (#1712)

    Konstantin Raev - Thu, 10 Nov 2016 17:26:28 +0000

  • Fix: Need to remove file: from the prefix, not the suffix. (#1775)

    shahmirn - Thu, 10 Nov 2016 16:30:19 +0000

  • Fixed integrity hash generation for add command (#1757)

    Konstantin Raev - Thu, 10 Nov 2016 16:03:26 +0000

  • Use deterministic sort (fixes #1308) (#1755)

    Andres Suarez - Thu, 10 Nov 2016 10:55:53 +0000

  • made integrity hash to be generated based on lockfile entries, not lockfile content (#1708)

    Konstantin Raev - Wed, 9 Nov 2016 15:29:04 +0000

  • Create blank package.json during end-to-end tests to work around #1747 (#1748)

    Daniel Lo Nigro - Tue, 8 Nov 2016 21:46:17 -0800

  • Fix --mutex (#1717)

    Peter Ebden - Mon, 7 Nov 2016 14:58:40 +0000

  • add depth specification to ls (#1463)

    Nick Olinger - Mon, 7 Nov 2016 08:08:43 -0600

  • Change all console format grey to dim fixes #1699 (#1702)

    Aaron Tribou - Sun, 6 Nov 2016 14:37:43 -0800

    Add updated jest snapshot for ConsoleReporter

  • Fix yarn outdated when current is greater than latest (#1696)

    Neil Kistner - Sun, 6 Nov 2016 17:38:00 +0000

  • Fix flags for yarn add command (#1701)

    Neil Kistner - Sun, 6 Nov 2016 17:05:32 +0000

  • Fix yarn upgrade <package> command to store version in lockfile (#1691)

    Neil Kistner - Fri, 4 Nov 2016 17:51:58 +0000

  • support yarn-offline-mirror in .yarnrc (#1131)

    Stephan Schneider - Fri, 4 Nov 2016 15:45:13 +0000

  • fix bugs with hash cache folder names

    Sebastian McKenzie - Fri, 4 Nov 2016 14:57:37 +0000

  • Prevent parallel writes to the same destination (#1665)

    enoshixi - Fri, 4 Nov 2016 13:43:13 +0000

  • Use ~/.config/yarn and ~/.cache/yarn on Unix systems - fixes #1672 (#1679)

    Sebastian McKenzie - Fri, 4 Nov 2016 13:41:34 +0000

  • Properly save dependency with yarn upgrade [dependency] command (#1620)

    Neil Kistner - Fri, 4 Nov 2016 13:28:14 +0000

  • Add remote hash to cache folder name to prevent registry collisions (#1641)

    Sebastian McKenzie - Fri, 4 Nov 2016 10:16:25 +0000

  • Add --no-bin-links flag - fixes #929 (#1651)

    Sebastian McKenzie - Thu, 3 Nov 2016 16:32:02 +0000

  • Add option to change the prefix of the global bin folder - fixes #630 (#1654)

    Sebastian McKenzie - Thu, 3 Nov 2016 16:31:53 +0000

  • patterns -> filteredPatterns

    Sebastian McKenzie - Thu, 3 Nov 2016 14:34:22 +0000

  • Change reporter.log to console.log in generate-lock-entry command - fixes #644 (#1652)

    Sebastian McKenzie - Thu, 3 Nov 2016 14:05:36 +0000

  • Fixed add command flag (#1653)

    Dhruvdutt Jadhav - Thu, 3 Nov 2016 14:05:28 +0000

  • Nested executables fix (#1210)

    Jonathan Kim - Thu, 3 Nov 2016 11:48:01 +0000

  • Added short-flags for yarn add (#1618)

    Dhruvdutt Jadhav - Thu, 3 Nov 2016 11:47:01 +0000

  • Add name lookups to ls command - fixes #1599 (#1643)

    Sebastian McKenzie - Thu, 3 Nov 2016 11:46:34 +0000

  • Refine flow type for config.generateHardModulePath (#1642)

    Sebastian McKenzie - Thu, 3 Nov 2016 11:27:39 +0000

  • Use ~/Library/Caches as default cache location on OSX - fixes #1637 (#1638)

    Sebastian McKenzie - Thu, 3 Nov 2016 10:48:32 +0000

  • Update aliases.js (#1635)

    Nitesh Sarode - Thu, 3 Nov 2016 10:17:27 +0000

  • Adding 'yarn global upgrade'(Issue #776) (#1616)

    Pushkaraj Shinde - Wed, 2 Nov 2016 14:06:30 +0000

  • Show error message in stdout. (#1502)

    Jeffrey van Hoven - Wed, 2 Nov 2016 12:05:31 +0000

  • Nicer permission errors when trying to write global binaries - fixes #1578 (#1592)

    Sebastian McKenzie - Wed, 2 Nov 2016 12:04:08 +0000

  • Support scoped packages in why command - fixes #1529 (#1593)

    Sebastian McKenzie - Wed, 2 Nov 2016 12:03:35 +0000

  • ignore trailing arguments for pre and post scripts - fixes #1595 (#1596)

    Sebastian McKenzie - Wed, 2 Nov 2016 11:54:10 +0000

  • Fix file protocol referencing local tarball - fixes #639 (#1591)

    Sebastian McKenzie - Tue, 1 Nov 2016 14:02:55 +0000

  • Normalise config booleans - fixes #1292 (#1590)

    Sebastian McKenzie - Tue, 1 Nov 2016 13:12:10 +0000

  • correctly save exotics - fixes #1532 (#1589)

    Sebastian McKenzie - Tue, 1 Nov 2016 12:05:21 +0000

  • Enable using TLS client certificates for communicating with private repositories (#1588)

    Chris Northwood - Tue, 1 Nov 2016 11:57:33 +0000

  • disallow camelised command names - fixes #1530 (#1586)

    Sebastian McKenzie - Tue, 1 Nov 2016 11:57:15 +0000

  • Add installationMethod property to package.json (#1557)

    Daniel Lo Nigro - Tue, 1 Nov 2016 10:54:12 +0000

  • Rename 'manifestPotentialType' to 'manifestPotentialTypo' (#1575)

    Krzysztof Zbudniewek - Tue, 1 Nov 2016 10:30:23 +0000

  • [git] Upgrade to secure url if possible (#1492)

    Yunxing Dai - Mon, 31 Oct 2016 10:34:07 -0700

    https://github.com/yarnpkg/yarn/pull/1365/files introduced a fix to enforce
    secure protocols. This unfortunately broke a lot of packages we have which
    depend on the 'git' protocol ('npm show @opam-alpha/core').
    Instead of refusing to work when a unsecure protocol is provided, maybe a
    better way here is to automatically upgrade to a secure url.

  • allow blank prefix (#1559)

    James Kyburz - Mon, 31 Oct 2016 14:17:56 +0000

  • Make .git suffix optional for hosted git (#1527)

    Claudio Bley - Mon, 31 Oct 2016 14:14:21 +0000

    When a github URL is used in a package.json file which has a .git
    suffix
    attached to its repository name, resolution fails with an error:

    TypeError: Cannot read property 'split' of undefined
    at Function.parseRefs
    (/usr/local/Cellar/yarn/0.16.0/libexec/lib/node_modules/yarn/lib/util/git.js:439:20)
    
    at
    /usr/local/Cellar/yarn/0.16.0/libexec/lib/node_modules/yarn/lib/resolvers/exotics/hosted-git-resolver.js:138:50
    
    ...
    

    for e.g. https://github.com/gulpjs/gulp.git.
    This was causes by an extraneous .git suffix appended to the URL by
    the
    resolver.
    Fixes #1287

  • Use reporter for error messages on fetchers and config (#1560)

    Mauricio Saglietto - Mon, 31 Oct 2016 14:13:24 +0000

  • Return SSH URL format for getGitSSHUrl (#1081)

    Dhi Aurrahman - Mon, 31 Oct 2016 14:11:49 +0000

  • Do not follow redirect for HostedGitResolver#hasHTTPCapability (#1558)

    Dhi Aurrahman - Mon, 31 Oct 2016 14:10:42 +0000

  • Add --nightly flag to install script (#1554)

    Daniel Lo Nigro - Mon, 31 Oct 2016 14:10:14 +0000

  • Fix colour codes in install script (#1553)

    Daniel Lo Nigro - Mon, 31 Oct 2016 14:09:48 +0000

  • Add CLI arguments to set the proxies (#655) (#1564)

    cdarras - Mon, 31 Oct 2016 14:09:04 +0000

  • Fixing global add in linux root folder #1029 (#1344)

    Lucas Katayama - Sun, 30 Oct 2016 19:58:12 -0700

  • getUTCDay → getUTCDate in set-dev-version.js

    Daniel Lo Nigro - Sat, 29 Oct 2016 19:04:25 -0700

  • Fix wrong const name

    Rifat Nabi - Fri, 28 Oct 2016 22:21:34 +0600

  • Add an option to not commit to git. Fixes #1228 (#1243)

    Karan Thakkar - Fri, 28 Oct 2016 16:42:34 +0100

  • Properly save scoped packages in offline mirror. (#784)

    Adam Miskiewicz - Fri, 28 Oct 2016 14:30:33 +0100

    This resolves a bug in which yarn was saving scoped packages in the offline
    mirror by their base name, which meant that if two packages in a project had
    the same name and version, but one of them was scoped and the other was not,
    only one of these would be saved in the offline mirror, and this would
    potentially cause a "bad hash" error to occur.
    This commit fixes this behavior, and saves scoped npm packages in the offline
    mirror in the form @[scope]-[package name]-[version].tar.gz.

  • Add support for NPM_CONFIG_USERCONFIG env variable - fixes #1512 (#1519)

    Sebastian McKenzie - Thu, 27 Oct 2016 18:23:32 +0100

  • Add interactive update

    Rifat Nabi - Thu, 27 Oct 2016 23:01:04 +0600

  • Set node env to production with --prod install.

    Sam Saccone - Thu, 27 Oct 2016 09:57:49 -0700

    Fixes #1450

  • Make all install flags accessible from all commands - fixes #1504 (#1517)

    Sebastian McKenzie - Thu, 27 Oct 2016 17:55:18 +0100

  • Small grammar fixes (#1515)

    Kyle Mendes - Thu, 27 Oct 2016 17:42:55 +0100

  • Git branches can have hashes as part of their name (#1489)

    Jure Triglav - Thu, 27 Oct 2016 17:19:43 +0100

  • Document --prefer-offline and --offline flags. (#1514)

    Robert Jackson - Thu, 27 Oct 2016 17:18:48 +0100

    Add documentation to --offline and --prefer-offline command line options.

  • Don't re-install cached artifacts. (#805)

    Yunxing Dai - Wed, 26 Oct 2016 17:40:32 -0700

    This patch makes sure if we load a package from cache, we don't install it
    again.

  • init package.json repository as a string instead of an object (#1484)

    Zeke Sikelianos - Wed, 26 Oct 2016 19:41:57 +0100

  • remove bower (#1441)

    Sebastian McKenzie - Wed, 26 Oct 2016 16:53:58 +0100

  • fix-1158: resolve verions by ranges, not equals (#1477)

    Thomas Verfaillie - Wed, 26 Oct 2016 16:00:13 +0100

  • Handle using local module info when running info . (#1467)

    Sam Saccone - Wed, 26 Oct 2016 14:43:52 +0100

    Fixes #1347

  • Builds on #1382 (#1466)

    Sam Saccone - Wed, 26 Oct 2016 14:18:57 +0100

  • Add CLI docs for yarn add --exact and yarn add --tilde (#1478)

    Mark Stosberg - Wed, 26 Oct 2016 14:17:18 +0100

    Descriptions were based on official docs:
    https://yarnpkg.com/en/docs/cli/add

  • Add detection of NODE_ENV for yarn install command (#1455)

    Neil Kistner - Tue, 25 Oct 2016 20:06:54 -0700

  • Add period to savedNewDependency for consistency (#1459)

    Elad Shahar - Tue, 25 Oct 2016 17:13:59 -0500

    Most messages, including the very similar savedNewDependencies, end in a
    period.

  • Replace some MessageErrors string for lang codes (#1392)

    Mauricio Saglietto - Tue, 25 Oct 2016 12:34:54 -0700

  • Fix yarn cache ls for scoped packages (#698) (#1279)

    Jakub Synowiec - Tue, 25 Oct 2016 14:42:13 +0100

    Yarn was trying to readi the metadata file from parent directory of scoped

    packages instead of the scoped packages directories.

  • Join available versions with newline if more than 20 (#1427)

    Julien CROUZET - Tue, 25 Oct 2016 14:39:10 +0100

  • set filename arg mandatory in pack -f (#1403)

    Tobias Kloht - Tue, 25 Oct 2016 14:38:56 +0100

  • remove default filters from yarn clean (#1430)

    Sebastian McKenzie - Tue, 25 Oct 2016 14:35:13 +0100

  • Add validation to package name upon init. (#1425)

    Nick Olinger - Tue, 25 Oct 2016 10:32:16 +0100

  • fix #680 check README, LICENSE and AUTHORS are files. (#1426)

    Azim Khakulov - Tue, 25 Oct 2016 09:48:48 +0100

  • Generate helpful error messages whenever we fail to parse JSON - fixes #1229 (#1424)

    Sebastian McKenzie - Tue, 25 Oct 2016 09:17:03 +0100

  • Consolidate lifecycle script execution - fixes #1319 (#1422)

    Sebastian McKenzie - Tue, 25 Oct 2016 09:09:48 +0100

  • add yarn versions command as analog to npm version - fixes #1369 (#1423)

    Sebastian McKenzie - Tue, 25 Oct 2016 09:09:38 +0100

  • Fix yarn outdated for scoped packages (#620) (#1276)

    Jakub Synowiec - Tue, 25 Oct 2016 08:01:51 +0100

    Package name was not escaped when querying NPM registry.

  • Don't let the authorization header be empty (#1373)

    Julien Roncaglia - Tue, 25 Oct 2016 07:58:43 +0100

  • Fixes removal of invalid package name as showing successful (#1409)

    Troy DeMonbreun - Tue, 25 Oct 2016 07:56:44 +0100

  • fix-1221: offline flag, metadata argument falsy (#1277)

    Thomas Verfaillie - Mon, 24 Oct 2016 15:33:15 +0100

  • Meaningful error message on malformed registry response (#1356)

    Ben Berman - Mon, 24 Oct 2016 15:09:36 +0100

    • Meaningful error message on malformed registry response
      Addresses #1348
    • Changed malformed registry response error to use i18n
  • fix #1199 by removing extra newline from cli/install.js (#1200)

    Luke Zilioli - Mon, 24 Oct 2016 14:58:08 +0100

  • Add package type output to yarn outdated command (#1357)

    Neil Kistner - Mon, 24 Oct 2016 13:43:26 +0100

  • Switch to using vars for hostname in gh resolver.

    Sam Saccone - Sun, 23 Oct 2016 22:16:46 -0700

  • honor github commit hash

    Steve Shreeve - Sun, 23 Oct 2016 22:16:46 -0700

  • Add --ignore-engines flag to yarn upgrade command (#1375)

    Neil Kistner - Sun, 23 Oct 2016 20:40:51 -0700

  • improve Git coverage (#1365)

    Tudor Gergely - Sat, 22 Oct 2016 11:32:03 -0700

  • Fix typo in comment "occured" -> "occurred" (#1359)

    Chris Fritz - Fri, 21 Oct 2016 23:16:58 -0700

  • Add a newline after the global comment in the lockfile (#1192)

    Tomáš Hübelbauer - Thu, 20 Oct 2016 15:06:19 +1100

    The lockfile is nicely visually separated except for the first package which is
    right after the comment. The comment is global, though, not related directly to
    the first package so in order to make it easier to visually navigate the file
    and to mark the comment as global and not just related to the first package, I
    propose a newline is added after the comment.

  • Don't install Node.js via Chocolatey on AppVeyor (#1270)

    Daniel Lo Nigro - Wed, 19 Oct 2016 15:35:45 -0700

    May fix #1232 as per the discussion in
    http://help.appveyor.com/discussions/problems/5425-nodejs-690-seems-broken

  • Added try/catch block to .yarnclean write file operation

    Mario Pizzinini - Wed, 19 Oct 2016 20:27:12 +0100

    Added try catch block to handle error „EEXIST: file already exists“.

  • Fix yarn info failing on single character packages (#1219) (#1220)

    Jesse Buchanan - Wed, 19 Oct 2016 12:28:30 +0100

    • Failing test for parsing single character packages
    • parsePackageName: Allow single character packages
  • added npm auth for publish

    Konstantin Raev - Wed, 19 Oct 2016 12:02:58 +0100

  • Add is-ci dependency and disable progress bars in CI environments

    Lawrence Dabir-Alai - Wed, 19 Oct 2016 10:18:15 +0100

  • Remove hack for #1142 (#1225)

    Daniel Lo Nigro - Tue, 18 Oct 2016 22:05:52 -0700

  • Change --disable-progress to --no-progress to keep with cli convention

    Lawrence Dabir-Alai - Tue, 18 Oct 2016 22:22:51 +0100

  • Remove tick from console-reporter test to ensure test is relevant

    Lawrence Dabir-Alai - Tue, 18 Oct 2016 12:30:49 +0100

  • Disable spinner progress too

    Lawrence Dabir-Alai - Tue, 18 Oct 2016 12:23:25 +0100

  • Add option '--disable-progress' to turn off progress bar

    Lawrence Dabir-Alai - Tue, 18 Oct 2016 11:53:31 +0100

  • Emulate npm_config_argv environment variable for lifecycle scripts (closes #684)

    inikulin - Sun, 16 Oct 2016 13:10:28 +0300