commit
05d51e2b62
|
@ -24,7 +24,7 @@
|
||||||
- packages are now wrapped into a `"packages"` top level key instead of the whole file being the package array
|
- 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
|
- 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
|
- there is a top level `"dev"` key which stores whether dev requirements were installed or not
|
||||||
- `PreFileDownloadEvent` now receives an `HttpDownloader` instance instead of `RemoteFilesystem`, and that instance can not be overriden by listeners anymore
|
- `PreFileDownloadEvent` now receives an `HttpDownloader` instance instead of `RemoteFilesystem`, and that instance can not be overridden by listeners anymore
|
||||||
- `IOInterface` now extends PSR-3's `LoggerInterface`, and has new `writeRaw` + `writeErrorRaw` methods
|
- `IOInterface` now extends PSR-3's `LoggerInterface`, and has new `writeRaw` + `writeErrorRaw` methods
|
||||||
- `RepositoryInterface` changes:
|
- `RepositoryInterface` changes:
|
||||||
- A new `loadPackages(array $packageNameMap, array $acceptableStabilities, array $stabilityFlags)` function was added for use during pool building
|
- A new `loadPackages(array $packageNameMap, array $acceptableStabilities, array $stabilityFlags)` function was added for use during pool building
|
||||||
|
|
|
@ -818,7 +818,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
||||||
$this->hasPartialPackages = !empty($data['packages']) && is_array($data['packages']);
|
$this->hasPartialPackages = !empty($data['packages']) && is_array($data['packages']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// metadata-url indiates V2 repo protocol so it takes over from all the V1 types
|
// metadata-url indicates V2 repo protocol so it takes over from all the V1 types
|
||||||
// V2 only has lazyProviders and possibly partial packages, but no ability to process anything else,
|
// V2 only has lazyProviders and possibly partial packages, but no ability to process anything else,
|
||||||
// V2 also supports async loading
|
// V2 also supports async loading
|
||||||
if (!empty($data['metadata-url'])) {
|
if (!empty($data['metadata-url'])) {
|
||||||
|
|
Loading…
Reference in New Issue