Upgrading symfony/asset 4 to 5
Unknownv4.4.46 → v5.4.45
Fetching 64 releases from GitHub…0 / 64
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
PHP requirement changed in v5.1.0-RC2: >=7.1.3 → >=7.2.5.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- changed:
constructor Package(VersionStrategyInterface $versionStrategy, ContextInterface $context = …) → constructor Package(VersionStrategyInterface $versionStrategy, ?ContextInterface $context = …) - changed:
constructor Packages(PackageInterface $defaultPackage = …, array $packages = …) → constructor Packages(?PackageInterface $defaultPackage = …, iterable $packages = …) - changed:
constructor PathPackage(string $basePath, VersionStrategyInterface $versionStrategy, ContextInterface $context = …) → constructor PathPackage(string $basePath, VersionStrategyInterface $versionStrategy, ?ContextInterface $context = …) - changed:
constructor UrlPackage($baseUrls, VersionStrategyInterface $versionStrategy, ContextInterface $context = …) → constructor UrlPackage($baseUrls, VersionStrategyInterface $versionStrategy, ?ContextInterface $context = …) - changed:
method Package.getUrl($path) → method Package.getUrl(string $path) - changed:
method Package.getVersion($path) → method Package.getVersion(string $path) - changed:
method PackageInterface.getUrl($path) → method PackageInterface.getUrl(string $path) - changed:
method PackageInterface.getVersion($path) → method PackageInterface.getVersion(string $path) - changed:
method Packages.addPackage($name, PackageInterface $package) → method Packages.addPackage(string $name, PackageInterface $package) - changed:
method Packages.getPackage($name = …) → method Packages.getPackage(?string $name = …) - changed:
method Packages.getUrl($path, $packageName = …) → method Packages.getUrl(string $path, ?string $packageName = …) - changed:
method Packages.getVersion($path, $packageName = …) → method Packages.getVersion(string $path, ?string $packageName = …) - changed:
method PathPackage.getUrl($path) → method PathPackage.getUrl(string $path) - changed:
method UrlPackage.getBaseUrl($path) → method UrlPackage.getBaseUrl(string $path) - changed:
method UrlPackage.getUrl($path) → method UrlPackage.getUrl(string $path) - changed:
protected method Package.isAbsoluteUrl($url) → protected method Package.isAbsoluteUrl(string $url) - changed:
protected method UrlPackage.chooseBaseUrl($path) → protected method UrlPackage.chooseBaseUrl(string $path)
- added:
class AssetNotFoundException extends RuntimeException - added:
class RuntimeException extends \RuntimeException implements ExceptionInterface - added:
constructor AssetNotFoundException(string $message, array $alternatives = …, int $code = …, ?\Throwable $previous = …) - added:
method AssetNotFoundException.getAlternatives(): array
- changed:
constructor JsonManifestVersionStrategy(string $manifestPath) → constructor JsonManifestVersionStrategy(string $manifestPath, ?HttpClientInterface $httpClient = …, $strictMode = …) - changed:
constructor StaticVersionStrategy(string $version, string $format = …) → constructor StaticVersionStrategy(string $version, ?string $format = …) - changed:
method EmptyVersionStrategy.applyVersion($path) → method EmptyVersionStrategy.applyVersion(string $path) - changed:
method EmptyVersionStrategy.getVersion($path) → method EmptyVersionStrategy.getVersion(string $path) - changed:
method JsonManifestVersionStrategy.applyVersion($path) → method JsonManifestVersionStrategy.applyVersion(string $path) - changed:
method JsonManifestVersionStrategy.getVersion($path) → method JsonManifestVersionStrategy.getVersion(string $path) - changed:
method StaticVersionStrategy.applyVersion($path) → method StaticVersionStrategy.applyVersion(string $path) - changed:
method StaticVersionStrategy.getVersion($path) → method StaticVersionStrategy.getVersion(string $path) - changed:
method VersionStrategyInterface.applyVersion($path) → method VersionStrategyInterface.applyVersion(string $path) - changed:
method VersionStrategyInterface.getVersion($path) → method VersionStrategyInterface.getVersion(string $path) - added:
class RemoteJsonManifestVersionStrategy implements VersionStrategyInterface - added:
constructor RemoteJsonManifestVersionStrategy(string $manifestUrl, HttpClientInterface $httpClient) - added:
method RemoteJsonManifestVersionStrategy.applyVersion(string $path) - added:
method RemoteJsonManifestVersionStrategy.getVersion(string $path)