Skip to content

v1.0.0 ! 🎉

Compare
Choose a tag to compare
@DanBuild DanBuild released this 05 Sep 14:23
· 639 commits to master since this release

Features

  • 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 changes

  • 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)

Improvements

  • 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)

Bugfixes

And a lot of various other fixes, chores, documentation, minor text fixes ..., all thanks to the community! 🐬