NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2028 most downloaded on npm
The parser/stringifier for Yarn lockfiles.
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 9 months
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
4 releases · first in 2017
__Chore: use npm@4 for publishing tarballs__
Chore: use npm@4 for publishing tarballs
Update: add yarn global dir command (#4522)
Fix: unbound transitive dependencies should not conflict with top level dependency (#4488)
Fix: Make stripColor to be available again on reporter.format (#4518)
Update: warn when used with not supported Node versions (#4502)
Fix: don't suggest npm upgrade since it is broken (#4511)
Chore: update comment about sudo in .travis.yml
Fix: Upgrade Chalk to take advantage of the latest (colour) fixes (#4482)
Fix: fix argument parsing and .yarrc argument passing (#4498)
Fix: make lockfile parser tolerant to CRLF (#4495)
Fix: always use origin/master instead of master for homebrew (#4444)
Fix: Better npm_config_argv emulation (#4479)
Chore: Free tests from FORCE_COLOR environment variable dependency (#4381)
Update: use fs.copyFile when available (#4486)
Feature: Support save-exact true (#4471)
Fix: Resolve peerDependencies from all higher levels, not just root (#4478)
Chore: use a Set for look ups in PATH_KEYS (#4472)
Chore: ignore flow warnings from graphql (#4473)
Fix: Handle null versions in package.json (#4461)
Chore: Add test to ensure manifest-less local packages are installable (#4456)
Fix: incorrect optional ignore in nested dependencies (#4448)
Fix: inaccurate message when using -g with add (#4449)
Update: add DNS caching to request manager (#4447)
Fix: use simpler charaters for progress bar to avoid overflows (#4317)
Chore: Add test for isFakeRoot (#4435)
Update: Bolds the titles in a list (#4406)
One column per quarter.
__Fix: don't throw when user exits from upgrade-interactive (#4434)__
Fix: don't throw when user exits from upgrade-interactive (#4434)
Fix: fakeroot detection is broken (inversed) (#4431)
Fix: actual and expected hashes are swapped (#4416)
Fix: Diffing identical versions should not include extra period at end (#4428)
Fix: always output reporter.inspect values and config get result (#4419)
Chore: fix flaky add tests by using separate cache (#4418)
Fix: allow / in addition to %2f in the url for scope checks (#4367)
Chore: add missing cache packages for tests (#4414)
Chore: fix misues of -p in node infocations (#4415)
Fix: fix incorrect argument parsing (#4384)
Fix: Include pull requests in git ref search (#4411)
Fix: yarn bin should produce output even when silent (#4408)
Fix: Allow resolver to delay resolutions for nested dependencies (#4372)
Fix: add back -L shortcut for yarn upgrade (#4401)
Chore: add instructions about using local builds (#4386)
Fix: don't generate a lockfile when --frozen-lockfile is used (#4385)
Fix: argument -v is for version not verbose (#4362)
Fix: only switch to help mode for valid commands (#4355)
Fix: remove the accept header from tar fetcher requests (#4351)
Fix: support protocol-relative registry URLs (#4347)
Fix: fix support for registry URLs without trailing slash (#4350)
Fix: Fix regex so single-character @scopes can work again (#4338)
Improvement: Adds support for `npm_lifecycle_script`
Improvement: Adds support for npm_lifecycle_script
Aditya Vohra - (#4330)
Fix: Fixes an issue with Heroku where the global folder wasn't writable
Burak Yiğit Kaya - (#4325)
__Breaking: Deprecates the implicit file: protocol, and only allow package dirs__
Feature: Allows the top-level package.json to override nested dependencies versions
kaylieEB - (#4105)
Feature: Adds a yarn-path rc config parameter
Maël Nison - (#4204)
Feature: Enables Workspaces by default
Burak Yiğit Kaya - (#4262)
Feature: Commands are now ran from the cwd package root if possible
Maël Nison - (#4246)
Feature: Exposes the lockfile parser into its own npm package (@yarnpkg/lockfile)
William Hilton - (#4114)
Feature: Implements a --cwd flag to run Yarn in a specific directory
Sebastian McKenzie - (#4174)
Feature: Implements the -v command to show Yarn's version when specified without other commands
kaylieEB - (#3913)
Feature: Detects and merges lockfile conflicts without user input
Sebastian McKenzie - (#3544)
Feature: Adds a preliminary support for // comments in package.json dependencies
Joachim Seminck - (#3829)
Breaking: Commands run via yarn run are now automatically forwarded trailing options
Maël Nison - (#4152)
Breaking: Renames yarn clean to yarn autoclean
Jeff Valore - (#4252)
Breaking: Deprecates the implicit file: protocol, and only allow package dirs
Burak Yiğit Kaya - (#4257)
Breaking: Prevents yarn add from being run from a workspace root directory without --dev
Maël Nison - (#4166)
Breaking: Removes support for the yarn ... ls commands (use list instead of ls)
Tiago Pina - (#4045)
Breaking: Removes support for the yarn ... rm commands (use remove instead of rm)
Tiago Pina - (#3989)
Breaking: Validates the top-level package.json engines
Adam Crabtree - (#3675)
Improvement: Adds support for git+***:// dependencies
Jeremy Judeaux - (#3735)
Improvement: Reimplements part of the integrity check to be faster and stronger
Maël Nison - (#4122)
Improvement: Warns when there's a missing bundledDependencies
Jeff Valore - (#4046)
Improvement: Implements a /tmp fallback if the preferred cache folders aren't writable
Maël Nison - (#4143)
Improvement: Optimizes the hoisting process on large dependency trees
Kenneth Chau - (#4222)
Improvement: Improves the error message when the tarball fetcher detects a bad hash
kaylieEB - (#4240)
Improvement: Adds a --private flag on the yarn init command
Pierre Neter - (#4165)
Improvement: Adds support for Github URL shorthands to yarn init
Frederick Morlock - (#4012)
Improvement: Improves the way packages referenced via the file: protocol are dedupped
Jack Aldridge - (#3945)
Improvement: Yarn is now distributed on NPM as a single file
Daniel Lo Nigro - (#3866)
Improvement: Adds retry on 5xx errors
Rifat Nabi - (#3686)
Improvement: Prevents creating a lockfile when there's no dependencies
Pig Fang - (#3395)
Fix: Prevents linking transitive dependencies on global installs
Maël Nison - (#4265)
Fix: Avoids creating the global and link folders unless necessary
Burak Yiğit Kaya - (#4264)
Fix: Exposes the $NODE variable when running scripts
Burak Yiğit Kaya - (#4260)
Fix: Makes upgrade-interactive exit with a success exit code when no upgrades are needed
Jeff Valore - (#4261)
Fix: Ensures the bin folder exists before trying to use it
Burak Yiğit Kaya - (#4241)
Fix: Fixes the yarn workspace command to run in the right directories
James Kyle - (#4080)
Fix: Adds the missing --link-folder flag (#4235)
Fix: Excludes dev dependencies from the yarn list output when the environment is production
Nick Olinger - (#4092)
Fix: Adds the missing pre/post hooks for the pack script
João Lucas Lucchetta - (#4193)
Fix: Solves artifacts disappearing when the integrity file was missing
Jamie - (#4185)
Fix: Tarballs created via yarn pack now contain a versioned folder name instead of dist
Burak Yiğit Kaya - (#4094)
Fix: Prevents the hoisting when it would break peer dependency requirements
Maël Nison - (#4086)
Fix: Prevents numeric versions from being resolved to local files
Burak Yiğit Kaya - (#4088)
Fix: Correctly handles scripts failing with exit signals
Onur Temizkan - (#3995)
Fix: Forces workspaces to always be installed from their root
Maël Nison - (#4030)
Fix: Prevents running pre/post hooks if they are not scripts
Burak Yiğit Kaya - (#4068)
Fix: Checks for npmrc in home directory for linux root users
kaylieEB - (#4047)
Fix: Prevents scoped package installs to crash with a 403 when the cache is empty
Chappo - (#4027)
Fix: Prevents optional subdependencies from being installed when using --ignore-optional
Maël Nison - (#3976)
Fix: Fixes missing path expansions
Burak Yiğit Kaya - (#4014)
Fix: Avoids using process.exit() when possible
Burak Yiğit Kaya - (#3955)
Fix: Global config is now also looked up in ${PREFIX}/etc/
Parakleta - (#3958)
Fix: Stops assuming that all string rc parameters are paths
Burak Yiğit Kaya - (#3941)
Fix: Fixes yarn global prefix directory
Kishan Bagaria - (#3721)
Fix: Fixes the authentication when using yarn publish
John Ferlito - (#3862)
Fix: Prevents --check-files from crossing symlink boundaries
Maël Nison - (#3931)
Fix: Removes the manifest check for global commands
kaylieEB - (#3921)
Fix: Correctly prioritizes git environment variables coming from the parent process
Aleksejs Sinicins - (#3885)
Fix: Prioritizes bin links at the root level
kaylieEB - (#3877)
Fix: Fixes package linking when a filename case changes
Maël Nison - (#3843)
Fix: Forwards SIGTERM to spawned child processes
Gabriel Aumala - (#3789)
Fix: Emoji should now default to true on darwin platforms
Burak Yiğit Kaya - (#3766)
Fix: Inherits env variables from the process when calling Git
Burak Yiğit Kaya - (#3743)
Fix: Prevents unwanted optimizations kicking in when installing a lockfile
Maël Nison - (#3729)
Fix: Transitive file: dependencies should now work properly
Konstantin Raev - (#3709)
And a lot of various other fixes, chores, documentation, minor text fixes ..., all thanks to the community! 🐬
Your coding agent can read these notes before it upgrades. Set up the MCP server →