2.0.0-RC2 - released 2020-10-14
Changelog
- Breaking: Removed
OperationInterface::getReasonas the data was not accurate - Added automatic removal of packages which are not required anymore whenever an update is done, this will purge packages previously left over by partial updates and
require/remove - Added shorthand aliases
-wfor--with-dependenciesand-Wfor--with-all-dependenciesonupdate/require/removecommands - Added
COMPOSER_DEBUG_EVENTS=1env var support for plugin authors to figure out which events are triggered when - Added
setCustomCacheKeytoPreFileDownloadEventand fixed a cache bug for integrations changing the processed url of package archives - Added
Composer\Util\SyncHelperfor plugin authors to deal with async Promises more easily - Added
$composer->getLoop()->getHttpDownloader()to get access to the main HttpDownloader instance in plugins - Added a non-zero exit code (2) and warning to
removecommand when a package to be removed could not be removed - Added
--apcu-autoloader-prefix(or--apcu-prefixfordump-autoloadcommand) flag to let people use apcu autoloading in a deterministic output way if that is needed - Fixed version guesser to look at remote branches as well as local ones
- Lots of minor bug fixes and improvements