v2.0.0
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
- @JellyBellyDev made their first contribution in #72
- @stof made their first contribution in #74
- @jdrieghe made their first contribution in #78
- @GuySartorelli made their first contribution in #86
Full Changelog: v1.7.0...v2.0.0