This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
Releases: zendframework/zend-diactoros
Releases · zendframework/zend-diactoros
zend-diactoros 2.2.1
Added
- Nothing.
Changed
- #379 removes extension of
SplFileInfo
by theUploadedFile
class. The signatures ofgetSize()
are potentially incompatible, andUploadedFile
is intended to work with arbitrary PHP and PSR-7 streams, whereasSplFileInfo
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
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 extendSplFileInfo
, allowing developers to make use of those features in their applications.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-diactoros 2.1.5
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
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 asCONTENT_SECURITY_POLICY
, which would previously resolve improperly tocontent-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
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 ofhttp
and nothttps
.
zend-diactoros 2.1.3
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 ofhttp
and not
https
.
zend-diactoros 2.1.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #355 adds
phpdbg
to the list of accepted non-SAPI enviornments for purposes
of callingUploadedFile::moveTo()
.
zend-diactoros 2.1.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #349 fixes an issue when marshaling headers with values of
0
or0
from the SAPI, ensuring they are detected and injected into the ServerRequest properly.
zend-diactoros 2.0.3
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #349 fixes an issue when marshaling headers with values of
0
or0
from the
SAPI, ensuring they are detected and injected into the ServerRequest properly.
zend-diactoros 2.1.0
Added
- #345 adds support for PHP 7.3.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.