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

Releases: zendframework/zend-http

zend-http 2.11.2

30 Dec 20:49
release-2.11.2
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #207 fixes case sensitivity for SameSite directive.

zend-http 2.11.1

04 Dec 23:04
release-2.11.1
76000da
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #204 fixes numerous header classes to cast field value to string (since HeaderInterface::getFieldValue() specifies a return value of a string).

  • #182 fixes detecting base uri in Request. Now argv is used only for CLI request as a fallback to detect script filename.

zend-http 2.11.0

03 Dec 11:04
release-2.11.0
0fafa50
Compare
Choose a tag to compare

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

02 Dec 16:37
release-2.10.1
d190613
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • #190 changes ContentSecurityPolicy to 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 established header.

  • #187 fixes infinite recursion on invalid header. Now InvalidArgumentException exception is thrown.

  • #188 fixes Client::setCookies method to properly handle array of SetCookie objects. Per documentation it should be allowed.

  • #189 fixes Headers::toArray method to properly handle headers of the same type. Behaviour was different depends how header has been attached (addHeader or addHeaderLine broken 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, array or Zend\Config object is expected.

  • #198 fixes various issues with Proxy adapter.

  • #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

19 Feb 18:58
Compare
Choose a tag to compare

Added

  • #173 adds support for HTTP/2 requests and responses.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

zend-http 2.8.4

07 Feb 17:47
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #168 fixes a problem when validating the connection timeout for the Curl and
    Socket client adapters; it now correctly identifies both integer and string
    integer values.

zend-http 2.9.1

22 Jan 19:50
Compare
Choose a tag to compare

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #168 fixes a problem when validating the connection timeout for the Curl and
    Socket client adapters; it now correctly identifies both integer and string
    integer values.

zend-http 2.9.0

08 Jan 16:49
Compare
Choose a tag to compare

Added

  • #154 adds the method SetCookie::setEncodeValue(). By default, Set-Cookie
    values are passed through urlencode(); when a boolean false is 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 through urldecode(), the
    SetCookie header's $encodeValue property 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 would ucfirst() 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

08 Jan 15:56
Compare
Choose a tag to compare

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

13 Aug 18:48
Compare
Choose a tag to compare

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 a Zend\Http\Exception\InvalidArgumentException
    in such cases. This change ensures the behavior is consistent with behavior
    prior to the 2.8.0 release.