Releases: KnpLabs/packagist-api
Releases · KnpLabs/packagist-api
v2.1.0
What's Changed
- Add new properties to Package, Version, and Maintainer by @robbieaverill in #98
New support added for properties:
- Package:
getGithubWatchers()
,getGithubOpenIssues()
,getLanguage()
- Version:
getSupport()
,getTargetDir()
,getDefaultBranch()
- Maintainer:
getAvatarUrl()
Full Changelog: v2.0.3...v2.1.0
v2.0.3
What's Changed
- Confirm tests fail on PHP 8.2 by @GrahamCampbell in #94
- Unknown properties from the Packagist API are no longer set on AbstractResult by @robbieaverill in #96
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- Test PHP 7.4 and 8.0 in GitHub Actions by @robbieaverill in #90
- Check types by @garak in #89
Full Changelog: v2.0.1...v2.0.2
v2.0.1
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
v2.0.0-rc3
What's Changed
- 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
- @GuySartorelli made their first contribution in #86
Full Changelog: v2.0.0-rc1...v2.0.0-rc3
v2.0.0-rc1
Overview
Release candidate for 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
Change history
- Requesting a package that results in a 404 now throws a PackageNotFoundException (Robbie Averill) - 7e8b332
- Refactor logic in multiRespond(), update getComposer() doc block, fix tests (Robbie Averill) - 5791523
- fix: getComposer method (Andrea Giannantonio) - 9bc68b0
- Mark shasum and reference property of Dist as nullable (jdrieghe) - ca44317
- Decouple Dist from Source object. (jdrieghe) - c0d32f1
- Add tests to prove that nullable reference or shasum in Dist will cause the object hydration to fail (jdrieghe) - 82a7266
- Run CI on pull requests as well as push (Robbie Averill) - b8eeec1
- Fix the handling of minified metadata responses (Christophe Coevoet) - bc3a194
- Update badge in readme (Robbie Averill) - 6e09b6f
- Use PHP 8.0 in CI (Robbie Averill) - 00cec8e
- Replace Travis CI with GitHub Actions (Robbie Averill) - 9f64ad7
- Fix the specs to pass (Christophe Coevoet) - 89cfb7f
- feat: add method to fetch package info from new composer 2 api and override getComposer to use new api (Andrea Giannantonio) - 179847d
- Fix broken unit test (Robbie Averill) - ca668d4
- fix limit check in search (Massimiliano Arione) - 3bd3a7b
- Avoid strict typing errors (Ingo Schommer) - e45df2b
- Update src/Packagist/Api/Result/Factory.php (Ingo Schommer) - 0837c9a
- Update README.md (Ingo Schommer) - c2d2264
- NEW getComposer() for more efficient Packagist API usage (Ingo Schommer) - 37a9b1e
- Update return types, make licenses an array, update phpspec tests (Robbie Averill) - 2086ee8
- Run automated PSR-12 linting (Robbie Averill) - 75091f0
- Update specs to use short array syntax and public function visibility (Robbie Averill) - 9610cc3
- Add scalar return types and property types (Robbie Averill) - dc5089e
- Add PSR-4 autoloader for spec folder, remove custom bin directory (Robbie Averill) - ced5f92
- Increase minimum required PHP version to 7.4, swap PSR-0 for PSR-4 autoloader (Robbie Averill) - c1758b5
v1.7.2
- Fix bug where packages with a null description would cause a return type error (Robbie Averill) - c676ce0
- Fix broken Guzzle mocks in ClientSpec tests (Robbie Averill) - 8fd1411
- Fix composer commands for linting and tests (Robbie Averill) - d8c7df0
- Fix linting violations (Robbie Averill) - 3db3562
- Run CI on pull requests as well as push (Robbie Averill) - ceccc18
- Update badge in readme (Robbie Averill) - 87c6788
- Use PHP 8.0 in CI (Robbie Averill) - cb58cd9
- Replace Travis CI with GitHub Actions (Robbie Averill) - 9aefe28
v1.7.0
- Fixes (Graham Campbell) - 9f4259e
- Use correct case for guzzle request call (Graham Campbell) - 4d4067a
- Update .travis.yml (Graham Campbell) - 339db1f
- Support Guzzle 7 and PHP 8 (Graham Campbell) - e0ca27e
- fix typo (Massimiliano Arione) - 7657a93
- add "limit" option to search (Massimiliano Arione) - e45a021