Skip to content

v2.0.0

Compare
Choose a tag to compare
@robbieaverill robbieaverill released this 11 Aug 22:59
· 17 commits to master since this release
v2.0.0
0c5c7e2

v2.0.0 introduces a minimum of PHP 7.4, and a number of other changes, including:

  • Strict types, adjusted method parameter and return types
  • Exception thrown when a package was not found
  • New methods Client::getComposer(), Client::getComposerReleases(), Client::getComposerBranches() for more granular and cacheable Packagist metadata
  • Support for handling Packagist 2.0 API response structure
  • Support for accessing security advisories from the Packagist API

What's Changed

  • fix limit check in search by @garak in #70
  • feat: add methods to fetch package info from new composer 2 api by @JellyBellyDev in #72
  • Fix the specs to pass by @stof in #74
  • Replace Travis CI with GitHub Actions by @robbieaverill in #77
  • Fix the handling of minified metadata responses by @stof in #75
  • Mark reference and shasum of dist correctly as nullable by @jdrieghe in #78
  • Fix bug where packages with a null description would cause a return type error by @robbieaverill in #81
  • fix: getComposer method by @JellyBellyDev in #79
  • Requesting a package that results in a 404 now throws a PackageNotFoundException by @robbieaverill in #83
  • Fix bug where null downlaods from Packagist API would result in an internal error by @robbieaverill in #85
  • New: Add security advisories endpoint. by @GuySartorelli in #86

New Contributors

Full Changelog: v1.7.0...v2.0.0