Laminas Diactoros v1.4.1 Release Notes

Release Date: 2017-08-17 // over 4 years ago
  • โž• Added

    • Nothing.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    ๐Ÿ›  Fixed

    • ๐Ÿ›  zendframework/zend-diactoros#247 fixes the Stream and RelativeStream __toString() method implementations to check if the stream isSeekable() before attempting to rewind() it, ensuring that the method does not raise exceptions (PHP does not allow exceptions in that method). In particular, this fixes an issue when using AWS S3 streams.

    • zendframework/zend-diactoros#252 provides a fix to the SapiEmitterTrait to ensure that any Set-Cookie headers in the response instance do not override those set by PHP when a session is created and/or regenerated.

    • zendframework/zend-diactoros#257 provides a fix for the PhpInputStream::read() method to ensure string content that evaluates as empty (including 0) is still cached.

    • โšก๏ธ zendframework/zend-diactoros#258 updates the Uri::filterPath() method to allow parens within a URI path, per RFC 3986 section 3.3 (parens are within the character set "sub-delims").