Laminas Diactoros v1.1.3 Release Notes

Release Date: 2015-08-10 // almost 7 years ago
  • โž• Added

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  zendframework/zend-diactoros#71 fixes the docblock of the JsonResponse constructor to typehint the $data argument as mixed.
    • zendframework/zend-diactoros#73 changes the behavior in Request such that if it marshals a stream during instantiation, the stream is marked as writeable (specifically, mode wb+).
    • โšก๏ธ zendframework/zend-diactoros#85 updates the behavior of Laminas\Diactoros\Uri's various with*() methods that are documented as accepting strings to raise exceptions on non-string input. Previously, several simply passed non-string input on verbatim, others normalized the input, and a few correctly raised the exceptions. Behavior is now consistent across each.
    • ๐Ÿ›  zendframework/zend-diactoros#87 fixes UploadedFile to ensure that moveTo() works correctly in non-SAPI environments when the file provided to the constructor is a path.