Expressive v3.1.0 Release Notes
Release Date: 2018-07-30 // over 5 years ago-
โ Added
- Nothing.
๐ Changed
- #629 changes the constructor of
Zend\Expressive\Middleware\ErrorResponseGenerator
to accept an additional, optional argument,$layout
, which defaults to a new constant value,ErrorResponseGenerator::LAYOUT_DEFAULT
, orlayout::default
.Zend\Expressive\Container\ErrorResponseGeneratorFactory
now also looks for the configuration valuezend-expressive.error_handler.layout
, and will use that value to seed the constructor argument. This change makes theErrorResponseGenerator
mirror theNotFoundHandler
, allowing for a consistent layout between the two error pages.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
- Nothing.