Skip to content

3.1.0

Compare
Choose a tag to compare
@Firehed Firehed released this 02 Jul 01:38
· 40 commits to master since this release
ffa5ac2

[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)