Releases: woohoolabs/yin-middleware
Releases · woohoolabs/yin-middleware
2.0.0
ADDED:
- Support for PSR-11
CHANGED:
- Increased minimum PHP version requirement to 7.0
- Yin 2.0.0 is minimally required
- The default request attribute name storing the callable to be dispatched to "__action" in
JsonApiDispatcherMiddleware
DispatcherMiddleware
now usesExceptionFactory::createResourceNotFoundException()
forError 404
responsesJsonApiErrorHandlerMiddleware
now accepts anExceptionFactory
as an optional constructor argument
REMOVED:
- Support for Container-Interop
1.0.0
ADDED:
- Support for Yin 1.0.0
CHANGED:
- Updated minimum PHP version requirement to PHP 5.6
- The
exceptionFactory
parameter ofJsonApiResponseValidatorMiddleware
andJsonApiResponseValidatorMiddleware
became optional
0.8.0
ADDED:
- Support for PHPUnit 5.0
- Support for PHP 7 exception handling
CHANGED:
- Renamed project to Yin-Middleware
- The library now requires Yin 0.11.0
- Improved Travis config
0.7.1
CHANGED:
- Improved compatibility for other middleware dispatchers
0.7.0
CHANGED:
- Return a Response object for all the middlewares
0.6.0
CHANGED:
- The library now requires Yin 0.10.0
0.5.0
ADDED:
- Configuration option for
JsonApiDispatcherMiddleware
to define the request attribute name storing the route handler - Configuration option for
JsonApiErrorHandler
whether to catch or notJsonApiException
-s
CHANGED:
- Woohoo Labs. Yin 0.8.0 is the minimum requirement
JsonApiDispatcherMiddleware
dispatches the route handler from the container when it is not acallable
FIXED:
- PHP version constraint in composer.json
0.4.0
CHANGED
JsonApiCatchingDispatcherMiddleware
is nowJsonApiErrorHandlerMiddleware
- Woohoo Labs. Yin 0.7.0 is the minimum requirement
0.3.0
CHANGED:
- Woohoo Labs. Yin 0.6.0 is the minimum requirement
JsonApiCatchingDispatcherMiddleware
handles more exceptions- Updated JSON API schema
FIXED:
JsonApiDispatcherMiddleware
returns an error when the current route can't be found- Request body now doesn't get validated
0.2.0
ADDED:
JsonApiCatchingDispatcherMiddleware
makes error handling easier
CHANGED:
- Woohoo Labs. Yin 0.4.2 is the minimum requirement
FIXED:
JsonApiDispatcherMiddleware
returns an error when the current route can't be found