zend-diactoros v1.8.6 Release Notes

Release Date: 2018-09-05 // almost 7 years ago
  • โž• 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.