Skip to content

Releases: Firehed/api

3.2.2

12 Feb 22:15
c4a3fa7
Compare
Choose a tag to compare

This release fixes some compatibility issues with PHPUnit 8

3.2.1

24 Oct 23:35
2f0a045
Compare
Choose a tag to compare

Allow Zend Diactoros 1.3 or 2.0

3.2.0

19 Sep 22:00
Compare
Choose a tag to compare

[3.2.0] - 2018-09-19

Summary

  • Added support for PATCH HTTP method
  • Fixes regression in test suite with latest PHPUnit version

Added

  • Traits\Request\Patch

3.1.0

02 Jul 01:38
ffa5ac2
Compare
Choose a tag to compare

[3.1.0] - 2018-07-01

Summary

  • Overhauled authentication (#43)
  • Overhauled error handling (#37, #38, #63)
  • Added support for PSR-15 Middleware (#59)
  • Added additional documentation in the README (#66)

Added

  • Authentication\ProviderInterface
  • Authorization\ProviderInterface
  • Errors\HandlerInterface
  • Interfaces\AuthenticatedEndpointInterface
  • Interfaces\HandlesOwnErrorsInterface

Changed

  • Internal refactoring
  • If a RequestInterface object is provided to the dispatcher, it will be internally converted to a ServerRequestInterface to ensure compatibility with Middleware and error handling.
    Relying on this functionality is deprecated from the start, highly discouraged, and may be imperfect.

Deprecated

  • Deprecated ErrorHandler (#37)
  • Deprecated use of base RequestInterface (#48)
  • Deprecated the BearerToken authentication trait (#73)

3.0.6

30 Apr 21:56
95f4ea1
Compare
Choose a tag to compare

Fixes incorrect return type definition in endpoint test trait

3.0.5

03 Apr 18:19
c3f8726
Compare
Choose a tag to compare

Removes the dependency on fguillot/simplelogger, which has been abandoned and apparently deleted or moved.

Be cautious when updating to this version in case you were using that package as an implicit dependency - you will now need to explicitly add it to your project's composer.json file (or find a suitable replacement). Since implicitly relying on a package's dependencies is against best practices, I am treating this as a non-breaking release.

3.0.4

23 Feb 19:09
c087798
Compare
Choose a tag to compare

Add support for OPTIONS requests

3.0.3

08 Jan 21:07
5221717
Compare
Choose a tag to compare

Fixes an issue where Content-type headers with directives would result in a 400 error

3.0.2

03 Jan 19:30
d7333a4
Compare
Choose a tag to compare

Expands endpoint test trait to allow easy testing of URIs that should and should not be matched by the endpoint.

3.0.1

01 Dec 23:35
9e05030
Compare
Choose a tag to compare

Minor bugfixes relating to configuration loading. Details in changelog