From 5758b2e88dd63ab8fa6ac9bc573400a85184d961 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Wed, 5 Sep 2018 14:29:07 -0500 Subject: [PATCH] Adds CHANGELOG entry for #325 --- CHANGELOG.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e805f7dc..4ea9683b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 1.8.6 - TBD +## 1.8.6 - 2018-09-05 ### Added @@ -10,7 +10,13 @@ All notable changes to this project will be documented in this file, in reverse ### Changed -- Nothing. +- [#325](https://github.com/zendframework/zend-diactoros/pull/325) changes the behavior of `ServerRequest::withParsedBody()`. Per +- PSR-7, it now no longer allows values other than `null`, arrays, or objects. + +- [#325](https://github.com/zendframework/zend-diactoros/pull/325) changes the behavior of each of `Request`, `ServerRequest`, and + `Response` in relation to the validation of header values. Previously, we + allowed empty arrays to be provided via `withHeader()`; however, this was + contrary to the PSR-7 specification. Empty arrays are no longer allowed. ### Deprecated @@ -22,7 +28,11 @@ All notable changes to this project will be documented in this file, in reverse ### Fixed -- Nothing. +- [#325](https://github.com/zendframework/zend-diactoros/pull/325) ensures that `Uri::withUserInfo()` no longer ignores values of + `0` (numeric zero). + +- [#325](https://github.com/zendframework/zend-diactoros/pull/325) fixes how header values are merged when calling + `withAddedHeader()`, ensuring that array keys are ignored. ## 1.8.5 - 2018-08-10