From df22988003ed00fe39988bd3335f0c56e2b407ae Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 12 Oct 2020 13:06:00 +0200 Subject: [PATCH] Add note about dev-master/trunk/default aliases in v2, fixes composer/semver#115 --- UPGRADE-2.0.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UPGRADE-2.0.md b/UPGRADE-2.0.md index a31106583..2af90c13c 100644 --- a/UPGRADE-2.0.md +++ b/UPGRADE-2.0.md @@ -11,6 +11,7 @@ - PEAR support (repository, downloader, etc.) has been removed - `update` now lists changes to the lock file first (update step), and then the changes applied when installing the lock file to the vendor dir (install step) - `HTTPS_PROXY_REQUEST_FULLURI` if not specified will now default to false as this seems to work better in most environments +- `dev-trunk`, `dev-master` and `dev-default` are no longer aliases for each other. The exact branch names are now preserved. ## For integrators and plugin authors @@ -28,7 +29,7 @@ - packages are now wrapped into a `"packages"` top level key instead of the whole file being the package array - packages now contain an `"installed-path"` key which lists where they were installed - there is a top level `"dev"` key which stores whether dev requirements were installed or not -- Removed `OperationInterface::getReason` as it the data was not accurate. There is no replacement available. +- Removed `OperationInterface::getReason` as the data was not accurate. There is no replacement available. - `PreFileDownloadEvent` now receives an `HttpDownloader` instance instead of `RemoteFilesystem`, and that instance cannot be overridden by listeners anymore - `VersionSelector::findBestCandidate`'s third argument (phpVersion) was removed in favor of passing in a complete PlatformRepository instance into the constructor - `InitCommand::determineRequirements`'s fourth argument (phpVersion) should now receive a complete PlatformRepository instance or null if platform requirements are to be ignored