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

zend-diactoros 1.8.6

Compare
Choose a tag to compare
@weierophinney weierophinney released this 05 Sep 19:34
· 227 commits to master since this release

Added

  • Nothing.

Changed

  • #325 changes the behavior of ServerRequest::withParsedBody(). Per
    PSR-7, it now no longer allows values other than null, arrays, or objects.

  • #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

  • Nothing.

Removed

  • Nothing.

Fixed

  • #325 ensures that Uri::withUserInfo() no longer ignores values of
    0 (numeric zero).

  • #325 fixes how header values are merged when calling
    withAddedHeader(), ensuring that array keys are ignored.