Releases: woohoolabs/yin-middleware
Releases · woohoolabs/yin-middleware
4.2.1
4.2.0
4.1.1
CHANGED:
- Improved conformance to PSR-12
- Added more property type declarations
4.1.0
CHANGED:
- Increased minimum PHP version requirement to 7.4 as property type declarations were added
- Updated dev dependencies
- Improved static analysis
4.0.0
CHANGED:
- Updated Yin to 4.0.0
JsonApiRequestValidatorMiddleware
will throw aRequestException
if the request isn't instance of Yin'sRequestInterface
- Apply the Woohoo Labs. Coding Standard
4.0.0-beta1
CHANGED:
- Updated Yin to 4.0.0
JsonApiRequestValidatorMiddleware
will throw aRequestException
if the request isn't instance of Yin'sRequestInterface
- Apply the Woohoo Labs. Coding Standard
3.0.1
REMOVED:
JsonApiExceptionHandlerMiddleware
accidentally catchingThrowable
s (breaking change)
FIXED:
JsonApiExceptionHandlerMiddleware
caughtThrowable
s by default, but it prevented child middleware to catch other exceptions
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
2.2.0
CHANGED:
- Yin 3.0.0 is minimally required
2.1.0
ADDED:
- Tests
CHANGED:
- Increased minimum PHP version requirement to 7.1