zend-diactoros v2.2.1 Release Notes

Release Date: 2019-11-13 // about 5 years ago
  • โž• Added

    • Nothing.

    ๐Ÿ”„ Changed

    • ๐Ÿ›  #379 removes extension of SplFileInfo by the UploadedFile class. The signatures of getSize() are potentially incompatible, and UploadedFile is intended to work with arbitrary PHP and PSR-7 streams, whereas SplFileInfo can only model files on the filesystem. While this is technically a BC break, we are treating it as a bugfix, as the class was broken for many use cases.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • Nothing.

Previous changes from v2.2.0

  • โž• Added

    • ๐Ÿ‘ #376 adds support for using the X-Forwarded-Host header for determining the originally requested host name when marshaling the server request.

    ๐Ÿ”„ Changed

    • โšก๏ธ #378 updates the UploadedFile class to extend SplFileInfo, allowing developers to make use of those features in their applications.

    ๐Ÿ—„ Deprecated

    • Nothing.

    โœ‚ Removed

    • Nothing.

    ๐Ÿ›  Fixed

    • Nothing.