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.
    • ๐Ÿ›  #405 fixes how the TemplatedErrorHandler injects templated content into the response. Previously, it would write() 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 new Zend\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.