Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/updraftp.../vendor/guzzleht.../guzzle
File: CHANGELOG.md
# Change Log
[0] Fix | Delete
[1] Fix | Delete
## 6.5.5 - 2020-06-16
[2] Fix | Delete
[3] Fix | Delete
* Unpin version constraint for `symfony/polyfill-intl-idn` [#2678](https://github.com/guzzle/guzzle/pull/2678)
[4] Fix | Delete
[5] Fix | Delete
## 6.5.4 - 2020-05-25
[6] Fix | Delete
[7] Fix | Delete
* Fix various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626)
[8] Fix | Delete
[9] Fix | Delete
## 6.5.3 - 2020-04-18
[10] Fix | Delete
[11] Fix | Delete
* Use Symfony intl-idn polyfill [#2550](https://github.com/guzzle/guzzle/pull/2550)
[12] Fix | Delete
* Remove use of internal functions [#2548](https://github.com/guzzle/guzzle/pull/2548)
[13] Fix | Delete
[14] Fix | Delete
## 6.5.2 - 2019-12-23
[15] Fix | Delete
[16] Fix | Delete
* idn_to_ascii() fix for old PHP versions [#2489](https://github.com/guzzle/guzzle/pull/2489)
[17] Fix | Delete
[18] Fix | Delete
## 6.5.1 - 2019-12-21
[19] Fix | Delete
[20] Fix | Delete
* Better defaults for PHP installations with old ICU lib [#2454](https://github.com/guzzle/guzzle/pull/2454)
[21] Fix | Delete
* IDN support for redirects [#2424](https://github.com/guzzle/guzzle/pull/2424)
[22] Fix | Delete
[23] Fix | Delete
## 6.5.0 - 2019-12-07
[24] Fix | Delete
[25] Fix | Delete
* Improvement: Added support for reset internal queue in MockHandler. [#2143](https://github.com/guzzle/guzzle/pull/2143)
[26] Fix | Delete
* Improvement: Added support to pass arbitrary options to `curl_multi_init`. [#2287](https://github.com/guzzle/guzzle/pull/2287)
[27] Fix | Delete
* Fix: Gracefully handle passing `null` to the `header` option. [#2132](https://github.com/guzzle/guzzle/pull/2132)
[28] Fix | Delete
* Fix: `RetryMiddleware` did not do exponential delay between retries due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132)
[29] Fix | Delete
Previously, `RetryMiddleware` would sleep for 1 millisecond, then 2 milliseconds, then 4 milliseconds.
[30] Fix | Delete
**After this change, `RetryMiddleware` will sleep for 1 second, then 2 seconds, then 4 seconds.**
[31] Fix | Delete
`Middleware::retry()` accepts a second callback parameter to override the default timeouts if needed.
[32] Fix | Delete
* Fix: Prevent undefined offset when using array for ssl_key options. [#2348](https://github.com/guzzle/guzzle/pull/2348)
[33] Fix | Delete
* Deprecated `ClientInterface::VERSION`
[34] Fix | Delete
[35] Fix | Delete
## 6.4.1 - 2019-10-23
[36] Fix | Delete
[37] Fix | Delete
* No `guzzle.phar` was created in 6.4.0 due expired API token. This release will fix that
[38] Fix | Delete
* Added `parent::__construct()` to `FileCookieJar` and `SessionCookieJar`
[39] Fix | Delete
[40] Fix | Delete
## 6.4.0 - 2019-10-23
[41] Fix | Delete
[42] Fix | Delete
* Improvement: Improved error messages when using curl < 7.21.2 [#2108](https://github.com/guzzle/guzzle/pull/2108)
[43] Fix | Delete
* Fix: Test if response is readable before returning a summary in `RequestException::getResponseBodySummary()` [#2081](https://github.com/guzzle/guzzle/pull/2081)
[44] Fix | Delete
* Fix: Add support for GUZZLE_CURL_SELECT_TIMEOUT environment variable [#2161](https://github.com/guzzle/guzzle/pull/2161)
[45] Fix | Delete
* Improvement: Added `GuzzleHttp\Exception\InvalidArgumentException` [#2163](https://github.com/guzzle/guzzle/pull/2163)
[46] Fix | Delete
* Improvement: Added `GuzzleHttp\_current_time()` to use `hrtime()` if that function exists. [#2242](https://github.com/guzzle/guzzle/pull/2242)
[47] Fix | Delete
* Improvement: Added curl's `appconnect_time` in `TransferStats` [#2284](https://github.com/guzzle/guzzle/pull/2284)
[48] Fix | Delete
* Improvement: Make GuzzleException extend Throwable wherever it's available [#2273](https://github.com/guzzle/guzzle/pull/2273)
[49] Fix | Delete
* Fix: Prevent concurrent writes to file when saving `CookieJar` [#2335](https://github.com/guzzle/guzzle/pull/2335)
[50] Fix | Delete
* Improvement: Update `MockHandler` so we can test transfer time [#2362](https://github.com/guzzle/guzzle/pull/2362)
[51] Fix | Delete
[52] Fix | Delete
## 6.3.3 - 2018-04-22
[53] Fix | Delete
[54] Fix | Delete
* Fix: Default headers when decode_content is specified
[55] Fix | Delete
[56] Fix | Delete
[57] Fix | Delete
## 6.3.2 - 2018-03-26
[58] Fix | Delete
[59] Fix | Delete
* Fix: Release process
[60] Fix | Delete
[61] Fix | Delete
[62] Fix | Delete
## 6.3.1 - 2018-03-26
[63] Fix | Delete
[64] Fix | Delete
* Bug fix: Parsing 0 epoch expiry times in cookies [#2014](https://github.com/guzzle/guzzle/pull/2014)
[65] Fix | Delete
* Improvement: Better ConnectException detection [#2012](https://github.com/guzzle/guzzle/pull/2012)
[66] Fix | Delete
* Bug fix: Malformed domain that contains a "/" [#1999](https://github.com/guzzle/guzzle/pull/1999)
[67] Fix | Delete
* Bug fix: Undefined offset when a cookie has no first key-value pair [#1998](https://github.com/guzzle/guzzle/pull/1998)
[68] Fix | Delete
* Improvement: Support PHPUnit 6 [#1953](https://github.com/guzzle/guzzle/pull/1953)
[69] Fix | Delete
* Bug fix: Support empty headers [#1915](https://github.com/guzzle/guzzle/pull/1915)
[70] Fix | Delete
* Bug fix: Ignore case during header modifications [#1916](https://github.com/guzzle/guzzle/pull/1916)
[71] Fix | Delete
[72] Fix | Delete
+ Minor code cleanups, documentation fixes and clarifications.
[73] Fix | Delete
[74] Fix | Delete
[75] Fix | Delete
## 6.3.0 - 2017-06-22
[76] Fix | Delete
[77] Fix | Delete
* Feature: force IP resolution (ipv4 or ipv6) [#1608](https://github.com/guzzle/guzzle/pull/1608), [#1659](https://github.com/guzzle/guzzle/pull/1659)
[78] Fix | Delete
* Improvement: Don't include summary in exception message when body is empty [#1621](https://github.com/guzzle/guzzle/pull/1621)
[79] Fix | Delete
* Improvement: Handle `on_headers` option in MockHandler [#1580](https://github.com/guzzle/guzzle/pull/1580)
[80] Fix | Delete
* Improvement: Added SUSE Linux CA path [#1609](https://github.com/guzzle/guzzle/issues/1609)
[81] Fix | Delete
* Improvement: Use class reference for getting the name of the class instead of using hardcoded strings [#1641](https://github.com/guzzle/guzzle/pull/1641)
[82] Fix | Delete
* Feature: Added `read_timeout` option [#1611](https://github.com/guzzle/guzzle/pull/1611)
[83] Fix | Delete
* Bug fix: PHP 7.x fixes [#1685](https://github.com/guzzle/guzzle/pull/1685), [#1686](https://github.com/guzzle/guzzle/pull/1686), [#1811](https://github.com/guzzle/guzzle/pull/1811)
[84] Fix | Delete
* Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guzzle/guzzle/pull/1642)
[85] Fix | Delete
* Feature: Added NTLM auth [#1569](https://github.com/guzzle/guzzle/pull/1569)
[86] Fix | Delete
* Feature: Track redirect HTTP status codes [#1711](https://github.com/guzzle/guzzle/pull/1711)
[87] Fix | Delete
* Improvement: Check handler type during construction [#1745](https://github.com/guzzle/guzzle/pull/1745)
[88] Fix | Delete
* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721)
[89] Fix | Delete
* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318)
[90] Fix | Delete
* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684)
[91] Fix | Delete
* Improvement: Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827)
[92] Fix | Delete
[93] Fix | Delete
[94] Fix | Delete
+ Minor code cleanups, documentation fixes and clarifications.
[95] Fix | Delete
[96] Fix | Delete
## 6.2.3 - 2017-02-28
[97] Fix | Delete
[98] Fix | Delete
* Fix deprecations with guzzle/psr7 version 1.4
[99] Fix | Delete
[100] Fix | Delete
## 6.2.2 - 2016-10-08
[101] Fix | Delete
[102] Fix | Delete
* Allow to pass nullable Response to delay callable
[103] Fix | Delete
* Only add scheme when host is present
[104] Fix | Delete
* Fix drain case where content-length is the literal string zero
[105] Fix | Delete
* Obfuscate in-URL credentials in exceptions
[106] Fix | Delete
[107] Fix | Delete
## 6.2.1 - 2016-07-18
[108] Fix | Delete
[109] Fix | Delete
* Address HTTP_PROXY security vulnerability, CVE-2016-5385:
[110] Fix | Delete
https://httpoxy.org/
[111] Fix | Delete
* Fixing timeout bug with StreamHandler:
[112] Fix | Delete
https://github.com/guzzle/guzzle/pull/1488
[113] Fix | Delete
* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when
[114] Fix | Delete
a server does not honor `Connection: close`.
[115] Fix | Delete
* Ignore URI fragment when sending requests.
[116] Fix | Delete
[117] Fix | Delete
## 6.2.0 - 2016-03-21
[118] Fix | Delete
[119] Fix | Delete
* Feature: added `GuzzleHttp\json_encode` and `GuzzleHttp\json_decode`.
[120] Fix | Delete
https://github.com/guzzle/guzzle/pull/1389
[121] Fix | Delete
* Bug fix: Fix sleep calculation when waiting for delayed requests.
[122] Fix | Delete
https://github.com/guzzle/guzzle/pull/1324
[123] Fix | Delete
* Feature: More flexible history containers.
[124] Fix | Delete
https://github.com/guzzle/guzzle/pull/1373
[125] Fix | Delete
* Bug fix: defer sink stream opening in StreamHandler.
[126] Fix | Delete
https://github.com/guzzle/guzzle/pull/1377
[127] Fix | Delete
* Bug fix: do not attempt to escape cookie values.
[128] Fix | Delete
https://github.com/guzzle/guzzle/pull/1406
[129] Fix | Delete
* Feature: report original content encoding and length on decoded responses.
[130] Fix | Delete
https://github.com/guzzle/guzzle/pull/1409
[131] Fix | Delete
* Bug fix: rewind seekable request bodies before dispatching to cURL.
[132] Fix | Delete
https://github.com/guzzle/guzzle/pull/1422
[133] Fix | Delete
* Bug fix: provide an empty string to `http_build_query` for HHVM workaround.
[134] Fix | Delete
https://github.com/guzzle/guzzle/pull/1367
[135] Fix | Delete
[136] Fix | Delete
## 6.1.1 - 2015-11-22
[137] Fix | Delete
[138] Fix | Delete
* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler
[139] Fix | Delete
https://github.com/guzzle/guzzle/commit/911bcbc8b434adce64e223a6d1d14e9a8f63e4e4
[140] Fix | Delete
* Feature: HandlerStack is now more generic.
[141] Fix | Delete
https://github.com/guzzle/guzzle/commit/f2102941331cda544745eedd97fc8fd46e1ee33e
[142] Fix | Delete
* Bug fix: setting verify to false in the StreamHandler now disables peer
[143] Fix | Delete
verification. https://github.com/guzzle/guzzle/issues/1256
[144] Fix | Delete
* Feature: Middleware now uses an exception factory, including more error
[145] Fix | Delete
context. https://github.com/guzzle/guzzle/pull/1282
[146] Fix | Delete
* Feature: better support for disabled functions.
[147] Fix | Delete
https://github.com/guzzle/guzzle/pull/1287
[148] Fix | Delete
* Bug fix: fixed regression where MockHandler was not using `sink`.
[149] Fix | Delete
https://github.com/guzzle/guzzle/pull/1292
[150] Fix | Delete
[151] Fix | Delete
## 6.1.0 - 2015-09-08
[152] Fix | Delete
[153] Fix | Delete
* Feature: Added the `on_stats` request option to provide access to transfer
[154] Fix | Delete
statistics for requests. https://github.com/guzzle/guzzle/pull/1202
[155] Fix | Delete
* Feature: Added the ability to persist session cookies in CookieJars.
[156] Fix | Delete
https://github.com/guzzle/guzzle/pull/1195
[157] Fix | Delete
* Feature: Some compatibility updates for Google APP Engine
[158] Fix | Delete
https://github.com/guzzle/guzzle/pull/1216
[159] Fix | Delete
* Feature: Added support for NO_PROXY to prevent the use of a proxy based on
[160] Fix | Delete
a simple set of rules. https://github.com/guzzle/guzzle/pull/1197
[161] Fix | Delete
* Feature: Cookies can now contain square brackets.
[162] Fix | Delete
https://github.com/guzzle/guzzle/pull/1237
[163] Fix | Delete
* Bug fix: Now correctly parsing `=` inside of quotes in Cookies.
[164] Fix | Delete
https://github.com/guzzle/guzzle/pull/1232
[165] Fix | Delete
* Bug fix: Cusotm cURL options now correctly override curl options of the
[166] Fix | Delete
same name. https://github.com/guzzle/guzzle/pull/1221
[167] Fix | Delete
* Bug fix: Content-Type header is now added when using an explicitly provided
[168] Fix | Delete
multipart body. https://github.com/guzzle/guzzle/pull/1218
[169] Fix | Delete
* Bug fix: Now ignoring Set-Cookie headers that have no name.
[170] Fix | Delete
* Bug fix: Reason phrase is no longer cast to an int in some cases in the
[171] Fix | Delete
cURL handler. https://github.com/guzzle/guzzle/pull/1187
[172] Fix | Delete
* Bug fix: Remove the Authorization header when redirecting if the Host
[173] Fix | Delete
header changes. https://github.com/guzzle/guzzle/pull/1207
[174] Fix | Delete
* Bug fix: Cookie path matching fixes
[175] Fix | Delete
https://github.com/guzzle/guzzle/issues/1129
[176] Fix | Delete
* Bug fix: Fixing the cURL `body_as_string` setting
[177] Fix | Delete
https://github.com/guzzle/guzzle/pull/1201
[178] Fix | Delete
* Bug fix: quotes are no longer stripped when parsing cookies.
[179] Fix | Delete
https://github.com/guzzle/guzzle/issues/1172
[180] Fix | Delete
* Bug fix: `form_params` and `query` now always uses the `&` separator.
[181] Fix | Delete
https://github.com/guzzle/guzzle/pull/1163
[182] Fix | Delete
* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set.
[183] Fix | Delete
https://github.com/guzzle/guzzle/pull/1189
[184] Fix | Delete
[185] Fix | Delete
## 6.0.2 - 2015-07-04
[186] Fix | Delete
[187] Fix | Delete
* Fixed a memory leak in the curl handlers in which references to callbacks
[188] Fix | Delete
were not being removed by `curl_reset`.
[189] Fix | Delete
* Cookies are now extracted properly before redirects.
[190] Fix | Delete
* Cookies now allow more character ranges.
[191] Fix | Delete
* Decoded Content-Encoding responses are now modified to correctly reflect
[192] Fix | Delete
their state if the encoding was automatically removed by a handler. This
[193] Fix | Delete
means that the `Content-Encoding` header may be removed an the
[194] Fix | Delete
`Content-Length` modified to reflect the message size after removing the
[195] Fix | Delete
encoding.
[196] Fix | Delete
* Added a more explicit error message when trying to use `form_params` and
[197] Fix | Delete
`multipart` in the same request.
[198] Fix | Delete
* Several fixes for HHVM support.
[199] Fix | Delete
* Functions are now conditionally required using an additional level of
[200] Fix | Delete
indirection to help with global Composer installations.
[201] Fix | Delete
[202] Fix | Delete
## 6.0.1 - 2015-05-27
[203] Fix | Delete
[204] Fix | Delete
* Fixed a bug with serializing the `query` request option where the `&`
[205] Fix | Delete
separator was missing.
[206] Fix | Delete
* Added a better error message for when `body` is provided as an array. Please
[207] Fix | Delete
use `form_params` or `multipart` instead.
[208] Fix | Delete
* Various doc fixes.
[209] Fix | Delete
[210] Fix | Delete
## 6.0.0 - 2015-05-26
[211] Fix | Delete
[212] Fix | Delete
* See the UPGRADING.md document for more information.
[213] Fix | Delete
* Added `multipart` and `form_params` request options.
[214] Fix | Delete
* Added `synchronous` request option.
[215] Fix | Delete
* Added the `on_headers` request option.
[216] Fix | Delete
* Fixed `expect` handling.
[217] Fix | Delete
* No longer adding default middlewares in the client ctor. These need to be
[218] Fix | Delete
present on the provided handler in order to work.
[219] Fix | Delete
* Requests are no longer initiated when sending async requests with the
[220] Fix | Delete
CurlMultiHandler. This prevents unexpected recursion from requests completing
[221] Fix | Delete
while ticking the cURL loop.
[222] Fix | Delete
* Removed the semantics of setting `default` to `true`. This is no longer
[223] Fix | Delete
required now that the cURL loop is not ticked for async requests.
[224] Fix | Delete
* Added request and response logging middleware.
[225] Fix | Delete
* No longer allowing self signed certificates when using the StreamHandler.
[226] Fix | Delete
* Ensuring that `sink` is valid if saving to a file.
[227] Fix | Delete
* Request exceptions now include a "handler context" which provides handler
[228] Fix | Delete
specific contextual information.
[229] Fix | Delete
* Added `GuzzleHttp\RequestOptions` to allow request options to be applied
[230] Fix | Delete
using constants.
[231] Fix | Delete
* `$maxHandles` has been removed from CurlMultiHandler.
[232] Fix | Delete
* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package.
[233] Fix | Delete
[234] Fix | Delete
## 5.3.0 - 2015-05-19
[235] Fix | Delete
[236] Fix | Delete
* Mock now supports `save_to`
[237] Fix | Delete
* Marked `AbstractRequestEvent::getTransaction()` as public.
[238] Fix | Delete
* Fixed a bug in which multiple headers using different casing would overwrite
[239] Fix | Delete
previous headers in the associative array.
[240] Fix | Delete
* Added `Utils::getDefaultHandler()`
[241] Fix | Delete
* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated.
[242] Fix | Delete
* URL scheme is now always lowercased.
[243] Fix | Delete
[244] Fix | Delete
## 6.0.0-beta.1
[245] Fix | Delete
[246] Fix | Delete
* Requires PHP >= 5.5
[247] Fix | Delete
* Updated to use PSR-7
[248] Fix | Delete
* Requires immutable messages, which basically means an event based system
[249] Fix | Delete
owned by a request instance is no longer possible.
[250] Fix | Delete
* Utilizing the [Guzzle PSR-7 package](https://github.com/guzzle/psr7).
[251] Fix | Delete
* Removed the dependency on `guzzlehttp/streams`. These stream abstractions
[252] Fix | Delete
are available in the `guzzlehttp/psr7` package under the `GuzzleHttp\Psr7`
[253] Fix | Delete
namespace.
[254] Fix | Delete
* Added middleware and handler system
[255] Fix | Delete
* Replaced the Guzzle event and subscriber system with a middleware system.
[256] Fix | Delete
* No longer depends on RingPHP, but rather places the HTTP handlers directly
[257] Fix | Delete
in Guzzle, operating on PSR-7 messages.
[258] Fix | Delete
* Retry logic is now encapsulated in `GuzzleHttp\Middleware::retry`, which
[259] Fix | Delete
means the `guzzlehttp/retry-subscriber` is now obsolete.
[260] Fix | Delete
* Mocking responses is now handled using `GuzzleHttp\Handler\MockHandler`.
[261] Fix | Delete
* Asynchronous responses
[262] Fix | Delete
* No longer supports the `future` request option to send an async request.
[263] Fix | Delete
Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`,
[264] Fix | Delete
`getAsync`, etc.).
[265] Fix | Delete
* Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid
[266] Fix | Delete
recursion required by chaining and forwarding react promises. See
[267] Fix | Delete
https://github.com/guzzle/promises
[268] Fix | Delete
* Added `requestAsync` and `sendAsync` to send request asynchronously.
[269] Fix | Delete
* Added magic methods for `getAsync()`, `postAsync()`, etc. to send requests
[270] Fix | Delete
asynchronously.
[271] Fix | Delete
* Request options
[272] Fix | Delete
* POST and form updates
[273] Fix | Delete
* Added the `form_fields` and `form_files` request options.
[274] Fix | Delete
* Removed the `GuzzleHttp\Post` namespace.
[275] Fix | Delete
* The `body` request option no longer accepts an array for POST requests.
[276] Fix | Delete
* The `exceptions` request option has been deprecated in favor of the
[277] Fix | Delete
`http_errors` request options.
[278] Fix | Delete
* The `save_to` request option has been deprecated in favor of `sink` request
[279] Fix | Delete
option.
[280] Fix | Delete
* Clients no longer accept an array of URI template string and variables for
[281] Fix | Delete
URI variables. You will need to expand URI templates before passing them
[282] Fix | Delete
into a client constructor or request method.
[283] Fix | Delete
* Client methods `get()`, `post()`, `put()`, `patch()`, `options()`, etc. are
[284] Fix | Delete
now magic methods that will send synchronous requests.
[285] Fix | Delete
* Replaced `Utils.php` with plain functions in `functions.php`.
[286] Fix | Delete
* Removed `GuzzleHttp\Collection`.
[287] Fix | Delete
* Removed `GuzzleHttp\BatchResults`. Batched pool results are now returned as
[288] Fix | Delete
an array.
[289] Fix | Delete
* Removed `GuzzleHttp\Query`. Query string handling is now handled using an
[290] Fix | Delete
associative array passed into the `query` request option. The query string
[291] Fix | Delete
is serialized using PHP's `http_build_query`. If you need more control, you
[292] Fix | Delete
can pass the query string in as a string.
[293] Fix | Delete
* `GuzzleHttp\QueryParser` has been replaced with the
[294] Fix | Delete
`GuzzleHttp\Psr7\parse_query`.
[295] Fix | Delete
[296] Fix | Delete
## 5.2.0 - 2015-01-27
[297] Fix | Delete
[298] Fix | Delete
* Added `AppliesHeadersInterface` to make applying headers to a request based
[299] Fix | Delete
on the body more generic and not specific to `PostBodyInterface`.
[300] Fix | Delete
* Reduced the number of stack frames needed to send requests.
[301] Fix | Delete
* Nested futures are now resolved in the client rather than the RequestFsm
[302] Fix | Delete
* Finishing state transitions is now handled in the RequestFsm rather than the
[303] Fix | Delete
RingBridge.
[304] Fix | Delete
* Added a guard in the Pool class to not use recursion for request retries.
[305] Fix | Delete
[306] Fix | Delete
## 5.1.0 - 2014-12-19
[307] Fix | Delete
[308] Fix | Delete
* Pool class no longer uses recursion when a request is intercepted.
[309] Fix | Delete
* The size of a Pool can now be dynamically adjusted using a callback.
[310] Fix | Delete
See https://github.com/guzzle/guzzle/pull/943.
[311] Fix | Delete
* Setting a request option to `null` when creating a request with a client will
[312] Fix | Delete
ensure that the option is not set. This allows you to overwrite default
[313] Fix | Delete
request options on a per-request basis.
[314] Fix | Delete
See https://github.com/guzzle/guzzle/pull/937.
[315] Fix | Delete
* Added the ability to limit which protocols are allowed for redirects by
[316] Fix | Delete
specifying a `protocols` array in the `allow_redirects` request option.
[317] Fix | Delete
* Nested futures due to retries are now resolved when waiting for synchronous
[318] Fix | Delete
responses. See https://github.com/guzzle/guzzle/pull/947.
[319] Fix | Delete
* `"0"` is now an allowed URI path. See
[320] Fix | Delete
https://github.com/guzzle/guzzle/pull/935.
[321] Fix | Delete
* `Query` no longer typehints on the `$query` argument in the constructor,
[322] Fix | Delete
allowing for strings and arrays.
[323] Fix | Delete
* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle
[324] Fix | Delete
specific exceptions if necessary.
[325] Fix | Delete
[326] Fix | Delete
## 5.0.3 - 2014-11-03
[327] Fix | Delete
[328] Fix | Delete
This change updates query strings so that they are treated as un-encoded values
[329] Fix | Delete
by default where the value represents an un-encoded value to send over the
[330] Fix | Delete
wire. A Query object then encodes the value before sending over the wire. This
[331] Fix | Delete
means that even value query string values (e.g., ":") are url encoded. This
[332] Fix | Delete
makes the Query class match PHP's http_build_query function. However, if you
[333] Fix | Delete
want to send requests over the wire using valid query string characters that do
[334] Fix | Delete
not need to be encoded, then you can provide a string to Url::setQuery() and
[335] Fix | Delete
pass true as the second argument to specify that the query string is a raw
[336] Fix | Delete
string that should not be parsed or encoded (unless a call to getQuery() is
[337] Fix | Delete
subsequently made, forcing the query-string to be converted into a Query
[338] Fix | Delete
object).
[339] Fix | Delete
[340] Fix | Delete
## 5.0.2 - 2014-10-30
[341] Fix | Delete
[342] Fix | Delete
* Added a trailing `\r\n` to multipart/form-data payloads. See
[343] Fix | Delete
https://github.com/guzzle/guzzle/pull/871
[344] Fix | Delete
* Added a `GuzzleHttp\Pool::send()` convenience method to match the docs.
[345] Fix | Delete
* Status codes are now returned as integers. See
[346] Fix | Delete
https://github.com/guzzle/guzzle/issues/881
[347] Fix | Delete
* No longer overwriting an existing `application/x-www-form-urlencoded` header
[348] Fix | Delete
when sending POST requests, allowing for customized headers. See
[349] Fix | Delete
https://github.com/guzzle/guzzle/issues/877
[350] Fix | Delete
* Improved path URL serialization.
[351] Fix | Delete
[352] Fix | Delete
* No longer double percent-encoding characters in the path or query string if
[353] Fix | Delete
they are already encoded.
[354] Fix | Delete
* Now properly encoding the supplied path to a URL object, instead of only
[355] Fix | Delete
encoding ' ' and '?'.
[356] Fix | Delete
* Note: This has been changed in 5.0.3 to now encode query string values by
[357] Fix | Delete
default unless the `rawString` argument is provided when setting the query
[358] Fix | Delete
string on a URL: Now allowing many more characters to be present in the
[359] Fix | Delete
query string without being percent encoded. See http://tools.ietf.org/html/rfc3986#appendix-A
[360] Fix | Delete
[361] Fix | Delete
## 5.0.1 - 2014-10-16
[362] Fix | Delete
[363] Fix | Delete
Bugfix release.
[364] Fix | Delete
[365] Fix | Delete
* Fixed an issue where connection errors still returned response object in
[366] Fix | Delete
error and end events event though the response is unusable. This has been
[367] Fix | Delete
corrected so that a response is not returned in the `getResponse` method of
[368] Fix | Delete
these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867
[369] Fix | Delete
* Fixed an issue where transfer statistics were not being populated in the
[370] Fix | Delete
RingBridge. https://github.com/guzzle/guzzle/issues/866
[371] Fix | Delete
[372] Fix | Delete
## 5.0.0 - 2014-10-12
[373] Fix | Delete
[374] Fix | Delete
Adding support for non-blocking responses and some minor API cleanup.
[375] Fix | Delete
[376] Fix | Delete
### New Features
[377] Fix | Delete
[378] Fix | Delete
* Added support for non-blocking responses based on `guzzlehttp/guzzle-ring`.
[379] Fix | Delete
* Added a public API for creating a default HTTP adapter.
[380] Fix | Delete
* Updated the redirect plugin to be non-blocking so that redirects are sent
[381] Fix | Delete
concurrently. Other plugins like this can now be updated to be non-blocking.
[382] Fix | Delete
* Added a "progress" event so that you can get upload and download progress
[383] Fix | Delete
events.
[384] Fix | Delete
* Added `GuzzleHttp\Pool` which implements FutureInterface and transfers
[385] Fix | Delete
requests concurrently using a capped pool size as efficiently as possible.
[386] Fix | Delete
* Added `hasListeners()` to EmitterInterface.
[387] Fix | Delete
* Removed `GuzzleHttp\ClientInterface::sendAll` and marked
[388] Fix | Delete
`GuzzleHttp\Client::sendAll` as deprecated (it's still there, just not the
[389] Fix | Delete
recommended way).
[390] Fix | Delete
[391] Fix | Delete
### Breaking changes
[392] Fix | Delete
[393] Fix | Delete
The breaking changes in this release are relatively minor. The biggest thing to
[394] Fix | Delete
look out for is that request and response objects no longer implement fluent
[395] Fix | Delete
interfaces.
[396] Fix | Delete
[397] Fix | Delete
* Removed the fluent interfaces (i.e., `return $this`) from requests,
[398] Fix | Delete
responses, `GuzzleHttp\Collection`, `GuzzleHttp\Url`,
[399] Fix | Delete
`GuzzleHttp\Query`, `GuzzleHttp\Post\PostBody`, and
[400] Fix | Delete
`GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of
[401] Fix | Delete
why I did this: http://ocramius.github.io/blog/fluent-interfaces-are-evil/.
[402] Fix | Delete
This also makes the Guzzle message interfaces compatible with the current
[403] Fix | Delete
PSR-7 message proposal.
[404] Fix | Delete
* Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except
[405] Fix | Delete
for the HTTP request functions from function.php, these functions are now
[406] Fix | Delete
implemented in `GuzzleHttp\Utils` using camelCase. `GuzzleHttp\json_decode`
[407] Fix | Delete
moved to `GuzzleHttp\Utils::jsonDecode`. `GuzzleHttp\get_path` moved to
[408] Fix | Delete
`GuzzleHttp\Utils::getPath`. `GuzzleHttp\set_path` moved to
[409] Fix | Delete
`GuzzleHttp\Utils::setPath`. `GuzzleHttp\batch` should now be
[410] Fix | Delete
`GuzzleHttp\Pool::batch`, which returns an `objectStorage`. Using functions.php
[411] Fix | Delete
caused problems for many users: they aren't PSR-4 compliant, require an
[412] Fix | Delete
explicit include, and needed an if-guard to ensure that the functions are not
[413] Fix | Delete
declared multiple times.
[414] Fix | Delete
* Rewrote adapter layer.
[415] Fix | Delete
* Removing all classes from `GuzzleHttp\Adapter`, these are now
[416] Fix | Delete
implemented as callables that are stored in `GuzzleHttp\Ring\Client`.
[417] Fix | Delete
* Removed the concept of "parallel adapters". Sending requests serially or
[418] Fix | Delete
concurrently is now handled using a single adapter.
[419] Fix | Delete
* Moved `GuzzleHttp\Adapter\Transaction` to `GuzzleHttp\Transaction`. The
[420] Fix | Delete
Transaction object now exposes the request, response, and client as public
[421] Fix | Delete
properties. The getters and setters have been removed.
[422] Fix | Delete
* Removed the "headers" event. This event was only useful for changing the
[423] Fix | Delete
body a response once the headers of the response were known. You can implement
[424] Fix | Delete
a similar behavior in a number of ways. One example might be to use a
[425] Fix | Delete
FnStream that has access to the transaction being sent. For example, when the
[426] Fix | Delete
first byte is written, you could check if the response headers match your
[427] Fix | Delete
expectations, and if so, change the actual stream body that is being
[428] Fix | Delete
written to.
[429] Fix | Delete
* Removed the `asArray` parameter from
[430] Fix | Delete
`GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header
[431] Fix | Delete
value as an array, then use the newly added `getHeaderAsArray()` method of
[432] Fix | Delete
`MessageInterface`. This change makes the Guzzle interfaces compatible with
[433] Fix | Delete
the PSR-7 interfaces.
[434] Fix | Delete
* `GuzzleHttp\Message\MessageFactory` no longer allows subclasses to add
[435] Fix | Delete
custom request options using double-dispatch (this was an implementation
[436] Fix | Delete
detail). Instead, you should now provide an associative array to the
[437] Fix | Delete
constructor which is a mapping of the request option name mapping to a
[438] Fix | Delete
function that applies the option value to a request.
[439] Fix | Delete
* Removed the concept of "throwImmediately" from exceptions and error events.
[440] Fix | Delete
This control mechanism was used to stop a transfer of concurrent requests
[441] Fix | Delete
from completing. This can now be handled by throwing the exception or by
[442] Fix | Delete
cancelling a pool of requests or each outstanding future request individually.
[443] Fix | Delete
* Updated to "GuzzleHttp\Streams" 3.0.
[444] Fix | Delete
* `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a
[445] Fix | Delete
`maxLen` parameter. This update makes the Guzzle streams project
[446] Fix | Delete
compatible with the current PSR-7 proposal.
[447] Fix | Delete
* `GuzzleHttp\Stream\Stream::__construct`,
[448] Fix | Delete
`GuzzleHttp\Stream\Stream::factory`, and
[449] Fix | Delete
`GuzzleHttp\Stream\Utils::create` no longer accept a size in the second
[450] Fix | Delete
argument. They now accept an associative array of options, including the
[451] Fix | Delete
"size" key and "metadata" key which can be used to provide custom metadata.
[452] Fix | Delete
[453] Fix | Delete
## 4.2.2 - 2014-09-08
[454] Fix | Delete
[455] Fix | Delete
* Fixed a memory leak in the CurlAdapter when reusing cURL handles.
[456] Fix | Delete
* No longer using `request_fulluri` in stream adapter proxies.
[457] Fix | Delete
* Relative redirects are now based on the last response, not the first response.
[458] Fix | Delete
[459] Fix | Delete
## 4.2.1 - 2014-08-19
[460] Fix | Delete
[461] Fix | Delete
* Ensuring that the StreamAdapter does not always add a Content-Type header
[462] Fix | Delete
* Adding automated github releases with a phar and zip
[463] Fix | Delete
[464] Fix | Delete
## 4.2.0 - 2014-08-17
[465] Fix | Delete
[466] Fix | Delete
* Now merging in default options using a case-insensitive comparison.
[467] Fix | Delete
Closes https://github.com/guzzle/guzzle/issues/767
[468] Fix | Delete
* Added the ability to automatically decode `Content-Encoding` response bodies
[469] Fix | Delete
using the `decode_content` request option. This is set to `true` by default
[470] Fix | Delete
to decode the response body if it comes over the wire with a
[471] Fix | Delete
`Content-Encoding`. Set this value to `false` to disable decoding the
[472] Fix | Delete
response content, and pass a string to provide a request `Accept-Encoding`
[473] Fix | Delete
header and turn on automatic response decoding. This feature now allows you
[474] Fix | Delete
to pass an `Accept-Encoding` header in the headers of a request but still
[475] Fix | Delete
disable automatic response decoding.
[476] Fix | Delete
Closes https://github.com/guzzle/guzzle/issues/764
[477] Fix | Delete
* Added the ability to throw an exception immediately when transferring
[478] Fix | Delete
requests in parallel. Closes https://github.com/guzzle/guzzle/issues/760
[479] Fix | Delete
* Updating guzzlehttp/streams dependency to ~2.1
[480] Fix | Delete
* No longer utilizing the now deprecated namespaced methods from the stream
[481] Fix | Delete
package.
[482] Fix | Delete
[483] Fix | Delete
## 4.1.8 - 2014-08-14
[484] Fix | Delete
[485] Fix | Delete
* Fixed an issue in the CurlFactory that caused setting the `stream=false`
[486] Fix | Delete
request option to throw an exception.
[487] Fix | Delete
See: https://github.com/guzzle/guzzle/issues/769
[488] Fix | Delete
* TransactionIterator now calls rewind on the inner iterator.
[489] Fix | Delete
See: https://github.com/guzzle/guzzle/pull/765
[490] Fix | Delete
* You can now set the `Content-Type` header to `multipart/form-data`
[491] Fix | Delete
when creating POST requests to force multipart bodies.
[492] Fix | Delete
See https://github.com/guzzle/guzzle/issues/768
[493] Fix | Delete
[494] Fix | Delete
## 4.1.7 - 2014-08-07
[495] Fix | Delete
[496] Fix | Delete
* Fixed an error in the HistoryPlugin that caused the same request and response
[497] Fix | Delete
to be logged multiple times when an HTTP protocol error occurs.
[498] Fix | Delete
* Ensuring that cURL does not add a default Content-Type when no Content-Type
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function