22
33All notable changes to this project will be documented in this file, in reverse chronological order by release.
44
5- ## 3.1.0 - 2018-07-30
5+ ## 3.1.1 - TBD
66
77### Added
88
99- Nothing.
1010
1111### Changed
1212
13- - [ #629 ] ( https://github.com/zendframework/zend-expressive/pull/629 ) changes the constructor of ` Zend\Expressive\Middleware\ErrorResponseGenerator `
14- to accept an additional, optional argument, ` $layout ` , which defaults to a new
15- constant value, ` ErrorResponseGenerator::LAYOUT_DEFAULT ` , or ` layout::default ` .
16- ` Zend\Expressive\Container\ErrorResponseGeneratorFactory ` now also looks for
17- the configuration value ` zend-expressive.error_handler.layout ` , and will use
18- that value to seed the constructor argument. This change makes the
19- ` ErrorResponseGenerator ` mirror the ` NotFoundHandler ` , allowing for a
20- consistent layout between the two error pages.
13+ - Nothing.
2114
2215### Deprecated
2316
@@ -31,15 +24,22 @@ All notable changes to this project will be documented in this file, in reverse
3124
3225- Nothing.
3326
34- ## 3.0.4 - TBD
27+ ## 3.1.0 - 2018-07-30
3528
3629### Added
3730
3831- Nothing.
3932
4033### Changed
4134
42- - Nothing.
35+ - [ #629 ] ( https://github.com/zendframework/zend-expressive/pull/629 ) changes the constructor of ` Zend\Expressive\Middleware\ErrorResponseGenerator `
36+ to accept an additional, optional argument, ` $layout ` , which defaults to a new
37+ constant value, ` ErrorResponseGenerator::LAYOUT_DEFAULT ` , or ` layout::default ` .
38+ ` Zend\Expressive\Container\ErrorResponseGeneratorFactory ` now also looks for
39+ the configuration value ` zend-expressive.error_handler.layout ` , and will use
40+ that value to seed the constructor argument. This change makes the
41+ ` ErrorResponseGenerator ` mirror the ` NotFoundHandler ` , allowing for a
42+ consistent layout between the two error pages.
4343
4444### Deprecated
4545
0 commit comments