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

Commit 30ad8d9

Browse files
committed
Added CHANGELOG for #405
1 parent afbea4c commit 30ad8d9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ All notable changes to this project will be documented in this file, in reverse
2525
is not available.
2626
- no router is specified, and the class `Zend\Expressive\Router\FastRouteRouter`
2727
is not available.
28+
- [#405](https://github.com/zendframework/zend-expressive/pull/405) fixes how
29+
the `TemplatedErrorHandler` injects templated content into the response.
30+
Previously, it would `write()` directly to the existing response body, which
31+
could lead to issues if previous middleware had written to the response (as
32+
the templated contents would append the previous contents). With this release,
33+
it now creates a new `Zend\Diactoros\Stream`, writes to that, and returns a
34+
new response with that new stream, guaranteeing it only contains the new
35+
contents.
2836

2937
## 1.0.4 - 2016-12-07
3038

0 commit comments

Comments
 (0)