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

Tags: zendframework/zend-http

Tags

release-2.11.2

Toggle release-2.11.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
weierophinney Matthew Weier O'Phinney
zendframework/zend-http 2.11.2

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#207](#207) fixes case sensitivity for SameSite directive.

release-2.11.1

Toggle release-2.11.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-http 2.11.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

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

- [#182](#182) fixes detecting base uri in Request. Now `argv` is used only for CLI request as a fallback to detect script filename.

release-2.11.0

Toggle release-2.11.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-http 2.11.0

Added
-----

- [#175](#175) adds support for Content Security Policy Level 3 Header directives.

- [#200](#200) adds support for additional directives in Content Security Policy header:
  - `block-all-mixed-content`,
  - `require-sri-for`,
  - `trusted-types`,
  - `upgrade-insecure-requests`.

- [#177](#177) adds support for Feature Policy header.

- [#186](#186) adds support for SameSite directive in Set-Cookie header.

Changed
-------

- [#194](#194) changes range of valid HTTP status codes to 100-599 (inclusive).

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#200](#200) fixes support for directives without value in Content Security Policy header.

release-2.10.1

Toggle release-2.10.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-http 2.10.1

Added
-----

- Nothing.

Changed
-------

- [#190](#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](#184) fixes responses for request through the proxy with `HTTP/1.1 200 Connection established` header.

- [#187](#187) fixes infinite recursion on invalid header. Now `InvalidArgumentException` exception is thrown.

- [#188](#188) fixes `Client::setCookies` method to properly handle array of `SetCookie` objects. Per [documentation](https://docs.zendframework.com/zend-http/client/cookies/#usage) it should be allowed.

- [#189](#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](#198) fixes merging options in Curl adapter. It was not possible to override integer-key options (constants) set via constructor with method `setOptions`.

- [#198](#198) fixes allowed options type in `Proxy::setOptions`. `Traversable`, `array` or `Zend\Config` object is expected.

- [#198](#198) fixes various issues with `Proxy` adapter.

- [#199](#199) fixes saving resource to the file when streaming while client supports compression. Before, incorrectly, compressed resource was saved into the file.

release-2.10.0

Toggle release-2.10.0's commit message
zend-http 2.10.0

Added
-----

- [#173](#173) adds support for HTTP/2 requests and responses.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- Nothing.

release-2.8.4

Toggle release-2.8.4's commit message
zend-http 2.8.4

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#168](#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.

release-2.9.1

Toggle release-2.9.1's commit message
zend-http 2.9.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#168](#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.

release-2.9.0

Toggle release-2.9.0's commit message
zend-http 2.9.0

Added
-----

- [#154](#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](#166) adds support for PHP 7.3.

Changed
-------

- [#154](#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](#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](#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](#166) removes support for zend-stdlib v2 releases.

Fixed
-----

- Nothing.

release-2.8.3

Toggle release-2.8.3's commit message
zend-http 2.8.3

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#165](#165) fixes detection of the base URL when operating under a CLI environment.

- [#149](#149) provides fixes to `Client::setUri()` to ensure its status as a relative
  or absolute URI is correctly memoized.

- [#162](#162) fixes a typo in an exception message raised within `Cookies::fromString()`.

- [#121](#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.

release-2.8.2

Toggle release-2.8.2's commit message
zend-http 2.8.2

Added
-----

- Nothing.

Changed
-------

- [#153](zendframework/zend-diactoros#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](#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.