Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
This release contains two potential backwards compatibility breaks:
- In versions prior to 1.2.0, after
with*()operations were performed as no-ops, which led to hard-to-detect errors. Starting with 1.2.0, they now raise a
- In versions prior to 1.2.0,
Zend\Stratigility\FinalHandleralways provided exception details in the response payload for errors. Starting with 1.2.0, it only does so if not in a production environment (which is the default environment).
- #36 adds a new
InvalidMiddlewareException, with the static factory
fromValue()that provides an exception message detailing the invalid type.
MiddlewarePipenow throws this exception from the
pipe()method when a non-callable value is provided.
- #46 adds
FinalHandler::setOriginalResponse(), allowing you to alter the response used for comparisons when the
- #37 and #49 add support in
Zend\Stratigility\Dispatchto catch PHP 7