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

Expressive 1.0.0rc7

Compare
Choose a tag to compare
@weierophinney weierophinney released this 21 Jan 15:29
· 1547 commits to master since this release

Added

  • #277 adds a new class, Zend\Expressive\ErrorMiddlewarePipe. It composes a Zend\Stratigility\MiddlewarePipe, but implements the error middleware signature via its own __invoke() method.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #277 updates the MarshalMiddlewareTrait to create and return an ErrorMiddlewarePipe when the $forError argument provided indicates error middleware is expected. This fix allows defining arrays of error middleware via configuration.