3.0.0
ADDED:
- Support for PSR-15 (breaking change)
CHANGED:
JsonApiErrorHandlerMiddleware
was renamed toJsonApiExceptionHandlerMiddleware
(breaking change)JsonApiExceptionHandlerMiddleware
expects aResponseInterface
instance as the first constructor parameter to use it as an error response prototype (breaking change)JsonApiExceptionHandlerMiddleware
catches and handlesThrowable
s 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