Releases: zendframework/zend-http
zend-http 2.11.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #207 fixes case sensitivity for SameSite directive.
zend-http 2.11.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
zend-http 2.11.0
Added
-
#175 adds support for Content Security Policy Level 3 Header directives.
-
#200 adds support for additional directives in Content Security Policy header:
block-all-mixed-content,require-sri-for,trusted-types,upgrade-insecure-requests.
-
#177 adds support for Feature Policy header.
-
#186 adds support for SameSite directive in Set-Cookie header.
Changed
- #194 changes range of valid HTTP status codes to 100-599 (inclusive).
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #200 fixes support for directives without value in Content Security Policy header.
zend-http 2.10.1
Added
- Nothing.
Changed
- #190 changes
ContentSecurityPolicyto allow multiple values. Before it was not possible to provide multiple headers of that type.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#184 fixes responses for request through the proxy with
HTTP/1.1 200 Connection establishedheader. -
#187 fixes infinite recursion on invalid header. Now
InvalidArgumentExceptionexception is thrown. -
#188 fixes
Client::setCookiesmethod to properly handle array ofSetCookieobjects. Per documentation it should be allowed. -
#189 fixes
Headers::toArraymethod to properly handle headers of the same type. Behaviour was different depends how header has been attached (addHeaderoraddHeaderLinebroken before). -
#198 fixes merging options in Curl adapter. It was not possible to override integer-key options (constants) set via constructor with method
setOptions. -
#198 fixes allowed options type in
Proxy::setOptions.Traversable,arrayorZend\Configobject is expected. -
#198 fixes various issues with
Proxyadapter. -
#199 fixes saving resource to the file when streaming while client supports compression. Before, incorrectly, compressed resource was saved into the file.
zend-http 2.10.0
Added
- #173 adds support for HTTP/2 requests and responses.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
zend-http 2.8.4
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #168 fixes a problem when validating the connection timeout for the
Curland
Socketclient adapters; it now correctly identifies both integer and string
integer values.
zend-http 2.9.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #168 fixes a problem when validating the connection timeout for the
Curland
Socketclient adapters; it now correctly identifies both integer and string
integer values.
zend-http 2.9.0
Added
-
#154 adds the method
SetCookie::setEncodeValue(). By default, Set-Cookie
values are passed throughurlencode(); when a booleanfalseis provided to
this new method, the raw value will be used instead. -
#166 adds support for PHP 7.3.
Changed
-
#154 changes the behavior of
SetCookie::fromString()slightly: if the parsed
cookie value is the same as the one passed throughurldecode(), the
SetCookieheader's$encodeValueproperty will be toggled off to ensure the
value is not encoded in subsequent serializations, thus retaining the
integrity of the value between usages. -
#161 changes how the Socket and Test adapters aggregate headers. Previously,
they woulducfirst()the header name; now, they correctly leave the header
names untouched, as header names should be considered case-insensitive. -
#156 changes how gzip and deflate decompression occur in responses, ensuring
that if the Content-Length header reports 0, no decompression is attempted,
and an empty string is returned.
Deprecated
- Nothing.
Removed
- #166 removes support for zend-stdlib v2 releases.
Fixed
- Nothing.
zend-http 2.8.3
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#165 fixes detection of the base URL when operating under a CLI environment.
-
#149 provides fixes to
Client::setUri()to ensure its status as a relative
or absolute URI is correctly memoized. -
#162 fixes a typo in an exception message raised within
Cookies::fromString(). -
#121 adds detection for non-numeric connection timeout values as well as
integer casting to ensure the timeout is set properly in both the Curl and
Socket adapters.
zend-http 2.8.2
Added
- Nothing.
Changed
- #153 changes the reason phrase associated with the status code 425
from "Unordered Collection" to "Too Early", corresponding to a new definition
of the code as specified by the IANA.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #151 fixes how Referer and other location-based headers report problems with
invalid URLs provided in the header value, raising aZend\Http\Exception\InvalidArgumentException
in such cases. This change ensures the behavior is consistent with behavior
prior to the 2.8.0 release.