packagist jean85/pretty-package-versions 2.0.1

latest releases: 2.x-dev, dev-dependabot/github_actions/ramsey/composer-install-3, dev-dependabot/github_actions/actions/checkout-4...
3 years ago

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)

Don't miss a new pretty-package-versions release

NewReleases is sending notifications on new releases.