Skip to content

Releases: KnpLabs/packagist-api

v2.0.0-rc1

01 Mar 19:59
v2.0.0-rc1
6fbf8a3

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

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

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

Choose a tag to compare

  • Update Keywords type (Vincent Langlet) - d948e6b
  • Add requirements to readme and remove broken dependency badges (Robbie Averill) - 8d2a9a9

v1.6.0

01 Dec 01:06
v1.6.0
415e39a

Choose a tag to compare

  • allow doctrine/inflector 2 (Massimiliano Arione) - 421e2a4
  • Fix all phpstan errors are level 7 (Robbie Averill) - 5352c68
  • Upgrade phpspec to 5.1 (Robbie Averill) - 952f468
  • Add PHP 7.3 and fix bin path to phpcs (Robbie Averill) - 32558c4
  • Fix PSR-2 linting errors and add lint check to Travis (Robbie Averill) - e8f4852
  • Add getReplacementPackage() for abandoned packages and package versions (Robbie Averill) - 876299d
  • Remove broken HHVM badge from readme (Robbie Averill) - a6ea257
  • Explicitly add maintainers in the README (alexpozzi) - 76d9018
  • Don't test hhvm anymore (Albin Kerouanton) - 8dea35e
  • Drop support for PHP 5.5, 5.6 and 7.0 (Albin Kerouanton) - cfcd783

v1.5.1

19 Jan 08:18
74dbe93

Choose a tag to compare

  • Add GitHub forks and GitHub stars (#46)
  • Package version sources can be null (#48)

Credits go to: @kmadejski and @soullivaneuh.

v1.5.0

31 May 17:31

Choose a tag to compare

  • Add suggesters property
  • Add dependents property

Thank you @chadicus for your contributions!

v1.4.0

30 May 08:04

Choose a tag to compare

  • Little fixes
  • Added abandoned flag for packages and versions
  • Use newest version of guzzle aka guzzlehttp
  • Drop support for php 5.3 & 5.4

Thank you @GrahamCampbell, @soullivaneuh, @psampaz, @Flyingmana & @MarioBlazek for your contributions!

1.3.0: Merge pull request #30 from vinkla/attributes

17 Sep 11:52

Choose a tag to compare

Add gitattributes for smaller download size

v1.2 stable

15 Oct 10:17

Choose a tag to compare

Merge pull request #16 from fezfez/master

Add repository to Results DTO + correct favers