Skip to content

Releases: KnpLabs/packagist-api

v2.1.0

07 Dec 07:51
4634b39
Compare
Choose a tag to compare

What's Changed

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

06 Dec 17:57
f731d03
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

18 Jan 17:04
31d67ac
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

v2.0.1

08 Dec 08:30
90002e5
Compare
Choose a tag to compare

What's Changed

  • Fix access error in Maintainer by @Sebobo in #87

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

11 Aug 22:59
v2.0.0
0c5c7e2
Compare
Choose a tag to compare

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

v2.0.0-rc3

08 Aug 22:07
v2.0.0-rc3
0c5c7e2
Compare
Choose a tag to compare
v2.0.0-rc3 Pre-release
Pre-release

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

Full Changelog: v2.0.0-rc1...v2.0.0-rc3

v2.0.0-rc1

01 Mar 19:59
v2.0.0-rc1
6fbf8a3
Compare
Choose a tag to compare
v2.0.0-rc1 Pre-release
Pre-release

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

01 Mar 08:22
v1.7.2
4feae22
Compare
Choose a tag to compare
  • 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

01 Dec 01:07
v1.7.0
d1fa623
Compare
Choose a tag to compare
  • 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

v1.6.1

01 Dec 01:06
v1.6.1
6194b1a
Compare
Choose a tag to compare
  • Update Keywords type (Vincent Langlet) - d948e6b
  • Add requirements to readme and remove broken dependency badges (Robbie Averill) - 8d2a9a9