Skip to content

3.0.0

Compare
Choose a tag to compare
@kocsismate kocsismate released this 02 Feb 09:21
· 90 commits to master since this release
3.0.0
40381dc

ADDED:

  • Support for PSR-15 (breaking change)

CHANGED:

  • JsonApiErrorHandlerMiddleware was renamed to JsonApiExceptionHandlerMiddleware (breaking change)
  • JsonApiExceptionHandlerMiddleware expects a ResponseInterface instance as the first constructor parameter to use it as an error response prototype (breaking change)
  • JsonApiExceptionHandlerMiddleware catches and handles Throwables by default (breaking change)
  • JsonApiDispatcherMiddleware throws an exception instead of responding with an error 404 response if it can not find any dispatchable action (breaking change)
  • PHPUnit 7 is minimally required to run tests