Laminas Stratigility v1.1.0 Release Notes

Release Date: 2015-06-25 // over 7 years ago
  • โž• Added

    • zendframework/zend-stratigility#13 adds Utils::getStatusCode($error, ResponseInterface $response); this static method will attempt to use an exception code as an HTTP status code, if it falls in a valid HTTP error status range. If the error is not an exception, it ensures that the status code is an error status.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • โšก๏ธ zendframework/zend-stratigility#12 updates FinalHandler such that it will return the response provided at invocation if it differs from the response at initialization (i.e., a new response instance, or if the body size has changed). This allows you to safely call $next() from all middleware in order to allow post-processing.