Expressive v1.0.5 Release Notes
Release Date: 2016-12-08 // over 7 years ago-
โ Added
- Nothing.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- โก๏ธ #403 updates the
AppFactory::create()
logic to raise exceptions in either of the following scenarios:- no container is specified, and the class
Zend\ServiceManager\ServiceManager
is not available. - no router is specified, and the class
Zend\Expressive\Router\FastRouteRouter
is not available.
- no container is specified, and the class
- ๐ #405 fixes how
the
TemplatedErrorHandler
injects templated content into the response. Previously, it wouldwrite()
directly to the existing response body, which could lead to issues if previous middleware had written to the response (as the templated contents would append the previous contents). With this release, it now creates a newZend\Diactoros\Stream
, writes to that, and returns a new response with that new stream, guaranteeing it only contains the new contents. - ๐ #404 fixes the
swallowDeprecationNotices()
handler such that it will not swallow a global handler once application execution completes.