Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Expressive 1.0.5

Compare
Choose a tag to compare
@weierophinney weierophinney released this 08 Dec 17:15
· 1305 commits to master since this release

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.