Laminas Diactoros v1.8.6 Release Notes
Release Date: 2018-09-05 // over 5 years ago-
โ Added
- Nothing.
๐ Changed
- ๐ zendframework/zend-diactoros#325 changes the behavior of
ServerRequest::withParsedBody()
. Per PSR-7, it now no longer allows values other than
null
, arrays, or objects.zendframework/zend-diactoros#325 changes the behavior of each of
Request
,ServerRequest
, andResponse
in relation to the validation of header values. Previously, we allowed empty arrays to be provided viawithHeader()
; however, this was contrary to the PSR-7 specification. Empty arrays are no longer allowed.
๐ Deprecated
- Nothing.
โ Removed
- Nothing.
๐ Fixed
zendframework/zend-diactoros#325 ensures that
Uri::withUserInfo()
no longer ignores values of0
(numeric zero).๐ zendframework/zend-diactoros#325 fixes how header values are merged when calling
withAddedHeader()
, ensuring that array keys are ignored.