Skip to content

2.0.1

Compare
Choose a tag to compare
@Jean85 Jean85 released this 28 Jan 14:07
· 44 commits to 2.x since this release
2.0.1
6d9ae9a

This small patch handles replaced and provided packages, so that consumers of this library can handle bad requests gracefully.

Added

  • Add VersionMissingExceptionInterface, and two exceptions implementing it: ProvidedPackageException and ReplacedPackageException

Fixed

  • Throw explicit ProvidedPackageException when asking for the version of a package which is provided (was \TypeError before)
  • Throw explicit ReplacedPackageException when asking for the version of a package which is replaced (was \TypeError before)