Skip to content

v0.24.0: Fixes offline resolution for absolute Windows paths (#3319)

Compare
Choose a tag to compare
@bestander bestander released this 04 May 16:50
· 923 commits to master since this release
  • Fix offline resolution (#3311)

    Maël Nison - Thu, 4 May 2017 13:46:13 +0100

  • Add vendor informations to licences ls command (#3292)

    Matthias Lochbrunner - Wed, 3 May 2017 11:39:25 +0100

  • Correctly handle installationMethod when using bundled build (#3113)

    Daniel Lo Nigro - Tue, 2 May 2017 15:29:36 +0100

  • Better use of English in why output (#3280)

    Ben - Tue, 2 May 2017 12:11:50 +0200

  • Add tests for global command (#3238)

    Simon Vocella - Tue, 2 May 2017 10:30:20 +0100

  • Resolve Git dependencies offline if tarball is available. (#3000)

    Raymond Wang - Mon, 1 May 2017 20:00:56 +0100

    When running yarn offline, Git dependencies get trapped in
    hasHTTPCapabiity
    even though resolveOverHTTP defaults to returning
    the tarball. This change
    allows us to bypass that step altogether
    if the tarball already exists.

  • add some tests for link/unlink command (#3293)

    Simon Vocella - Mon, 1 May 2017 17:18:28 +0100

  • remove duplication in tests/commands/pack.js (#3291)

    Simon Vocella - Mon, 1 May 2017 17:10:45 +0100

  • Clean Homebrew Git repo before committing. Fixes #3275

    Daniel Lo Nigro - Sat, 29 Apr 2017 17:05:33 -0700

  • pack: include contents of directories in files field (#3175)

    Joseph Frazier - Fri, 28 Apr 2017 17:41:51 +0100

  • extract the reporter out of integrity checker (#3248)

    Simon Vocella - Wed, 26 Apr 2017 17:48:29 +0100

  • Adding verbose output for config file search (#3236)

    Dennis Webb - Wed, 26 Apr 2017 16:19:00 +0100

  • use close instead of finish event for file copy completion (#3234)

    Daniel Pihlstrom - Wed, 26 Apr 2017 16:17:24 +0100

    Windows Defender updates timestamps on files immediately after a write stream
    closes. Moving utimes update to after the file has closed corrects this issue.

  • Fix a couple of lint warnings for unused variables (#3232)

    Lukas Spieß - Wed, 26 Apr 2017 16:15:26 +0100

  • Add .yarnrc env config option (#3218)

    Sebastian McKenzie - Wed, 26 Apr 2017 16:12:25 +0100

  • Fix typo: specifally -> specifically (#3246)

    Joseph Frazier - Wed, 26 Apr 2017 15:57:50 +0100

  • Change use_winpty logic in bin/yarn to just look at YARN_FORCE_WINPTY in environment (#3245)

    mikew - Wed, 26 Apr 2017 15:57:30 +0100

  • Fix local tarball file resolution (#3221)

    Maël Nison - Wed, 26 Apr 2017 15:51:28 +0100

  • Fixes for running with artifactory 4.14.1 (#3172)

    Rogério Chaves - Tue, 25 Apr 2017 16:04:09 +0100

    • Add fallback vdn header for repositories that do not support it

    • Add auth even if registry url is https and archive url is http

  • When in flat mode don't add unused dependencies - fixes #2781 (#3251)

    Sebastian McKenzie - Tue, 25 Apr 2017 12:06:38 +0100

  • Move integrity artifacts tracking to separate method - fixes #3247 (#3250)

    Sebastian McKenzie - Tue, 25 Apr 2017 12:06:06 +0100

  • Ref #2165 - file-resolver should invalidate cache with a new hash (#2860)

    Matt Traynham - Mon, 24 Apr 2017 22:31:45 +0100

    • file-resolver should invalidate cache with a new hash everytime

    • Add/update tests for file protocol cache busting with force flag

    • Fixing cache test and adding comment on size of cache directory.

  • Fix global module executable path on Windows (#3233)

    Daniel Lo Nigro - Mon, 24 Apr 2017 10:56:39 +0100

  • rename skipIntegrity in skipIntegrityCheck (#3239)

    Simon Vocella - Mon, 24 Apr 2017 10:48:40 +0100

  • Use npm's node-gyp if available, otherwise automatically install node-gyp (#3240)

    Daniel Lo Nigro - Mon, 24 Apr 2017 10:44:48 +0100

    • Attempt to install node-gyp if it's required but missing

    • Try to use node-gyp version from npm

    • Trailing commas

  • feat(Upgrade): add scope flag to the upgrade command (#3190)

    Joge97 - Mon, 24 Apr 2017 08:53:16 +0200

  • accept 1ms difference in filedates as equal on windows (#3235)

    Daniel Pihlstrom - Sun, 23 Apr 2017 19:03:44 -0700

    a nodejs issue causes certain dates to be off by 1ms after calling utimes
    See: nodejs/node#12607

  • Put build artifact tracking in integrity file (#3224)

    Sebastian McKenzie - Sat, 22 Apr 2017 16:45:03 +0100

    • Put build artifact tracking in integrity file

    • fix lint

  • fix lint warning (#3226)

    Vladimir Agafonkin - Sat, 22 Apr 2017 16:44:18 +0100

  • Move inquirer code to console reporter (#3207)

    Rifat Nabi - Sat, 22 Apr 2017 15:52:10 +0100

    • Move inquirer code to console reporter

    • Fix double ctrl+c to exit problem

  • partially revert #2657 to fix add command test (#3222)

    Vladimir Agafonkin - Fri, 21 Apr 2017 21:21:46 +0100

  • Do not test new version with pkg.version (#3103)

    Michael Heuberger - Thu, 20 Apr 2017 19:19:38 -0700

    See issue 3011 for details. Leave it to
    npm registry to validate the version
    number.

  • Adds clean-mirror.sh to scripts (#3179)

    Maël Nison - Thu, 20 Apr 2017 19:08:06 -0700

  • Fix yarn pack to always include the file in the "main" field (#3092)

    Joseph Frazier - Thu, 20 Apr 2017 17:48:00 -0700

    • Test that yarn pack always includes the file in the "main" field
      This is for compatibility with npm, which [specifies] that:
  • Optimize buildActionsForCopy routine (#2657)

    Vladimir Agafonkin - Thu, 20 Apr 2017 16:20:48 -0700

    • optimize buildActionsForCopy routine

    • more resilient sync in util.fs, add comments

  • Use an alias system instead of camelCase function (#3101)

    Simon Vocella - Thu, 20 Apr 2017 16:26:59 +0100

      • move aliases to unsupported aliases
    • tests properly camelised comand
    • tests properly command with hyphen
    • move generation of documentation in src/cli/commands/index.js
    • move every command related stuff in src/cli/commands/index.js
    • tests some corner cases
    • delete every camelCase use in src/cli/commands/index.js and

    src/cli/commands/help.js

    • fix typo and initialize commands in a clearer way
  • add hasWrapper function in clean and remove command (#3205)

    Simon Vocella - Thu, 20 Apr 2017 11:32:13 +0100

  • Ensure that every command has setFlags and hasWrapper functions (#3105)

    Simon Vocella - Thu, 20 Apr 2017 11:08:43 +0100

    • ensure that every command has setFlags function

    • ensure that every command has hasWrapper function

  • Hide Activity/Progress Output in JSONReporter with --no-progress Flag (#3158)

    Alec Merdler - Thu, 20 Apr 2017 10:59:39 +0100

  • Avoids using Array.prototype.includes since it is not avaialble in node 4. (#3139)

    Miguel Madero - Thu, 20 Apr 2017 10:56:12 +0100

    Fixes #3138

  • Use gunzip-maybe instead of reimplementing (#2971)

    Victor Noël - Tue, 18 Apr 2017 17:05:37 +0100

  • Better match npm's SCP vs SSH URL heuristic (#3147)

    Kornel - Tue, 18 Apr 2017 17:02:32 +0100

    Fixes #3146

  • Fix typo: inlude -> include (#3171)

    Joseph Frazier - Tue, 18 Apr 2017 16:37:40 +0100

  • Fix typo: definently -> definitely (#3173)

    Joseph Frazier - Tue, 18 Apr 2017 16:37:16 +0100

  • Fix bug when cannot set a config value to empty string (#3018)

    Igor Redchuk - Tue, 18 Apr 2017 11:52:34 +0100

    • Fixes regression introduced in PR #2440
    • Related to #2434
  • Automatically update Homebrew package when new versions are released (#3083)

    Daniel Lo Nigro - Thu, 13 Apr 2017 08:19:09 -0700

    Closes #2841

  • Fix resolver incorrect lockfile (issue #2629) (#3106)

    Konstantin Raev - Wed, 12 Apr 2017 18:28:42 +0100

    • wip fixing resolver when lockfile has incorrect semver entries

    • Fixes incorrect entries in lockfiles
      Fixes #2629.
      If lockfile pattern does not match a version it will be ignored
      and re-resolved

  • supported smaller package metadata API (#3112)

    Konstantin Raev - Wed, 12 Apr 2017 18:16:30 +0100

  • Added --ignore-scripts flag to integrity check (#3094)

    Konstantin Raev - Wed, 12 Apr 2017 18:12:13 +0100

    --ignore-scripts affects the underlying node_modules and should be factored in
    integrity check

  • Fixed concurrent unpacks into the same folder (#3090)

    Konstantin Raev - Mon, 10 Apr 2017 22:53:35 +0100

    This is a mitigation for issue #2629.
    In some cases two different packages
    could end up unpacking into the same cache folder.
    Example
    #2629 (comment), package
    typescript is downloaded twice because yarn.lock has inconsistent entries.

  • Reduce complexity of src/cli/index.js (#2887)

    Simon Vocella - Mon, 10 Apr 2017 17:43:24 +0100

  • add tests for cache commands (#2956)

    Simon Vocella - Mon, 10 Apr 2017 16:04:47 +0100

  • Remove Roadrunner (#3079)

    Daniel Lo Nigro - Sat, 8 Apr 2017 14:55:11 -0700

  • Use standalone .js bundle in dist tarball rather than individual JS files (#3030)

    Daniel Lo Nigro - Sat, 8 Apr 2017 14:40:19 -0700

    Instead of including all the raw JS files in the dist tarball, just use the
    single Yarn JS file that's built as part of the build, along with a few other
    files that are required. This significantly reduces the number of files in the
    tarball:

    Performance is very slightly faster when using v8-compile-cache along with
    the bundled file, but it's not extremely significant (yarn --version went
    from 0.19s to 0.14s on my BuyVM server). The difference might be bigger on
    servers with slower disks (HDD) or with more overloaded servers.
    I also deleted the build-dist.ps1 file because we should be able to assume
    that Bash is available on Windows, particularly if Git is installed (as it
    comes with Git Bash). I need to verify that this works on AppVeyor.

  • Make it log "email" instead of "username" (#3073)

    Jamen Marz - Fri, 7 Apr 2017 19:07:38 +0100

  • Remove the dependency on the "rc" module (#3063)

    Maël Nison - Fri, 7 Apr 2017 15:28:55 +0100

  • Fixes integrity check for --production flag (#3067)

    Konstantin Raev - Fri, 7 Apr 2017 15:05:11 +0100

  • Fix missing subdeps in production install when those are present in devDependencies list (#2921)

    blexrob - Fri, 7 Apr 2017 12:41:11 +0100

    • Test for install skipping subdependencies when those are named in root
      devDependencies

    • Add 'incompatible' flag to references, use that to ignore incompatible
      packages instead of faulty inherit logic. Fixes #2819

    • Unconditionally mark packages as ignored, hoister now fully corrects
      transitive uses

  • Checks that the webpack builds are working properly (#3064)

    Maël Nison - Fri, 7 Apr 2017 12:27:15 +0100

  • Ability to opt-out of offline mirror (#3009)

    Dan Harper - Fri, 7 Apr 2017 11:32:01 +0100

    Configs are merged with configs in parent directories, so currently if a
    .yarnrc in a parent directory enables the offline mirror, all projects in child
    directories would also use the offline mirror.
    This commit allows a child directory to opt-out of the offline mirror in their
    own .yarnrc with yarn-offline-mirror false.
    Previously if you specified false you'd get an exception as false is parsed
    as boolean but it expects a string.

  • Providing override for CHILD_CONCURRENCY via ENV (#3032)

    Hari Juturu - Thu, 6 Apr 2017 23:28:28 +0100

  • Supports public and private git repos when using shorted repo syntax (#2992)

    The Dumb Terminal - Thu, 6 Apr 2017 17:05:24 +0100

    • Now supports public and private shortened git repos

    • added tests for new method