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

Commit 10efc9c

Browse files
committed
Adds CHANGELOG entry for #629
Also sets date for 3.1.0 release.
1 parent 5baf0e1 commit 10efc9c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,22 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
## 3.1.0 - TBD
5+
## 3.1.0 - 2018-07-30
66

77
### Added
88

99
- Nothing.
1010

1111
### Changed
1212

13-
- Nothing.
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.
1421

1522
### Deprecated
1623

0 commit comments

Comments
 (0)