Composer v2.0.0-RC1 Release Notes
Release Date: 2020-09-10 // over 3 years ago-
๐ Not up to date with Composer 2 yet? Check the alpha1 changelog and alpha2 changelog and alpha3 changelog and especially the UPGRADE guide first.
๐ Try it out now and get ready for the upcoming stable release
- โก๏ธ Use
composer self-update --preview
to try the latest RC version (2.x). - โก๏ธ Use
composer self-update --snapshot
to try the latest dev build (2.x). - ๐ Use
composer self-update --stable
to go back to stable releases (1.x for now). - ๐ Use
composer self-update --1
in CI/scripts if you want to pin Composer to 1.x until you are ready to migrate, this will ensure you stay on 1.x releases even once a 2.0 stable comes out.
๐ Changelog
- โ Added more advanced filtering to avoid loading all versions of all referenced packages when resolving dependencies, which should reduce memory usage further in some cases
- ๐ฆ Added support for many new lib-* packages in the platform repository and improved version detection for some ext-* and lib-* packages
- โ Added an
--ask
flag tocreate-project
command to make Composer prompt for the install dir name, useful for project install instructions - โ Added support for tar in artifact repositories
- โ Added a
cache-read-only
config option to make the cache usable in read only mode for containers and such - โ Added better error reporting for a few more specific cases
- โ Added a new optional
available-package-patterns
attribute for v2-format Composer repositories, see UPGRADE for details - ๐ Fixed more PHP 8 compatibility issues
- ๐ Lots of minor bug fixes for regressions
- โก๏ธ Use