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

Releases: zendframework/zend-diactoros

zend-diactoros 2.2.1

13 Nov 19:18
2.2.1
Compare
Choose a tag to compare

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.

zend-diactoros 2.2.0

12 Nov 17:26
2.2.0
Compare
Choose a tag to compare

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.

zend-diactoros 2.1.5

10 Oct 17:41
2.1.5
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #372 fixes issues that occur in the Zend\Diactoros\Uri class when invalid UTF-8 characters are present the user-info, path, or query string, ensuring they are URL-encoded before being consumed. Previously, such characters could result in a fatal error, which was particularly problematic when marshaling the request URI for an application request cycle.

zend-diactoros 2.1.4

08 Oct 20:15
2.1.4
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #370 updates Zend\Diactoros\marshalHeadersFromSapi() to ensure all underscores in header name keys are converted to dashes (fixing issues with header names such as CONTENT_SECURITY_POLICY, which would previously resolve improperly to content-security_policy).

  • #370 updates Zend\Diactoros\marshalHeadersFromSapi() to ignore header names from the $server array that resolve to integers; previously, it would raise a fatal error.

zend-diactoros 1.8.7

06 Aug 18:21
1.8.7
a85e67b
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #364 modifies detection of HTTPS schemas via the $_SERVER['HTTPS'] value such that an empty HTTPS-key will result in a scheme of http and not https.

zend-diactoros 2.1.3

10 Jul 16:20
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #363 modifies detection of HTTPS schemas via the $_SERVER['HTTPS'] value
    such that an empty HTTPS-key will result in a scheme of http and not
    https.

zend-diactoros 2.1.2

29 Apr 21:11
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #355 adds phpdbg to the list of accepted non-SAPI enviornments for purposes
    of calling UploadedFile::moveTo().

zend-diactoros 2.1.1

05 Jan 20:20
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #349 fixes an issue when marshaling headers with values of 0 or 0 from the SAPI, ensuring they are detected and injected into the ServerRequest properly.

zend-diactoros 2.0.3

05 Jan 20:19
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #349 fixes an issue when marshaling headers with values of 0 or 0 from the
    SAPI, ensuring they are detected and injected into the ServerRequest properly.

zend-diactoros 2.1.0

20 Dec 16:57
Compare
Choose a tag to compare

Added

  • #345 adds support for PHP 7.3.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.