Changelog
1.17.0
Adds prereleases flags and prerelease identifier to yarn version
.
Fixes audits when used with yarn add
& yarn upgrade
Adds support for the --offline
flag to yarn global add
Yarn will tolerate Yaml at parse time. Full support isn't ready yet and will only come at the next major.
Fixes a bug when using the link:
protocol with a folder that doesn't contain a package.json
Changelog
1.16.0
Retries downloading a package on yarn install
when we get a ETIMEDOUT error.
Implements yarn audit --level [severity]
flag to filter the audit command's output.
Implements yarn audit --groups group_name [group_name ...]
.
Exposes the script environment variables to yarn create
spawned processes.
Prevents EPIPE errors from being printed.
Adds support for the npm enterprise URLs when computing the offline mirror filenames.
Tweaks the lockfile parser logic to parse a few extra cases
Changelog
1.15.2
The 1.15.1 doesn't exist due to a release hiccup.
Reverts a behavior causing boggus interactions between PowerShell and yarn global
Fixes a bug where non-zero exit codes were converted to a generic 1 when running yarn run
Fixes production / development reporting when running yarn audit
Changelog
1.15.0
Removes --scripts-prepend-node-path
as Yarn's default behavior makes this obsolete
Fixes the advisory link printed by yarn audit
Fixes npm_config_
environment variable parsing to support those prefixed with underscore (ex: _auth
)
Fixes yarn upgrade --latest
for dependencies using >
or >=
range specifier
Fixes --modules-folder
handling in several places (ex: yarn check
now respects --modules-folder
)
Removes rootModuleFolders
(internal variable which wasn't used anywhere)
Adds support for setting global-folder
from .yarnrc
files
Makes yarn version
cancellable via ctrl-c or empty string
Adds support for yarn policies set-version berry
Fixes yarn upgrade --scope
when using exotic (github) dependencies
Fixes occasionally mismatching upper/lowecases of drive letters in win32 pnp check
Fixes the error reporting for non-HTTP network errors (such as invalid certificates)
Changes the location where the --require ./.pnp.js
flag gets added into NODE_OPTIONS
: now at the front (bis)
Packages won't be auto-unplugged anymore if ignore-scripts
is set in the yarnrc file
Enables displaying Emojis on Terminus by default
Run the engines check before executing run
scripts.
Changelog
1.14.0
Improves PnP compatibility with Node 6
Fixes PnP detection with workspaces (installConfig
is now read at the top-level)
Fixes an interaction between yarn pack
and bundled dependencies
Adds support for GITHUB_TOKEN
in yarn policies set-version
Fixes an issue where resolve
would forward an incomplete basedir to the PnP hook
Fixes the command that yarn unlink
recommends to run as a followup (now yarn install --force
)
Changes the location where the --require ./.pnp.js
flag gets added into NODE_OPTIONS
: now at the front
Fixes a bug where os
and platform
requirements weren't properly checked when engines
was missing
Changelog
1.13.0
Implements a new package.json
field: peerDependenciesMeta
Adds an optional
settings to peerDependenciesMeta
to silence missing peer dependency warnings
Implements yarn policies set-version [range]
. Check the documentation for usage & tips.
Fixes a resolution issue when a package had an invalid main
entry
Decreases the size of the generated $PATH
environment variable for a better Windows support
Fixes postinstall scripts for third-party packages when they were referencing a binary from their own dependencies
Fixes yarn audit exit code overflow
Stops automatically unplugging packages with postinstall script when running under --ignore-scripts
Adds transparent support for the resolve
package when using Plug'n'Play
Properly reports the error codes when the npm registry throws 500's