| 1 |
# Change Log |
| 2 |
|
| 3 |
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. |
| 4 |
|
| 5 |
|
| 6 |
## 7.12.3 - 2026-06-23 |
| 7 |
|
| 8 |
### Changed |
| 9 |
|
| 10 |
- Adjusted `guzzlehttp/psr7` version constraint to `^2.12.3` |
| 11 |
|
| 12 |
### Security |
| 13 |
|
| 14 |
- Treat IP and numeric cookie domains as exact-match-only (GHSA-g446-98w2-8p5w) |
| 15 |
|
| 16 |
|
| 17 |
## 7.12.2 - 2026-06-23 |
| 18 |
|
| 19 |
### Fixed |
| 20 |
|
| 21 |
- Clamp out-of-range `Max-Age` so a very large value no longer overflows to an already-expired timestamp |
| 22 |
- Use strict comparison in `CookieJar` conflict resolution so distinct numeric-string names don't overwrite |
| 23 |
- Store a cookie whose `Domain` has a trailing dot on the origin host instead of silently discarding it |
| 24 |
- Fix `StreamHandler` hard-failing on bracketed IPv6 literal hosts when `force_ip_resolve` is set |
| 25 |
- Use strict cookie `Path` comparison so `CookieJar::clear()` with a numeric path keeps a distinct-path cookie |
| 26 |
- Fixed cookie handling for falsey `Domain`, `Max-Age`, path, and name values |
| 27 |
- Fixed `decode_content` handling for falsey string values |
| 28 |
- Fixed deprecated request option values reaching built-in handlers before normalization |
| 29 |
|
| 30 |
|
| 31 |
## 7.12.1 - 2026-06-18 |
| 32 |
|
| 33 |
### Changed |
| 34 |
|
| 35 |
- Adjusted `guzzlehttp/psr7` version constraint to `^2.12.1` |
| 36 |
|
| 37 |
### Fixed |
| 38 |
|
| 39 |
- Reject proxy URLs with a malformed scheme in the cURL handlers instead of letting libcurl mishandle them |
| 40 |
|
| 41 |
### Security |
| 42 |
|
| 43 |
- Reject HTTPS proxies when the installed libcurl lacks HTTPS-proxy support (GHSA-wpwq-4j6v-78m3) |
| 44 |
- Reject dot-only cookie `Domain` attributes as match-all (GHSA-cwxw-98qj-8qjx) |
| 45 |
|
| 46 |
|
| 47 |
## 7.12.0 - 2026-06-16 |
| 48 |
|
| 49 |
### Added |
| 50 |
|
| 51 |
- Added `RequestOptions` constants for `curl`, `retries`, and `stream_context` |
| 52 |
|
| 53 |
### Changed |
| 54 |
|
| 55 |
- Adjusted `guzzlehttp/psr7` version constraint to `^2.12` |
| 56 |
- Constrain cURL transport sharing to safe libcurl DNS and SSL session support |
| 57 |
- Resolve proxy environment variables in the cURL handlers; libcurl no longer reads the environment itself |
| 58 |
- Ignore proxy environment variables when the `proxy` request option makes a decision |
| 59 |
- Disable proxy environment variables on Windows SAPIs other than CLI (httpoxy hardening) |
| 60 |
- Redact proxy credentials from cURL handler error messages, following `Psr7\Utils::redactUserInfo()` |
| 61 |
- Normalize no-proxy domain and IP literal matching across the cURL and stream handlers |
| 62 |
|
| 63 |
### Deprecated |
| 64 |
|
| 65 |
- Deprecated the request-level `handler` option, which will be ignored in 8.0 |
| 66 |
- Deprecated raw cURL request options outside the built-in cURL handlers' allow-list |
| 67 |
- Deprecated the `CURLOPT_PROXYTYPE` cURL request option; set the proxy type via a scheme-prefixed proxy URL |
| 68 |
- Deprecated PHP stream context options outside the built-in stream handler allow-list |
| 69 |
- Deprecated passing `ntlm` as a built-in `auth` type |
| 70 |
- Deprecated `Utils::describeType()` |
| 71 |
- Deprecated non-finite floats in the `query` and `form_params` options; 8.0 rejects them |
| 72 |
- Deprecated non-string scalar values in the `body` option; 8.0 rejects them |
| 73 |
|
| 74 |
### Fixed |
| 75 |
|
| 76 |
- Fix cURL TLS and HTTP/2 capability detection using libcurl feature checks |
| 77 |
- Fix proxy `no` list matches being re-proxied through environment-configured proxies by libcurl |
| 78 |
- Fix `no` list and `NO_PROXY` matching to support IP CIDR ranges, matching libcurl |
| 79 |
- Fix the stream handler not applying scheme-less proxies and their credentials |
| 80 |
|
| 81 |
|
| 82 |
## 7.11.2 - 2026-06-12 |
| 83 |
|
| 84 |
### Fixed |
| 85 |
|
| 86 |
- Fixed non-finite float values emitting coercion warnings on PHP 8.5 |
| 87 |
|
| 88 |
|
| 89 |
## 7.11.1 - 2026-06-07 |
| 90 |
|
| 91 |
### Fixed |
| 92 |
|
| 93 |
- Ignore request-level `transport_sharing`, matching other unknown request options |
| 94 |
|
| 95 |
|
| 96 |
## 7.11.0 - 2026-06-02 |
| 97 |
|
| 98 |
### Added |
| 99 |
|
| 100 |
- Added support for providing the `proxy` request option's `no` value as a comma-delimited string |
| 101 |
- Added the `protocols` request option to restrict allowed URI schemes for request transfers |
| 102 |
- Added `cert_type` and `ssl_key_type` request options for TLS certificate and private-key file types |
| 103 |
- Added PHP stream handler support for the `ssl_key` request option |
| 104 |
- Added transport sharing via the `transport_sharing` client and cURL handler options |
| 105 |
|
| 106 |
### Changed |
| 107 |
|
| 108 |
- Adjusted `guzzlehttp/promises` version constraint to `^2.5` |
| 109 |
- Adjusted `guzzlehttp/psr7` version constraint to `^2.11` |
| 110 |
- Allowed domainless `SetCookie` instances to be stored without wildcard request matching |
| 111 |
- Changed no-proxy matching to respect request ports for host-and-port rules |
| 112 |
- Prevented `CurlMultiHandler` destructors from throwing during cleanup |
| 113 |
- Improved invalid response handling across handlers |
| 114 |
|
| 115 |
### Deprecated |
| 116 |
|
| 117 |
- Deprecated non-iterable `Pool` request collections, which will be rejected in 8.0 |
| 118 |
- Deprecated non-uppercase easy request methods; 8.0 preserves method casing |
| 119 |
- Deprecated non-string `headers` request option values, which will be rejected in 8.0 |
| 120 |
- Deprecated empty `headers` request option value arrays, which will be rejected in 8.0 |
| 121 |
- Deprecated empty and malformed request protocol versions, which will be rejected in 8.0 |
| 122 |
- Deprecated conflicting raw cURL request options, including `CURLOPT_SHARE`, which will be rejected in 8.0 |
| 123 |
- Deprecated scalar-coerced `idn_conversion` request option values, which will be rejected in 8.0 |
| 124 |
- Deprecated invalid documented request option value types, which will be rejected in 8.0 |
| 125 |
- Deprecated selected request options ignored by incompatible built-in handlers, which will be rejected in 8.0 |
| 126 |
- Deprecated `RequestException::wrapException()`, which will be removed in 8.0 |
| 127 |
- Deprecated `RetryMiddleware::exponentialDelay()`, which will be removed in 8.0 |
| 128 |
|
| 129 |
|
| 130 |
## 7.10.6 - 2026-06-01 |
| 131 |
|
| 132 |
### Fixed |
| 133 |
|
| 134 |
- `CurlMultiHandler` now rejects the promise when `CurlFactory::finish()` throws, preserving sibling transfers |
| 135 |
- `SetCookie` now normalizes unparseable `Expires` values to `null` instead of `false` |
| 136 |
- Fix stream handler decoded `gzip`/`deflate` truncation by dropping invalid `Content-Length` |
| 137 |
|
| 138 |
|
| 139 |
## 7.10.5 - 2026-05-27 |
| 140 |
|
| 141 |
### Fixed |
| 142 |
|
| 143 |
- Defer cURL multi cancellation cleanup until after progress callbacks return |
| 144 |
- Classify additional stream handler connection failures as `ConnectException` |
| 145 |
|
| 146 |
|
| 147 |
## 7.10.4 - 2026-05-22 |
| 148 |
|
| 149 |
### Fixed |
| 150 |
|
| 151 |
- Fix IPv6 literal matching in no-proxy rules |
| 152 |
- Handle cURL multi completion messages without handles after cancelled transfers |
| 153 |
- Fix magic client request methods such as `options()` to uppercase inferred HTTP methods |
| 154 |
|
| 155 |
|
| 156 |
## 7.10.3 - 2026-05-20 |
| 157 |
|
| 158 |
### Fixed |
| 159 |
|
| 160 |
- Fail clearly when an HTTP response header line is invalid |
| 161 |
- Remove middleware by name when the name is also a callable string |
| 162 |
- Treat empty request protocol versions as HTTP/1.1 |
| 163 |
|
| 164 |
|
| 165 |
## 7.10.2 - 2026-05-20 |
| 166 |
|
| 167 |
### Fixed |
| 168 |
|
| 169 |
- Normalize HTTP version request options before applying them to PSR-7 requests |
| 170 |
- Use string values for headers generated by request preparation and response decoding |
| 171 |
|
| 172 |
|
| 173 |
## 7.10.1 - 2026-05-19 |
| 174 |
|
| 175 |
### Fixed |
| 176 |
|
| 177 |
- Fail clearly when cURL options cannot be applied |
| 178 |
- Fail clearly when the certificate option is malformed |
| 179 |
- Fail clearly when JSON decode depth is invalid |
| 180 |
- Fail clearly when session cookie data is malformed |
| 181 |
- Fail clearly when the stream progress option is not callable |
| 182 |
- Prevent response creation failures from exposing stale cURL responses |
| 183 |
|
| 184 |
|
| 185 |
## 7.10.0 - 2025-08-23 |
| 186 |
|
| 187 |
### Added |
| 188 |
|
| 189 |
- Support for PHP 8.5 |
| 190 |
|
| 191 |
### Changed |
| 192 |
|
| 193 |
- Adjusted `guzzlehttp/promises` version constraint to `^2.3` |
| 194 |
- Adjusted `guzzlehttp/psr7` version constraint to `^2.8` |
| 195 |
|
| 196 |
|
| 197 |
## 7.9.3 - 2025-03-27 |
| 198 |
|
| 199 |
### Changed |
| 200 |
|
| 201 |
- Remove explicit content-length header for GET requests |
| 202 |
- Improve compatibility with bad servers for boolean cookie values |
| 203 |
|
| 204 |
|
| 205 |
## 7.9.2 - 2024-07-24 |
| 206 |
|
| 207 |
### Fixed |
| 208 |
|
| 209 |
- Adjusted handler selection to use cURL if its version is 7.21.2 or higher, rather than 7.34.0 |
| 210 |
|
| 211 |
|
| 212 |
## 7.9.1 - 2024-07-19 |
| 213 |
|
| 214 |
### Fixed |
| 215 |
|
| 216 |
- Fix TLS 1.3 check for HTTP/2 requests |
| 217 |
|
| 218 |
|
| 219 |
## 7.9.0 - 2024-07-18 |
| 220 |
|
| 221 |
### Changed |
| 222 |
|
| 223 |
- Improve protocol version checks to provide feedback around unsupported protocols |
| 224 |
- Only select the cURL handler by default if 7.34.0 or higher is linked |
| 225 |
- Improved `CurlMultiHandler` to avoid busy wait if possible |
| 226 |
- Dropped support for EOL `guzzlehttp/psr7` v1 |
| 227 |
- Improved URI user info redaction in errors |
| 228 |
|
| 229 |
## 7.8.2 - 2024-07-18 |
| 230 |
|
| 231 |
### Added |
| 232 |
|
| 233 |
- Support for PHP 8.4 |
| 234 |
|
| 235 |
|
| 236 |
## 7.8.1 - 2023-12-03 |
| 237 |
|
| 238 |
### Changed |
| 239 |
|
| 240 |
- Updated links in docs to their canonical versions |
| 241 |
- Replaced `call_user_func*` with native calls |
| 242 |
|
| 243 |
|
| 244 |
## 7.8.0 - 2023-08-27 |
| 245 |
|
| 246 |
### Added |
| 247 |
|
| 248 |
- Support for PHP 8.3 |
| 249 |
- Added automatic closing of handles on `CurlFactory` object destruction |
| 250 |
|
| 251 |
|
| 252 |
## 7.7.1 - 2023-08-27 |
| 253 |
|
| 254 |
### Changed |
| 255 |
|
| 256 |
- Remove the need for `AllowDynamicProperties` in `CurlMultiHandler` |
| 257 |
|
| 258 |
|
| 259 |
## 7.7.0 - 2023-05-21 |
| 260 |
|
| 261 |
### Added |
| 262 |
|
| 263 |
- Support `guzzlehttp/promises` v2 |
| 264 |
|
| 265 |
|
| 266 |
## 7.6.1 - 2023-05-15 |
| 267 |
|
| 268 |
### Fixed |
| 269 |
|
| 270 |
- Fix `SetCookie::fromString` MaxAge deprecation warning and skip invalid MaxAge values |
| 271 |
|
| 272 |
|
| 273 |
## 7.6.0 - 2023-05-14 |
| 274 |
|
| 275 |
### Added |
| 276 |
|
| 277 |
- Support for setting the minimum TLS version in a unified way |
| 278 |
- Apply on request the version set in options parameters |
| 279 |
|
| 280 |
|
| 281 |
## 7.5.2 - 2023-05-14 |
| 282 |
|
| 283 |
### Fixed |
| 284 |
|
| 285 |
- Fixed set cookie constructor validation |
| 286 |
- Fixed handling of files with `'0'` body |
| 287 |
|
| 288 |
### Changed |
| 289 |
|
| 290 |
- Corrected docs and default connect timeout value to 300 seconds |
| 291 |
|
| 292 |
|
| 293 |
## 7.5.1 - 2023-04-17 |
| 294 |
|
| 295 |
### Fixed |
| 296 |
|
| 297 |
- Fixed `NO_PROXY` settings so that setting the `proxy` option to `no` overrides the env variable |
| 298 |
|
| 299 |
### Changed |
| 300 |
|
| 301 |
- Adjusted `guzzlehttp/psr7` version constraint to `^1.9.1 || ^2.4.5` |
| 302 |
|
| 303 |
|
| 304 |
## 7.5.0 - 2022-08-28 |
| 305 |
|
| 306 |
### Added |
| 307 |
|
| 308 |
- Support PHP 8.2 |
| 309 |
- Add request to delay closure params |
| 310 |
|
| 311 |
|
| 312 |
## 7.4.5 - 2022-06-20 |
| 313 |
|
| 314 |
### Fixed |
| 315 |
|
| 316 |
* Fix change in port should be considered a change in origin |
| 317 |
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin |
| 318 |
|
| 319 |
|
| 320 |
## 7.4.4 - 2022-06-09 |
| 321 |
|
| 322 |
### Fixed |
| 323 |
|
| 324 |
* Fix failure to strip Authorization header on HTTP downgrade |
| 325 |
* Fix failure to strip the Cookie header on change in host or HTTP downgrade |
| 326 |
|
| 327 |
|
| 328 |
## 7.4.3 - 2022-05-25 |
| 329 |
|
| 330 |
### Fixed |
| 331 |
|
| 332 |
* Fix cross-domain cookie leakage |
| 333 |
|
| 334 |
|
| 335 |
## 7.4.2 - 2022-03-20 |
| 336 |
|
| 337 |
### Fixed |
| 338 |
|
| 339 |
- Remove curl auth on cross-domain redirects to align with the Authorization HTTP header |
| 340 |
- Reject non-HTTP schemes in StreamHandler |
| 341 |
- Set a default ssl.peer_name context in StreamHandler to allow `force_ip_resolve` |
| 342 |
|
| 343 |
|
| 344 |
## 7.4.1 - 2021-12-06 |
| 345 |
|
| 346 |
### Changed |
| 347 |
|
| 348 |
- Replaced implicit URI to string coercion [#2946](https://github.com/guzzle/guzzle/pull/2946) |
| 349 |
- Allow `symfony/deprecation-contracts` version 3 [#2961](https://github.com/guzzle/guzzle/pull/2961) |
| 350 |
|
| 351 |
### Fixed |
| 352 |
|
| 353 |
- Only close curl handle if it's done [#2950](https://github.com/guzzle/guzzle/pull/2950) |
| 354 |
|
| 355 |
|
| 356 |
## 7.4.0 - 2021-10-18 |
| 357 |
|
| 358 |
### Added |
| 359 |
|
| 360 |
- Support PHP 8.1 [#2929](https://github.com/guzzle/guzzle/pull/2929), [#2939](https://github.com/guzzle/guzzle/pull/2939) |
| 361 |
- Support `psr/log` version 2 and 3 [#2943](https://github.com/guzzle/guzzle/pull/2943) |
| 362 |
|
| 363 |
### Fixed |
| 364 |
|
| 365 |
- Make sure we always call `restore_error_handler()` [#2915](https://github.com/guzzle/guzzle/pull/2915) |
| 366 |
- Fix progress parameter type compatibility between the cURL and stream handlers [#2936](https://github.com/guzzle/guzzle/pull/2936) |
| 367 |
- Throw `InvalidArgumentException` when an incorrect `headers` array is provided [#2916](https://github.com/guzzle/guzzle/pull/2916), [#2942](https://github.com/guzzle/guzzle/pull/2942) |
| 368 |
|
| 369 |
### Changed |
| 370 |
|
| 371 |
- Be more strict with types [#2914](https://github.com/guzzle/guzzle/pull/2914), [#2917](https://github.com/guzzle/guzzle/pull/2917), [#2919](https://github.com/guzzle/guzzle/pull/2919), [#2945](https://github.com/guzzle/guzzle/pull/2945) |
| 372 |
|
| 373 |
|
| 374 |
## 7.3.0 - 2021-03-23 |
| 375 |
|
| 376 |
### Added |
| 377 |
|
| 378 |
- Support for DER and P12 certificates [#2413](https://github.com/guzzle/guzzle/pull/2413) |
| 379 |
- Support the cURL (http://) scheme for StreamHandler proxies [#2850](https://github.com/guzzle/guzzle/pull/2850) |
| 380 |
- Support for `guzzlehttp/psr7:^2.0` [#2878](https://github.com/guzzle/guzzle/pull/2878) |
| 381 |
|
| 382 |
### Fixed |
| 383 |
|
| 384 |
- Handle exceptions on invalid header consistently between PHP versions and handlers [#2872](https://github.com/guzzle/guzzle/pull/2872) |
| 385 |
|
| 386 |
|
| 387 |
## 7.2.0 - 2020-10-10 |
| 388 |
|
| 389 |
### Added |
| 390 |
|
| 391 |
- Support for PHP 8 [#2712](https://github.com/guzzle/guzzle/pull/2712), [#2715](https://github.com/guzzle/guzzle/pull/2715), [#2789](https://github.com/guzzle/guzzle/pull/2789) |
| 392 |
- Support passing a body summarizer to the http errors middleware [#2795](https://github.com/guzzle/guzzle/pull/2795) |
| 393 |
|
| 394 |
### Fixed |
| 395 |
|
| 396 |
- Handle exceptions during response creation [#2591](https://github.com/guzzle/guzzle/pull/2591) |
| 397 |
- Fix CURLOPT_ENCODING not to be overwritten [#2595](https://github.com/guzzle/guzzle/pull/2595) |
| 398 |
- Make sure the Request always has a body object [#2804](https://github.com/guzzle/guzzle/pull/2804) |
| 399 |
|
| 400 |
### Changed |
| 401 |
|
| 402 |
- The `TooManyRedirectsException` has a response [#2660](https://github.com/guzzle/guzzle/pull/2660) |
| 403 |
- Avoid "functions" from dependencies [#2712](https://github.com/guzzle/guzzle/pull/2712) |
| 404 |
|
| 405 |
### Deprecated |
| 406 |
|
| 407 |
- Using environment variable GUZZLE_CURL_SELECT_TIMEOUT [#2786](https://github.com/guzzle/guzzle/pull/2786) |
| 408 |
|
| 409 |
|
| 410 |
## 7.1.1 - 2020-09-30 |
| 411 |
|
| 412 |
### Fixed |
| 413 |
|
| 414 |
- Incorrect EOF detection for response body streams on Windows. |
| 415 |
|
| 416 |
### Changed |
| 417 |
|
| 418 |
- We dont connect curl `sink` on HEAD requests. |
| 419 |
- Removed some PHP 5 workarounds |
| 420 |
|
| 421 |
|
| 422 |
## 7.1.0 - 2020-09-22 |
| 423 |
|
| 424 |
### Added |
| 425 |
|
| 426 |
- `GuzzleHttp\MessageFormatterInterface` |
| 427 |
|
| 428 |
### Fixed |
| 429 |
|
| 430 |
- Fixed issue that caused cookies with no value not to be stored. |
| 431 |
- On redirects, we allow all safe methods like GET, HEAD and OPTIONS. |
| 432 |
- Fixed logging on empty responses. |
| 433 |
- Make sure MessageFormatter::format returns string |
| 434 |
|
| 435 |
### Deprecated |
| 436 |
|
| 437 |
- All functions in `GuzzleHttp` has been deprecated. Use static methods on `Utils` instead. |
| 438 |
- `ClientInterface::getConfig()` |
| 439 |
- `Client::getConfig()` |
| 440 |
- `Client::__call()` |
| 441 |
- `Utils::defaultCaBundle()` |
| 442 |
- `CurlFactory::LOW_CURL_VERSION_NUMBER` |
| 443 |
|
| 444 |
|
| 445 |
## 7.0.1 - 2020-06-27 |
| 446 |
|
| 447 |
* Fix multiply defined functions fatal error [#2699](https://github.com/guzzle/guzzle/pull/2699) |
| 448 |
|
| 449 |
|
| 450 |
## 7.0.0 - 2020-06-27 |
| 451 |
|
| 452 |
No changes since 7.0.0-rc1. |
| 453 |
|
| 454 |
|
| 455 |
## 7.0.0-rc1 - 2020-06-15 |
| 456 |
|
| 457 |
### Changed |
| 458 |
|
| 459 |
* Use error level for logging errors in Middleware [#2629](https://github.com/guzzle/guzzle/pull/2629) |
| 460 |
* Disabled IDN support by default and require ext-intl to use it [#2675](https://github.com/guzzle/guzzle/pull/2675) |
| 461 |
|
| 462 |
|
| 463 |
## 7.0.0-beta2 - 2020-05-25 |
| 464 |
|
| 465 |
### Added |
| 466 |
|
| 467 |
* Using `Utils` class instead of functions in the `GuzzleHttp` namespace. [#2546](https://github.com/guzzle/guzzle/pull/2546) |
| 468 |
* `ClientInterface::MAJOR_VERSION` [#2583](https://github.com/guzzle/guzzle/pull/2583) |
| 469 |
|
| 470 |
### Changed |
| 471 |
|
| 472 |
* Avoid the `getenv` function when unsafe [#2531](https://github.com/guzzle/guzzle/pull/2531) |
| 473 |
* Added real client methods [#2529](https://github.com/guzzle/guzzle/pull/2529) |
| 474 |
* Avoid functions due to global install conflicts [#2546](https://github.com/guzzle/guzzle/pull/2546) |
| 475 |
* Use Symfony intl-idn polyfill [#2550](https://github.com/guzzle/guzzle/pull/2550) |
| 476 |
* Adding methods for HTTP verbs like `Client::get()`, `Client::head()`, `Client::patch()` etc [#2529](https://github.com/guzzle/guzzle/pull/2529) |
| 477 |
* `ConnectException` extends `TransferException` [#2541](https://github.com/guzzle/guzzle/pull/2541) |
| 478 |
* Updated the default User Agent to "GuzzleHttp/7" [#2654](https://github.com/guzzle/guzzle/pull/2654) |
| 479 |
|
| 480 |
### Fixed |
| 481 |
|
| 482 |
* Various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626) |
| 483 |
|
| 484 |
### Removed |
| 485 |
|
| 486 |
* Pool option `pool_size` [#2528](https://github.com/guzzle/guzzle/pull/2528) |
| 487 |
|
| 488 |
|
| 489 |
## 7.0.0-beta1 - 2019-12-30 |
| 490 |
|
| 491 |
The diff might look very big but 95% of Guzzle users will be able to upgrade without modification. |
| 492 |
Please see [the upgrade document](UPGRADING.md) that describes all BC breaking changes. |
| 493 |
|
| 494 |
### Added |
| 495 |
|
| 496 |
* Implement PSR-18 and dropped PHP 5 support [#2421](https://github.com/guzzle/guzzle/pull/2421) [#2474](https://github.com/guzzle/guzzle/pull/2474) |
| 497 |
* PHP 7 types [#2442](https://github.com/guzzle/guzzle/pull/2442) [#2449](https://github.com/guzzle/guzzle/pull/2449) [#2466](https://github.com/guzzle/guzzle/pull/2466) [#2497](https://github.com/guzzle/guzzle/pull/2497) [#2499](https://github.com/guzzle/guzzle/pull/2499) |
| 498 |
* IDN support for redirects [2424](https://github.com/guzzle/guzzle/pull/2424) |
| 499 |
|
| 500 |
### Changed |
| 501 |
|
| 502 |
* Dont allow passing null as third argument to `BadResponseException::__construct()` [#2427](https://github.com/guzzle/guzzle/pull/2427) |
| 503 |
* Use SAPI constant instead of method call [#2450](https://github.com/guzzle/guzzle/pull/2450) |
| 504 |
* Use native function invocation [#2444](https://github.com/guzzle/guzzle/pull/2444) |
| 505 |
* Better defaults for PHP installations with old ICU lib [2454](https://github.com/guzzle/guzzle/pull/2454) |
| 506 |
* Added visibility to all constants [#2462](https://github.com/guzzle/guzzle/pull/2462) |
| 507 |
* Dont allow passing `null` as URI to `Client::request()` and `Client::requestAsync()` [#2461](https://github.com/guzzle/guzzle/pull/2461) |
| 508 |
* Widen the exception argument to throwable [#2495](https://github.com/guzzle/guzzle/pull/2495) |
| 509 |
|
| 510 |
### Fixed |
| 511 |
|
| 512 |
* Logging when Promise rejected with a string [#2311](https://github.com/guzzle/guzzle/pull/2311) |
| 513 |
|
| 514 |
### Removed |
| 515 |
|
| 516 |
* Class `SeekException` [#2162](https://github.com/guzzle/guzzle/pull/2162) |
| 517 |
* `RequestException::getResponseBodySummary()` [#2425](https://github.com/guzzle/guzzle/pull/2425) |
| 518 |
* `CookieJar::getCookieValue()` [#2433](https://github.com/guzzle/guzzle/pull/2433) |
| 519 |
* `uri_template()` and `UriTemplate` [#2440](https://github.com/guzzle/guzzle/pull/2440) |
| 520 |
* Request options `save_to` and `exceptions` [#2464](https://github.com/guzzle/guzzle/pull/2464) |
| 521 |
|
| 522 |
|
| 523 |
## 6.5.2 - 2019-12-23 |
| 524 |
|
| 525 |
* idn_to_ascii() fix for old PHP versions [#2489](https://github.com/guzzle/guzzle/pull/2489) |
| 526 |
|
| 527 |
|
| 528 |
## 6.5.1 - 2019-12-21 |
| 529 |
|
| 530 |
* Better defaults for PHP installations with old ICU lib [#2454](https://github.com/guzzle/guzzle/pull/2454) |
| 531 |
* IDN support for redirects [#2424](https://github.com/guzzle/guzzle/pull/2424) |
| 532 |
|
| 533 |
|
| 534 |
## 6.5.0 - 2019-12-07 |
| 535 |
|
| 536 |
* Improvement: Added support for reset internal queue in MockHandler. [#2143](https://github.com/guzzle/guzzle/pull/2143) |
| 537 |
* Improvement: Added support to pass arbitrary options to `curl_multi_init`. [#2287](https://github.com/guzzle/guzzle/pull/2287) |
| 538 |
* Fix: Gracefully handle passing `null` to the `header` option. [#2132](https://github.com/guzzle/guzzle/pull/2132) |
| 539 |
* Fix: `RetryMiddleware` did not do exponential delay between retires due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132) |
| 540 |
* Fix: Prevent undefined offset when using array for ssl_key options. [#2348](https://github.com/guzzle/guzzle/pull/2348) |
| 541 |
* Deprecated `ClientInterface::VERSION` |
| 542 |
|
| 543 |
|
| 544 |
## 6.4.1 - 2019-10-23 |
| 545 |
|
| 546 |
* No `guzzle.phar` was created in 6.4.0 due expired API token. This release will fix that |
| 547 |
* Added `parent::__construct()` to `FileCookieJar` and `SessionCookieJar` |
| 548 |
|
| 549 |
|
| 550 |
## 6.4.0 - 2019-10-23 |
| 551 |
|
| 552 |
* Improvement: Improved error messages when using curl < 7.21.2 [#2108](https://github.com/guzzle/guzzle/pull/2108) |
| 553 |
* Fix: Test if response is readable before returning a summary in `RequestException::getResponseBodySummary()` [#2081](https://github.com/guzzle/guzzle/pull/2081) |
| 554 |
* Fix: Add support for GUZZLE_CURL_SELECT_TIMEOUT environment variable [#2161](https://github.com/guzzle/guzzle/pull/2161) |
| 555 |
* Improvement: Added `GuzzleHttp\Exception\InvalidArgumentException` [#2163](https://github.com/guzzle/guzzle/pull/2163) |
| 556 |
* Improvement: Added `GuzzleHttp\_current_time()` to use `hrtime()` if that function exists. [#2242](https://github.com/guzzle/guzzle/pull/2242) |
| 557 |
* Improvement: Added curl's `appconnect_time` in `TransferStats` [#2284](https://github.com/guzzle/guzzle/pull/2284) |
| 558 |
* Improvement: Make GuzzleException extend Throwable wherever it's available [#2273](https://github.com/guzzle/guzzle/pull/2273) |
| 559 |
* Fix: Prevent concurrent writes to file when saving `CookieJar` [#2335](https://github.com/guzzle/guzzle/pull/2335) |
| 560 |
* Improvement: Update `MockHandler` so we can test transfer time [#2362](https://github.com/guzzle/guzzle/pull/2362) |
| 561 |
|
| 562 |
|
| 563 |
## 6.3.3 - 2018-04-22 |
| 564 |
|
| 565 |
* Fix: Default headers when decode_content is specified |
| 566 |
|
| 567 |
|
| 568 |
## 6.3.2 - 2018-03-26 |
| 569 |
|
| 570 |
* Fix: Release process |
| 571 |
|
| 572 |
|
| 573 |
## 6.3.1 - 2018-03-26 |
| 574 |
|
| 575 |
* Bug fix: Parsing 0 epoch expiry times in cookies [#2014](https://github.com/guzzle/guzzle/pull/2014) |
| 576 |
* Improvement: Better ConnectException detection [#2012](https://github.com/guzzle/guzzle/pull/2012) |
| 577 |
* Bug fix: Malformed domain that contains a "/" [#1999](https://github.com/guzzle/guzzle/pull/1999) |
| 578 |
* Bug fix: Undefined offset when a cookie has no first key-value pair [#1998](https://github.com/guzzle/guzzle/pull/1998) |
| 579 |
* Improvement: Support PHPUnit 6 [#1953](https://github.com/guzzle/guzzle/pull/1953) |
| 580 |
* Bug fix: Support empty headers [#1915](https://github.com/guzzle/guzzle/pull/1915) |
| 581 |
* Bug fix: Ignore case during header modifications [#1916](https://github.com/guzzle/guzzle/pull/1916) |
| 582 |
|
| 583 |
+ Minor code cleanups, documentation fixes and clarifications. |
| 584 |
|
| 585 |
|
| 586 |
## 6.3.0 - 2017-06-22 |
| 587 |
|
| 588 |
* Feature: force IP resolution (ipv4 or ipv6) [#1608](https://github.com/guzzle/guzzle/pull/1608), [#1659](https://github.com/guzzle/guzzle/pull/1659) |
| 589 |
* Improvement: Don't include summary in exception message when body is empty [#1621](https://github.com/guzzle/guzzle/pull/1621) |
| 590 |
* Improvement: Handle `on_headers` option in MockHandler [#1580](https://github.com/guzzle/guzzle/pull/1580) |
| 591 |
* Improvement: Added SUSE Linux CA path [#1609](https://github.com/guzzle/guzzle/issues/1609) |
| 592 |
* Improvement: Use class reference for getting the name of the class instead of using hardcoded strings [#1641](https://github.com/guzzle/guzzle/pull/1641) |
| 593 |
* Feature: Added `read_timeout` option [#1611](https://github.com/guzzle/guzzle/pull/1611) |
| 594 |
* 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) |
| 595 |
* Deprecation: BadResponseException instantiation without a response [#1642](https://github.com/guzzle/guzzle/pull/1642) |
| 596 |
* Feature: Added NTLM auth [#1569](https://github.com/guzzle/guzzle/pull/1569) |
| 597 |
* Feature: Track redirect HTTP status codes [#1711](https://github.com/guzzle/guzzle/pull/1711) |
| 598 |
* Improvement: Check handler type during construction [#1745](https://github.com/guzzle/guzzle/pull/1745) |
| 599 |
* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721) |
| 600 |
* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318) |
| 601 |
* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684) |
| 602 |
* Improvement: Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827) |
| 603 |
|
| 604 |
+ Minor code cleanups, documentation fixes and clarifications. |
| 605 |
|
| 606 |
|
| 607 |
## 6.2.3 - 2017-02-28 |
| 608 |
|
| 609 |
* Fix deprecations with guzzle/psr7 version 1.4 |
| 610 |
|
| 611 |
|
| 612 |
## 6.2.2 - 2016-10-08 |
| 613 |
|
| 614 |
* Allow to pass nullable Response to delay callable |
| 615 |
* Only add scheme when host is present |
| 616 |
* Fix drain case where content-length is the literal string zero |
| 617 |
* Obfuscate in-URL credentials in exceptions |
| 618 |
|
| 619 |
|
| 620 |
## 6.2.1 - 2016-07-18 |
| 621 |
|
| 622 |
* Address HTTP_PROXY security vulnerability, CVE-2016-5385: |
| 623 |
https://httpoxy.org/ |
| 624 |
* Fixing timeout bug with StreamHandler: |
| 625 |
https://github.com/guzzle/guzzle/pull/1488 |
| 626 |
* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when |
| 627 |
a server does not honor `Connection: close`. |
| 628 |
* Ignore URI fragment when sending requests. |
| 629 |
|
| 630 |
|
| 631 |
## 6.2.0 - 2016-03-21 |
| 632 |
|
| 633 |
* Feature: added `GuzzleHttp\json_encode` and `GuzzleHttp\json_decode`. |
| 634 |
https://github.com/guzzle/guzzle/pull/1389 |
| 635 |
* Bug fix: Fix sleep calculation when waiting for delayed requests. |
| 636 |
https://github.com/guzzle/guzzle/pull/1324 |
| 637 |
* Feature: More flexible history containers. |
| 638 |
https://github.com/guzzle/guzzle/pull/1373 |
| 639 |
* Bug fix: defer sink stream opening in StreamHandler. |
| 640 |
https://github.com/guzzle/guzzle/pull/1377 |
| 641 |
* Bug fix: do not attempt to escape cookie values. |
| 642 |
https://github.com/guzzle/guzzle/pull/1406 |
| 643 |
* Feature: report original content encoding and length on decoded responses. |
| 644 |
https://github.com/guzzle/guzzle/pull/1409 |
| 645 |
* Bug fix: rewind seekable request bodies before dispatching to cURL. |
| 646 |
https://github.com/guzzle/guzzle/pull/1422 |
| 647 |
* Bug fix: provide an empty string to `http_build_query` for HHVM workaround. |
| 648 |
https://github.com/guzzle/guzzle/pull/1367 |
| 649 |
|
| 650 |
|
| 651 |
## 6.1.1 - 2015-11-22 |
| 652 |
|
| 653 |
* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler |
| 654 |
https://github.com/guzzle/guzzle/commit/911bcbc8b434adce64e223a6d1d14e9a8f63e4e4 |
| 655 |
* Feature: HandlerStack is now more generic. |
| 656 |
https://github.com/guzzle/guzzle/commit/f2102941331cda544745eedd97fc8fd46e1ee33e |
| 657 |
* Bug fix: setting verify to false in the StreamHandler now disables peer |
| 658 |
verification. https://github.com/guzzle/guzzle/issues/1256 |
| 659 |
* Feature: Middleware now uses an exception factory, including more error |
| 660 |
context. https://github.com/guzzle/guzzle/pull/1282 |
| 661 |
* Feature: better support for disabled functions. |
| 662 |
https://github.com/guzzle/guzzle/pull/1287 |
| 663 |
* Bug fix: fixed regression where MockHandler was not using `sink`. |
| 664 |
https://github.com/guzzle/guzzle/pull/1292 |
| 665 |
|
| 666 |
|
| 667 |
## 6.1.0 - 2015-09-08 |
| 668 |
|
| 669 |
* Feature: Added the `on_stats` request option to provide access to transfer |
| 670 |
statistics for requests. https://github.com/guzzle/guzzle/pull/1202 |
| 671 |
* Feature: Added the ability to persist session cookies in CookieJars. |
| 672 |
https://github.com/guzzle/guzzle/pull/1195 |
| 673 |
* Feature: Some compatibility updates for Google APP Engine |
| 674 |
https://github.com/guzzle/guzzle/pull/1216 |
| 675 |
* Feature: Added support for NO_PROXY to prevent the use of a proxy based on |
| 676 |
a simple set of rules. https://github.com/guzzle/guzzle/pull/1197 |
| 677 |
* Feature: Cookies can now contain square brackets. |
| 678 |
https://github.com/guzzle/guzzle/pull/1237 |
| 679 |
* Bug fix: Now correctly parsing `=` inside of quotes in Cookies. |
| 680 |
https://github.com/guzzle/guzzle/pull/1232 |
| 681 |
* Bug fix: Cusotm cURL options now correctly override curl options of the |
| 682 |
same name. https://github.com/guzzle/guzzle/pull/1221 |
| 683 |
* Bug fix: Content-Type header is now added when using an explicitly provided |
| 684 |
multipart body. https://github.com/guzzle/guzzle/pull/1218 |
| 685 |
* Bug fix: Now ignoring Set-Cookie headers that have no name. |
| 686 |
* Bug fix: Reason phrase is no longer cast to an int in some cases in the |
| 687 |
cURL handler. https://github.com/guzzle/guzzle/pull/1187 |
| 688 |
* Bug fix: Remove the Authorization header when redirecting if the Host |
| 689 |
header changes. https://github.com/guzzle/guzzle/pull/1207 |
| 690 |
* Bug fix: Cookie path matching fixes |
| 691 |
https://github.com/guzzle/guzzle/issues/1129 |
| 692 |
* Bug fix: Fixing the cURL `body_as_string` setting |
| 693 |
https://github.com/guzzle/guzzle/pull/1201 |
| 694 |
* Bug fix: quotes are no longer stripped when parsing cookies. |
| 695 |
https://github.com/guzzle/guzzle/issues/1172 |
| 696 |
* Bug fix: `form_params` and `query` now always uses the `&` separator. |
| 697 |
https://github.com/guzzle/guzzle/pull/1163 |
| 698 |
* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set. |
| 699 |
https://github.com/guzzle/guzzle/pull/1189 |
| 700 |
|
| 701 |
|
| 702 |
## 6.0.2 - 2015-07-04 |
| 703 |
|
| 704 |
* Fixed a memory leak in the curl handlers in which references to callbacks |
| 705 |
were not being removed by `curl_reset`. |
| 706 |
* Cookies are now extracted properly before redirects. |
| 707 |
* Cookies now allow more character ranges. |
| 708 |
* Decoded Content-Encoding responses are now modified to correctly reflect |
| 709 |
their state if the encoding was automatically removed by a handler. This |
| 710 |
means that the `Content-Encoding` header may be removed an the |
| 711 |
`Content-Length` modified to reflect the message size after removing the |
| 712 |
encoding. |
| 713 |
* Added a more explicit error message when trying to use `form_params` and |
| 714 |
`multipart` in the same request. |
| 715 |
* Several fixes for HHVM support. |
| 716 |
* Functions are now conditionally required using an additional level of |
| 717 |
indirection to help with global Composer installations. |
| 718 |
|
| 719 |
|
| 720 |
## 6.0.1 - 2015-05-27 |
| 721 |
|
| 722 |
* Fixed a bug with serializing the `query` request option where the `&` |
| 723 |
separator was missing. |
| 724 |
* Added a better error message for when `body` is provided as an array. Please |
| 725 |
use `form_params` or `multipart` instead. |
| 726 |
* Various doc fixes. |
| 727 |
|
| 728 |
|
| 729 |
## 6.0.0 - 2015-05-26 |
| 730 |
|
| 731 |
* See the UPGRADING.md document for more information. |
| 732 |
* Added `multipart` and `form_params` request options. |
| 733 |
* Added `synchronous` request option. |
| 734 |
* Added the `on_headers` request option. |
| 735 |
* Fixed `expect` handling. |
| 736 |
* No longer adding default middlewares in the client ctor. These need to be |
| 737 |
present on the provided handler in order to work. |
| 738 |
* Requests are no longer initiated when sending async requests with the |
| 739 |
CurlMultiHandler. This prevents unexpected recursion from requests completing |
| 740 |
while ticking the cURL loop. |
| 741 |
* Removed the semantics of setting `default` to `true`. This is no longer |
| 742 |
required now that the cURL loop is not ticked for async requests. |
| 743 |
* Added request and response logging middleware. |
| 744 |
* No longer allowing self signed certificates when using the StreamHandler. |
| 745 |
* Ensuring that `sink` is valid if saving to a file. |
| 746 |
* Request exceptions now include a "handler context" which provides handler |
| 747 |
specific contextual information. |
| 748 |
* Added `GuzzleHttp\RequestOptions` to allow request options to be applied |
| 749 |
using constants. |
| 750 |
* `$maxHandles` has been removed from CurlMultiHandler. |
| 751 |
* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package. |
| 752 |
|
| 753 |
|
| 754 |
## 5.3.0 - 2015-05-19 |
| 755 |
|
| 756 |
* Mock now supports `save_to` |
| 757 |
* Marked `AbstractRequestEvent::getTransaction()` as public. |
| 758 |
* Fixed a bug in which multiple headers using different casing would overwrite |
| 759 |
previous headers in the associative array. |
| 760 |
* Added `Utils::getDefaultHandler()` |
| 761 |
* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated. |
| 762 |
* URL scheme is now always lowercased. |
| 763 |
|
| 764 |
|
| 765 |
## 6.0.0-beta.1 |
| 766 |
|
| 767 |
* Requires PHP >= 5.5 |
| 768 |
* Updated to use PSR-7 |
| 769 |
* Requires immutable messages, which basically means an event based system |
| 770 |
owned by a request instance is no longer possible. |
| 771 |
* Utilizing the [Guzzle PSR-7 package](https://github.com/guzzle/psr7). |
| 772 |
* Removed the dependency on `guzzlehttp/streams`. These stream abstractions |
| 773 |
are available in the `guzzlehttp/psr7` package under the `GuzzleHttp\Psr7` |
| 774 |
namespace. |
| 775 |
* Added middleware and handler system |
| 776 |
* Replaced the Guzzle event and subscriber system with a middleware system. |
| 777 |
* No longer depends on RingPHP, but rather places the HTTP handlers directly |
| 778 |
in Guzzle, operating on PSR-7 messages. |
| 779 |
* Retry logic is now encapsulated in `GuzzleHttp\Middleware::retry`, which |
| 780 |
means the `guzzlehttp/retry-subscriber` is now obsolete. |
| 781 |
* Mocking responses is now handled using `GuzzleHttp\Handler\MockHandler`. |
| 782 |
* Asynchronous responses |
| 783 |
* No longer supports the `future` request option to send an async request. |
| 784 |
Instead, use one of the `*Async` methods of a client (e.g., `requestAsync`, |
| 785 |
`getAsync`, etc.). |
| 786 |
* Utilizing `GuzzleHttp\Promise` instead of React's promise library to avoid |
| 787 |
recursion required by chaining and forwarding react promises. See |
| 788 |
https://github.com/guzzle/promises |
| 789 |
* Added `requestAsync` and `sendAsync` to send request asynchronously. |
| 790 |
* Added magic methods for `getAsync()`, `postAsync()`, etc. to send requests |
| 791 |
asynchronously. |
| 792 |
* Request options |
| 793 |
* POST and form updates |
| 794 |
* Added the `form_fields` and `form_files` request options. |
| 795 |
* Removed the `GuzzleHttp\Post` namespace. |
| 796 |
* The `body` request option no longer accepts an array for POST requests. |
| 797 |
* The `exceptions` request option has been deprecated in favor of the |
| 798 |
`http_errors` request options. |
| 799 |
* The `save_to` request option has been deprecated in favor of `sink` request |
| 800 |
option. |
| 801 |
* Clients no longer accept an array of URI template string and variables for |
| 802 |
URI variables. You will need to expand URI templates before passing them |
| 803 |
into a client constructor or request method. |
| 804 |
* Client methods `get()`, `post()`, `put()`, `patch()`, `options()`, etc. are |
| 805 |
now magic methods that will send synchronous requests. |
| 806 |
* Replaced `Utils.php` with plain functions in `functions.php`. |
| 807 |
* Removed `GuzzleHttp\Collection`. |
| 808 |
* Removed `GuzzleHttp\BatchResults`. Batched pool results are now returned as |
| 809 |
an array. |
| 810 |
* Removed `GuzzleHttp\Query`. Query string handling is now handled using an |
| 811 |
associative array passed into the `query` request option. The query string |
| 812 |
is serialized using PHP's `http_build_query`. If you need more control, you |
| 813 |
can pass the query string in as a string. |
| 814 |
* `GuzzleHttp\QueryParser` has been replaced with the |
| 815 |
`GuzzleHttp\Psr7\parse_query`. |
| 816 |
|
| 817 |
|
| 818 |
## 5.2.0 - 2015-01-27 |
| 819 |
|
| 820 |
* Added `AppliesHeadersInterface` to make applying headers to a request based |
| 821 |
on the body more generic and not specific to `PostBodyInterface`. |
| 822 |
* Reduced the number of stack frames needed to send requests. |
| 823 |
* Nested futures are now resolved in the client rather than the RequestFsm |
| 824 |
* Finishing state transitions is now handled in the RequestFsm rather than the |
| 825 |
RingBridge. |
| 826 |
* Added a guard in the Pool class to not use recursion for request retries. |
| 827 |
|
| 828 |
|
| 829 |
## 5.1.0 - 2014-12-19 |
| 830 |
|
| 831 |
* Pool class no longer uses recursion when a request is intercepted. |
| 832 |
* The size of a Pool can now be dynamically adjusted using a callback. |
| 833 |
See https://github.com/guzzle/guzzle/pull/943. |
| 834 |
* Setting a request option to `null` when creating a request with a client will |
| 835 |
ensure that the option is not set. This allows you to overwrite default |
| 836 |
request options on a per-request basis. |
| 837 |
See https://github.com/guzzle/guzzle/pull/937. |
| 838 |
* Added the ability to limit which protocols are allowed for redirects by |
| 839 |
specifying a `protocols` array in the `allow_redirects` request option. |
| 840 |
* Nested futures due to retries are now resolved when waiting for synchronous |
| 841 |
responses. See https://github.com/guzzle/guzzle/pull/947. |
| 842 |
* `"0"` is now an allowed URI path. See |
| 843 |
https://github.com/guzzle/guzzle/pull/935. |
| 844 |
* `Query` no longer typehints on the `$query` argument in the constructor, |
| 845 |
allowing for strings and arrays. |
| 846 |
* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle |
| 847 |
specific exceptions if necessary. |
| 848 |
|
| 849 |
|
| 850 |
## 5.0.3 - 2014-11-03 |
| 851 |
|
| 852 |
This change updates query strings so that they are treated as un-encoded values |
| 853 |
by default where the value represents an un-encoded value to send over the |
| 854 |
wire. A Query object then encodes the value before sending over the wire. This |
| 855 |
means that even value query string values (e.g., ":") are url encoded. This |
| 856 |
makes the Query class match PHP's http_build_query function. However, if you |
| 857 |
want to send requests over the wire using valid query string characters that do |
| 858 |
not need to be encoded, then you can provide a string to Url::setQuery() and |
| 859 |
pass true as the second argument to specify that the query string is a raw |
| 860 |
string that should not be parsed or encoded (unless a call to getQuery() is |
| 861 |
subsequently made, forcing the query-string to be converted into a Query |
| 862 |
object). |
| 863 |
|
| 864 |
|
| 865 |
## 5.0.2 - 2014-10-30 |
| 866 |
|
| 867 |
* Added a trailing `\r\n` to multipart/form-data payloads. See |
| 868 |
https://github.com/guzzle/guzzle/pull/871 |
| 869 |
* Added a `GuzzleHttp\Pool::send()` convenience method to match the docs. |
| 870 |
* Status codes are now returned as integers. See |
| 871 |
https://github.com/guzzle/guzzle/issues/881 |
| 872 |
* No longer overwriting an existing `application/x-www-form-urlencoded` header |
| 873 |
when sending POST requests, allowing for customized headers. See |
| 874 |
https://github.com/guzzle/guzzle/issues/877 |
| 875 |
* Improved path URL serialization. |
| 876 |
|
| 877 |
* No longer double percent-encoding characters in the path or query string if |
| 878 |
they are already encoded. |
| 879 |
* Now properly encoding the supplied path to a URL object, instead of only |
| 880 |
encoding ' ' and '?'. |
| 881 |
* Note: This has been changed in 5.0.3 to now encode query string values by |
| 882 |
default unless the `rawString` argument is provided when setting the query |
| 883 |
string on a URL: Now allowing many more characters to be present in the |
| 884 |
query string without being percent encoded. See |
| 885 |
https://datatracker.ietf.org/doc/html/rfc3986#appendix-A |
| 886 |
|
| 887 |
|
| 888 |
## 5.0.1 - 2014-10-16 |
| 889 |
|
| 890 |
Bugfix release. |
| 891 |
|
| 892 |
* Fixed an issue where connection errors still returned response object in |
| 893 |
error and end events event though the response is unusable. This has been |
| 894 |
corrected so that a response is not returned in the `getResponse` method of |
| 895 |
these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867 |
| 896 |
* Fixed an issue where transfer statistics were not being populated in the |
| 897 |
RingBridge. https://github.com/guzzle/guzzle/issues/866 |
| 898 |
|
| 899 |
|
| 900 |
## 5.0.0 - 2014-10-12 |
| 901 |
|
| 902 |
Adding support for non-blocking responses and some minor API cleanup. |
| 903 |
|
| 904 |
### New Features |
| 905 |
|
| 906 |
* Added support for non-blocking responses based on `guzzlehttp/guzzle-ring`. |
| 907 |
* Added a public API for creating a default HTTP adapter. |
| 908 |
* Updated the redirect plugin to be non-blocking so that redirects are sent |
| 909 |
concurrently. Other plugins like this can now be updated to be non-blocking. |
| 910 |
* Added a "progress" event so that you can get upload and download progress |
| 911 |
events. |
| 912 |
* Added `GuzzleHttp\Pool` which implements FutureInterface and transfers |
| 913 |
requests concurrently using a capped pool size as efficiently as possible. |
| 914 |
* Added `hasListeners()` to EmitterInterface. |
| 915 |
* Removed `GuzzleHttp\ClientInterface::sendAll` and marked |
| 916 |
`GuzzleHttp\Client::sendAll` as deprecated (it's still there, just not the |
| 917 |
recommended way). |
| 918 |
|
| 919 |
### Breaking changes |
| 920 |
|
| 921 |
The breaking changes in this release are relatively minor. The biggest thing to |
| 922 |
look out for is that request and response objects no longer implement fluent |
| 923 |
interfaces. |
| 924 |
|
| 925 |
* Removed the fluent interfaces (i.e., `return $this`) from requests, |
| 926 |
responses, `GuzzleHttp\Collection`, `GuzzleHttp\Url`, |
| 927 |
`GuzzleHttp\Query`, `GuzzleHttp\Post\PostBody`, and |
| 928 |
`GuzzleHttp\Cookie\SetCookie`. This blog post provides a good outline of |
| 929 |
why I did this: https://ocramius.github.io/blog/fluent-interfaces-are-evil/. |
| 930 |
This also makes the Guzzle message interfaces compatible with the current |
| 931 |
PSR-7 message proposal. |
| 932 |
* Removed "functions.php", so that Guzzle is truly PSR-4 compliant. Except |
| 933 |
for the HTTP request functions from function.php, these functions are now |
| 934 |
implemented in `GuzzleHttp\Utils` using camelCase. `GuzzleHttp\json_decode` |
| 935 |
moved to `GuzzleHttp\Utils::jsonDecode`. `GuzzleHttp\get_path` moved to |
| 936 |
`GuzzleHttp\Utils::getPath`. `GuzzleHttp\set_path` moved to |
| 937 |
`GuzzleHttp\Utils::setPath`. `GuzzleHttp\batch` should now be |
| 938 |
`GuzzleHttp\Pool::batch`, which returns an `objectStorage`. Using functions.php |
| 939 |
caused problems for many users: they aren't PSR-4 compliant, require an |
| 940 |
explicit include, and needed an if-guard to ensure that the functions are not |
| 941 |
declared multiple times. |
| 942 |
* Rewrote adapter layer. |
| 943 |
* Removing all classes from `GuzzleHttp\Adapter`, these are now |
| 944 |
implemented as callables that are stored in `GuzzleHttp\Ring\Client`. |
| 945 |
* Removed the concept of "parallel adapters". Sending requests serially or |
| 946 |
concurrently is now handled using a single adapter. |
| 947 |
* Moved `GuzzleHttp\Adapter\Transaction` to `GuzzleHttp\Transaction`. The |
| 948 |
Transaction object now exposes the request, response, and client as public |
| 949 |
properties. The getters and setters have been removed. |
| 950 |
* Removed the "headers" event. This event was only useful for changing the |
| 951 |
body a response once the headers of the response were known. You can implement |
| 952 |
a similar behavior in a number of ways. One example might be to use a |
| 953 |
FnStream that has access to the transaction being sent. For example, when the |
| 954 |
first byte is written, you could check if the response headers match your |
| 955 |
expectations, and if so, change the actual stream body that is being |
| 956 |
written to. |
| 957 |
* Removed the `asArray` parameter from |
| 958 |
`GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header |
| 959 |
value as an array, then use the newly added `getHeaderAsArray()` method of |
| 960 |
`MessageInterface`. This change makes the Guzzle interfaces compatible with |
| 961 |
the PSR-7 interfaces. |
| 962 |
* `GuzzleHttp\Message\MessageFactory` no longer allows subclasses to add |
| 963 |
custom request options using double-dispatch (this was an implementation |
| 964 |
detail). Instead, you should now provide an associative array to the |
| 965 |
constructor which is a mapping of the request option name mapping to a |
| 966 |
function that applies the option value to a request. |
| 967 |
* Removed the concept of "throwImmediately" from exceptions and error events. |
| 968 |
This control mechanism was used to stop a transfer of concurrent requests |
| 969 |
from completing. This can now be handled by throwing the exception or by |
| 970 |
cancelling a pool of requests or each outstanding future request individually. |
| 971 |
* Updated to "GuzzleHttp\Streams" 3.0. |
| 972 |
* `GuzzleHttp\Stream\StreamInterface::getContents()` no longer accepts a |
| 973 |
`maxLen` parameter. This update makes the Guzzle streams project |
| 974 |
compatible with the current PSR-7 proposal. |
| 975 |
* `GuzzleHttp\Stream\Stream::__construct`, |
| 976 |
`GuzzleHttp\Stream\Stream::factory`, and |
| 977 |
`GuzzleHttp\Stream\Utils::create` no longer accept a size in the second |
| 978 |
argument. They now accept an associative array of options, including the |
| 979 |
"size" key and "metadata" key which can be used to provide custom metadata. |
| 980 |
|
| 981 |
|
| 982 |
## 4.2.2 - 2014-09-08 |
| 983 |
|
| 984 |
* Fixed a memory leak in the CurlAdapter when reusing cURL handles. |
| 985 |
* No longer using `request_fulluri` in stream adapter proxies. |
| 986 |
* Relative redirects are now based on the last response, not the first response. |
| 987 |
|
| 988 |
## 4.2.1 - 2014-08-19 |
| 989 |
|
| 990 |
* Ensuring that the StreamAdapter does not always add a Content-Type header |
| 991 |
* Adding automated github releases with a phar and zip |
| 992 |
|
| 993 |
## 4.2.0 - 2014-08-17 |
| 994 |
|
| 995 |
* Now merging in default options using a case-insensitive comparison. |
| 996 |
Closes https://github.com/guzzle/guzzle/issues/767 |
| 997 |
* Added the ability to automatically decode `Content-Encoding` response bodies |
| 998 |
using the `decode_content` request option. This is set to `true` by default |
| 999 |
to decode the response body if it comes over the wire with a |
| 1000 |
`Content-Encoding`. Set this value to `false` to disable decoding the |
| 1001 |
response content, and pass a string to provide a request `Accept-Encoding` |
| 1002 |
header and turn on automatic response decoding. This feature now allows you |
| 1003 |
to pass an `Accept-Encoding` header in the headers of a request but still |
| 1004 |
disable automatic response decoding. |
| 1005 |
Closes https://github.com/guzzle/guzzle/issues/764 |
| 1006 |
* Added the ability to throw an exception immediately when transferring |
| 1007 |
requests in parallel. Closes https://github.com/guzzle/guzzle/issues/760 |
| 1008 |
* Updating guzzlehttp/streams dependency to ~2.1 |
| 1009 |
* No longer utilizing the now deprecated namespaced methods from the stream |
| 1010 |
package. |
| 1011 |
|
| 1012 |
## 4.1.8 - 2014-08-14 |
| 1013 |
|
| 1014 |
* Fixed an issue in the CurlFactory that caused setting the `stream=false` |
| 1015 |
request option to throw an exception. |
| 1016 |
See: https://github.com/guzzle/guzzle/issues/769 |
| 1017 |
* TransactionIterator now calls rewind on the inner iterator. |
| 1018 |
See: https://github.com/guzzle/guzzle/pull/765 |
| 1019 |
* You can now set the `Content-Type` header to `multipart/form-data` |
| 1020 |
when creating POST requests to force multipart bodies. |
| 1021 |
See https://github.com/guzzle/guzzle/issues/768 |
| 1022 |
|
| 1023 |
## 4.1.7 - 2014-08-07 |
| 1024 |
|
| 1025 |
* Fixed an error in the HistoryPlugin that caused the same request and response |
| 1026 |
to be logged multiple times when an HTTP protocol error occurs. |
| 1027 |
* Ensuring that cURL does not add a default Content-Type when no Content-Type |
| 1028 |
has been supplied by the user. This prevents the adapter layer from modifying |
| 1029 |
the request that is sent over the wire after any listeners may have already |
| 1030 |
put the request in a desired state (e.g., signed the request). |
| 1031 |
* Throwing an exception when you attempt to send requests that have the |
| 1032 |
"stream" set to true in parallel using the MultiAdapter. |
| 1033 |
* Only calling curl_multi_select when there are active cURL handles. This was |
| 1034 |
previously changed and caused performance problems on some systems due to PHP |
| 1035 |
always selecting until the maximum select timeout. |
| 1036 |
* Fixed a bug where multipart/form-data POST fields were not correctly |
| 1037 |
aggregated (e.g., values with "&"). |
| 1038 |
|
| 1039 |
## 4.1.6 - 2014-08-03 |
| 1040 |
|
| 1041 |
* Added helper methods to make it easier to represent messages as strings, |
| 1042 |
including getting the start line and getting headers as a string. |
| 1043 |
|
| 1044 |
## 4.1.5 - 2014-08-02 |
| 1045 |
|
| 1046 |
* Automatically retrying cURL "Connection died, retrying a fresh connect" |
| 1047 |
errors when possible. |
| 1048 |
* cURL implementation cleanup |
| 1049 |
* Allowing multiple event subscriber listeners to be registered per event by |
| 1050 |
passing an array of arrays of listener configuration. |
| 1051 |
|
| 1052 |
## 4.1.4 - 2014-07-22 |
| 1053 |
|
| 1054 |
* Fixed a bug that caused multi-part POST requests with more than one field to |
| 1055 |
serialize incorrectly. |
| 1056 |
* Paths can now be set to "0" |
| 1057 |
* `ResponseInterface::xml` now accepts a `libxml_options` option and added a |
| 1058 |
missing default argument that was required when parsing XML response bodies. |
| 1059 |
* A `save_to` stream is now created lazily, which means that files are not |
| 1060 |
created on disk unless a request succeeds. |
| 1061 |
|
| 1062 |
## 4.1.3 - 2014-07-15 |
| 1063 |
|
| 1064 |
* Various fixes to multipart/form-data POST uploads |
| 1065 |
* Wrapping function.php in an if-statement to ensure Guzzle can be used |
| 1066 |
globally and in a Composer install |
| 1067 |
* Fixed an issue with generating and merging in events to an event array |
| 1068 |
* POST headers are only applied before sending a request to allow you to change |
| 1069 |
the query aggregator used before uploading |
| 1070 |
* Added much more robust query string parsing |
| 1071 |
* Fixed various parsing and normalization issues with URLs |
| 1072 |
* Fixing an issue where multi-valued headers were not being utilized correctly |
| 1073 |
in the StreamAdapter |
| 1074 |
|
| 1075 |
## 4.1.2 - 2014-06-18 |
| 1076 |
|
| 1077 |
* Added support for sending payloads with GET requests |
| 1078 |
|
| 1079 |
## 4.1.1 - 2014-06-08 |
| 1080 |
|
| 1081 |
* Fixed an issue related to using custom message factory options in subclasses |
| 1082 |
* Fixed an issue with nested form fields in a multi-part POST |
| 1083 |
* Fixed an issue with using the `json` request option for POST requests |
| 1084 |
* Added `ToArrayInterface` to `GuzzleHttp\Cookie\CookieJar` |
| 1085 |
|
| 1086 |
## 4.1.0 - 2014-05-27 |
| 1087 |
|
| 1088 |
* Added a `json` request option to easily serialize JSON payloads. |
| 1089 |
* Added a `GuzzleHttp\json_decode()` wrapper to safely parse JSON. |
| 1090 |
* Added `setPort()` and `getPort()` to `GuzzleHttp\Message\RequestInterface`. |
| 1091 |
* Added the ability to provide an emitter to a client in the client constructor. |
| 1092 |
* Added the ability to persist a cookie session using $_SESSION. |
| 1093 |
* Added a trait that can be used to add event listeners to an iterator. |
| 1094 |
* Removed request method constants from RequestInterface. |
| 1095 |
* Fixed warning when invalid request start-lines are received. |
| 1096 |
* Updated MessageFactory to work with custom request option methods. |
| 1097 |
* Updated cacert bundle to latest build. |
| 1098 |
|
| 1099 |
4.0.2 (2014-04-16) |
| 1100 |
------------------ |
| 1101 |
|
| 1102 |
* Proxy requests using the StreamAdapter now properly use request_fulluri (#632) |
| 1103 |
* Added the ability to set scalars as POST fields (#628) |
| 1104 |
|
| 1105 |
## 4.0.1 - 2014-04-04 |
| 1106 |
|
| 1107 |
* The HTTP status code of a response is now set as the exception code of |
| 1108 |
RequestException objects. |
| 1109 |
* 303 redirects will now correctly switch from POST to GET requests. |
| 1110 |
* The default parallel adapter of a client now correctly uses the MultiAdapter. |
| 1111 |
* HasDataTrait now initializes the internal data array as an empty array so |
| 1112 |
that the toArray() method always returns an array. |
| 1113 |
|
| 1114 |
## 4.0.0 - 2014-03-29 |
| 1115 |
|
| 1116 |
* For information on changes and upgrading, see: |
| 1117 |
https://github.com/guzzle/guzzle/blob/4.x/UPGRADING.md#3x-to-40 |
| 1118 |
* Added `GuzzleHttp\batch()` as a convenience function for sending requests in |
| 1119 |
parallel without needing to write asynchronous code. |
| 1120 |
* Restructured how events are added to `GuzzleHttp\ClientInterface::sendAll()`. |
| 1121 |
You can now pass a callable or an array of associative arrays where each |
| 1122 |
associative array contains the "fn", "priority", and "once" keys. |
| 1123 |
|
| 1124 |
## 4.0.0.rc-2 - 2014-03-25 |
| 1125 |
|
| 1126 |
* Removed `getConfig()` and `setConfig()` from clients to avoid confusion |
| 1127 |
around whether things like base_url, message_factory, etc. should be able to |
| 1128 |
be retrieved or modified. |
| 1129 |
* Added `getDefaultOption()` and `setDefaultOption()` to ClientInterface |
| 1130 |
* functions.php functions were renamed using snake_case to match PHP idioms |
| 1131 |
* Added support for `HTTP_PROXY`, `HTTPS_PROXY`, and |
| 1132 |
`GUZZLE_CURL_SELECT_TIMEOUT` environment variables |
| 1133 |
* Added the ability to specify custom `sendAll()` event priorities |
| 1134 |
* Added the ability to specify custom stream context options to the stream |
| 1135 |
adapter. |
| 1136 |
* Added a functions.php function for `get_path()` and `set_path()` |
| 1137 |
* CurlAdapter and MultiAdapter now use a callable to generate curl resources |
| 1138 |
* MockAdapter now properly reads a body and emits a `headers` event |
| 1139 |
* Updated Url class to check if a scheme and host are set before adding ":" |
| 1140 |
and "//". This allows empty Url (e.g., "") to be serialized as "". |
| 1141 |
* Parsing invalid XML no longer emits warnings |
| 1142 |
* Curl classes now properly throw AdapterExceptions |
| 1143 |
* Various performance optimizations |
| 1144 |
* Streams are created with the faster `Stream\create()` function |
| 1145 |
* Marked deprecation_proxy() as internal |
| 1146 |
* Test server is now a collection of static methods on a class |
| 1147 |
|
| 1148 |
## 4.0.0-rc.1 - 2014-03-15 |
| 1149 |
|
| 1150 |
* See https://github.com/guzzle/guzzle/blob/4.x/UPGRADING.md#3x-to-40 |
| 1151 |
|
| 1152 |
## 3.8.1 - 2014-01-28 |
| 1153 |
|
| 1154 |
* Bug: Always using GET requests when redirecting from a 303 response |
| 1155 |
* Bug: CURLOPT_SSL_VERIFYHOST is now correctly set to false when setting `$certificateAuthority` to false in |
| 1156 |
`Guzzle\Http\ClientInterface::setSslVerification()` |
| 1157 |
* Bug: RedirectPlugin now uses strict RFC 3986 compliance when combining a base URL with a relative URL |
| 1158 |
* Bug: The body of a request can now be set to `"0"` |
| 1159 |
* Sending PHP stream requests no longer forces `HTTP/1.0` |
| 1160 |
* Adding more information to ExceptionCollection exceptions so that users have more context, including a stack trace of |
| 1161 |
each sub-exception |
| 1162 |
* Updated the `$ref` attribute in service descriptions to merge over any existing parameters of a schema (rather than |
| 1163 |
clobbering everything). |
| 1164 |
* Merging URLs will now use the query string object from the relative URL (thus allowing custom query aggregators) |
| 1165 |
* Query strings are now parsed in a way that they do no convert empty keys with no value to have a dangling `=`. |
| 1166 |
For example `foo&bar=baz` is now correctly parsed and recognized as `foo&bar=baz` rather than `foo=&bar=baz`. |
| 1167 |
* Now properly escaping the regular expression delimiter when matching Cookie domains. |
| 1168 |
* Network access is now disabled when loading XML documents |
| 1169 |
|
| 1170 |
## 3.8.0 - 2013-12-05 |
| 1171 |
|
| 1172 |
* Added the ability to define a POST name for a file |
| 1173 |
* JSON response parsing now properly walks additionalProperties |
| 1174 |
* cURL error code 18 is now retried automatically in the BackoffPlugin |
| 1175 |
* Fixed a cURL error when URLs contain fragments |
| 1176 |
* Fixed an issue in the BackoffPlugin retry event where it was trying to access all exceptions as if they were |
| 1177 |
CurlExceptions |
| 1178 |
* CURLOPT_PROGRESS function fix for PHP 5.5 (69fcc1e) |
| 1179 |
* Added the ability for Guzzle to work with older versions of cURL that do not support `CURLOPT_TIMEOUT_MS` |
| 1180 |
* Fixed a bug that was encountered when parsing empty header parameters |
| 1181 |
* UriTemplate now has a `setRegex()` method to match the docs |
| 1182 |
* The `debug` request parameter now checks if it is truthy rather than if it exists |
| 1183 |
* Setting the `debug` request parameter to true shows verbose cURL output instead of using the LogPlugin |
| 1184 |
* Added the ability to combine URLs using strict RFC 3986 compliance |
| 1185 |
* Command objects can now return the validation errors encountered by the command |
| 1186 |
* Various fixes to cache revalidation (#437 and 29797e5) |
| 1187 |
* Various fixes to the AsyncPlugin |
| 1188 |
* Cleaned up build scripts |
| 1189 |
|
| 1190 |
## 3.7.4 - 2013-10-02 |
| 1191 |
|
| 1192 |
* Bug fix: 0 is now an allowed value in a description parameter that has a default value (#430) |
| 1193 |
* Bug fix: SchemaFormatter now returns an integer when formatting to a Unix timestamp |
| 1194 |
(see https://github.com/aws/aws-sdk-php/issues/147) |
| 1195 |
* Bug fix: Cleaned up and fixed URL dot segment removal to properly resolve internal dots |
| 1196 |
* Minimum PHP version is now properly specified as 5.3.3 (up from 5.3.2) (#420) |
| 1197 |
* Updated the bundled cacert.pem (#419) |
| 1198 |
* OauthPlugin now supports adding authentication to headers or query string (#425) |
| 1199 |
|
| 1200 |
## 3.7.3 - 2013-09-08 |
| 1201 |
|
| 1202 |
* Added the ability to get the exception associated with a request/command when using `MultiTransferException` and |
| 1203 |
`CommandTransferException`. |
| 1204 |
* Setting `additionalParameters` of a response to false is now honored when parsing responses with a service description |
| 1205 |
* Schemas are only injected into response models when explicitly configured. |
| 1206 |
* No longer guessing Content-Type based on the path of a request. Content-Type is now only guessed based on the path of |
| 1207 |
an EntityBody. |
| 1208 |
* Bug fix: ChunkedIterator can now properly chunk a \Traversable as well as an \Iterator. |
| 1209 |
* Bug fix: FilterIterator now relies on `\Iterator` instead of `\Traversable`. |
| 1210 |
* Bug fix: Gracefully handling malformed responses in RequestMediator::writeResponseBody() |
| 1211 |
* Bug fix: Replaced call to canCache with canCacheRequest in the CallbackCanCacheStrategy of the CachePlugin |
| 1212 |
* Bug fix: Visiting XML attributes first before visiting XML children when serializing requests |
| 1213 |
* Bug fix: Properly parsing headers that contain commas contained in quotes |
| 1214 |
* Bug fix: mimetype guessing based on a filename is now case-insensitive |
| 1215 |
|
| 1216 |
## 3.7.2 - 2013-08-02 |
| 1217 |
|
| 1218 |
* Bug fix: Properly URL encoding paths when using the PHP-only version of the UriTemplate expander |
| 1219 |
See https://github.com/guzzle/guzzle/issues/371 |
| 1220 |
* Bug fix: Cookie domains are now matched correctly according to RFC 6265 |
| 1221 |
See https://github.com/guzzle/guzzle/issues/377 |
| 1222 |
* Bug fix: GET parameters are now used when calculating an OAuth signature |
| 1223 |
* Bug fix: Fixed an issue with cache revalidation where the If-None-Match header was being double quoted |
| 1224 |
* `Guzzle\Common\AbstractHasDispatcher::dispatch()` now returns the event that was dispatched |
| 1225 |
* `Guzzle\Http\QueryString::factory()` now guesses the most appropriate query aggregator to used based on the input. |
| 1226 |
See https://github.com/guzzle/guzzle/issues/379 |
| 1227 |
* Added a way to add custom domain objects to service description parsing using the `operation.parse_class` event. See |
| 1228 |
https://github.com/guzzle/guzzle/pull/380 |
| 1229 |
* cURL multi cleanup and optimizations |
| 1230 |
|
| 1231 |
## 3.7.1 - 2013-07-05 |
| 1232 |
|
| 1233 |
* Bug fix: Setting default options on a client now works |
| 1234 |
* Bug fix: Setting options on HEAD requests now works. See #352 |
| 1235 |
* Bug fix: Moving stream factory before send event to before building the stream. See #353 |
| 1236 |
* Bug fix: Cookies no longer match on IP addresses per RFC 6265 |
| 1237 |
* Bug fix: Correctly parsing header parameters that are in `<>` and quotes |
| 1238 |
* Added `cert` and `ssl_key` as request options |
| 1239 |
* `Host` header can now diverge from the host part of a URL if the header is set manually |
| 1240 |
* `Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor` was rewritten to change from using SimpleXML to XMLWriter |
| 1241 |
* OAuth parameters are only added via the plugin if they aren't already set |
| 1242 |
* Exceptions are now thrown when a URL cannot be parsed |
| 1243 |
* Returning `false` if `Guzzle\Http\EntityBody::getContentMd5()` fails |
| 1244 |
* Not setting a `Content-MD5` on a command if calculating the Content-MD5 fails via the CommandContentMd5Plugin |
| 1245 |
|
| 1246 |
## 3.7.0 - 2013-06-10 |
| 1247 |
|
| 1248 |
* See UPGRADING.md for more information on how to upgrade. |
| 1249 |
* Requests now support the ability to specify an array of $options when creating a request to more easily modify a |
| 1250 |
request. You can pass a 'request.options' configuration setting to a client to apply default request options to |
| 1251 |
every request created by a client (e.g. default query string variables, headers, curl options, etc.). |
| 1252 |
* Added a static facade class that allows you to use Guzzle with static methods and mount the class to `\Guzzle`. |
| 1253 |
See `Guzzle\Http\StaticClient::mount`. |
| 1254 |
* Added `command.request_options` to `Guzzle\Service\Command\AbstractCommand` to pass request options to requests |
| 1255 |
created by a command (e.g. custom headers, query string variables, timeout settings, etc.). |
| 1256 |
* Stream size in `Guzzle\Stream\PhpStreamRequestFactory` will now be set if Content-Length is returned in the |
| 1257 |
headers of a response |
| 1258 |
* Added `Guzzle\Common\Collection::setPath($path, $value)` to set a value into an array using a nested key |
| 1259 |
(e.g. `$collection->setPath('foo/baz/bar', 'test'); echo $collection['foo']['bar']['bar'];`) |
| 1260 |
* ServiceBuilders now support storing and retrieving arbitrary data |
| 1261 |
* CachePlugin can now purge all resources for a given URI |
| 1262 |
* CachePlugin can automatically purge matching cached items when a non-idempotent request is sent to a resource |
| 1263 |
* CachePlugin now uses the Vary header to determine if a resource is a cache hit |
| 1264 |
* `Guzzle\Http\Message\Response` now implements `\Serializable` |
| 1265 |
* Added `Guzzle\Cache\CacheAdapterFactory::fromCache()` to more easily create cache adapters |
| 1266 |
* `Guzzle\Service\ClientInterface::execute()` now accepts an array, single command, or Traversable |
| 1267 |
* Fixed a bug in `Guzzle\Http\Message\Header\Link::addLink()` |
| 1268 |
* Better handling of calculating the size of a stream in `Guzzle\Stream\Stream` using fstat() and caching the size |
| 1269 |
* `Guzzle\Common\Exception\ExceptionCollection` now creates a more readable exception message |
| 1270 |
* Fixing BC break: Added back the MonologLogAdapter implementation rather than extending from PsrLog so that older |
| 1271 |
Symfony users can still use the old version of Monolog. |
| 1272 |
* Fixing BC break: Added the implementation back in for `Guzzle\Http\Message\AbstractMessage::getTokenizedHeader()`. |
| 1273 |
Now triggering an E_USER_DEPRECATED warning when used. Use `$message->getHeader()->parseParams()`. |
| 1274 |
* Several performance improvements to `Guzzle\Common\Collection` |
| 1275 |
* Added an `$options` argument to the end of the following methods of `Guzzle\Http\ClientInterface`: |
| 1276 |
createRequest, head, delete, put, patch, post, options, prepareRequest |
| 1277 |
* Added an `$options` argument to the end of `Guzzle\Http\Message\Request\RequestFactoryInterface::createRequest()` |
| 1278 |
* Added an `applyOptions()` method to `Guzzle\Http\Message\Request\RequestFactoryInterface` |
| 1279 |
* Changed `Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $body = null)` to |
| 1280 |
`Guzzle\Http\ClientInterface::get($uri = null, $headers = null, $options = array())`. You can still pass in a |
| 1281 |
resource, string, or EntityBody into the $options parameter to specify the download location of the response. |
| 1282 |
* Changed `Guzzle\Common\Collection::__construct($data)` to no longer accepts a null value for `$data` but a |
| 1283 |
default `array()` |
| 1284 |
* Added `Guzzle\Stream\StreamInterface::isRepeatable` |
| 1285 |
* Removed `Guzzle\Http\ClientInterface::setDefaultHeaders(). Use |
| 1286 |
$client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. or |
| 1287 |
$client->getConfig()->setPath('request.options/headers', array('header_name' => 'value'))`. |
| 1288 |
* Removed `Guzzle\Http\ClientInterface::getDefaultHeaders(). Use $client->getConfig()->getPath('request.options/headers')`. |
| 1289 |
* Removed `Guzzle\Http\ClientInterface::expandTemplate()` |
| 1290 |
* Removed `Guzzle\Http\ClientInterface::setRequestFactory()` |
| 1291 |
* Removed `Guzzle\Http\ClientInterface::getCurlMulti()` |
| 1292 |
* Removed `Guzzle\Http\Message\RequestInterface::canCache` |
| 1293 |
* Removed `Guzzle\Http\Message\RequestInterface::setIsRedirect` |
| 1294 |
* Removed `Guzzle\Http\Message\RequestInterface::isRedirect` |
| 1295 |
* Made `Guzzle\Http\Client::expandTemplate` and `getUriTemplate` protected methods. |
| 1296 |
* You can now enable E_USER_DEPRECATED warnings to see if you are using a deprecated method by setting |
| 1297 |
`Guzzle\Common\Version::$emitWarnings` to true. |
| 1298 |
* Marked `Guzzle\Http\Message\Request::isResponseBodyRepeatable()` as deprecated. Use |
| 1299 |
`$request->getResponseBody()->isRepeatable()` instead. |
| 1300 |
* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use |
| 1301 |
`Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. |
| 1302 |
* Marked `Guzzle\Http\Message\Request::canCache()` as deprecated. Use |
| 1303 |
`Guzzle\Plugin\Cache\DefaultCanCacheStrategy->canCacheRequest()` instead. |
| 1304 |
* Marked `Guzzle\Http\Message\Request::setIsRedirect()` as deprecated. Use the HistoryPlugin instead. |
| 1305 |
* Marked `Guzzle\Http\Message\Request::isRedirect()` as deprecated. Use the HistoryPlugin instead. |
| 1306 |
* Marked `Guzzle\Cache\CacheAdapterFactory::factory()` as deprecated |
| 1307 |
* Marked 'command.headers', 'command.response_body' and 'command.on_complete' as deprecated for AbstractCommand. |
| 1308 |
These will work through Guzzle 4.0 |
| 1309 |
* Marked 'request.params' for `Guzzle\Http\Client` as deprecated. Use [request.options][params]. |
| 1310 |
* Marked `Guzzle\Service\Client::enableMagicMethods()` as deprecated. Magic methods can no longer be disabled on a Guzzle\Service\Client. |
| 1311 |
* Marked `Guzzle\Service\Client::getDefaultHeaders()` as deprecated. Use $client->getConfig()->getPath('request.options/headers')`. |
| 1312 |
* Marked `Guzzle\Service\Client::setDefaultHeaders()` as deprecated. Use $client->getConfig()->setPath('request.options/headers/{header_name}', 'value')`. |
| 1313 |
* Marked `Guzzle\Parser\Url\UrlParser` as deprecated. Just use PHP's `parse_url()` and percent encode your UTF-8. |
| 1314 |
* Marked `Guzzle\Common\Collection::inject()` as deprecated. |
| 1315 |
* Marked `Guzzle\Plugin\CurlAuth\CurlAuthPlugin` as deprecated. Use `$client->getConfig()->setPath('request.options/auth', array('user', 'pass', 'Basic|Digest');` |
| 1316 |
* CacheKeyProviderInterface and DefaultCacheKeyProvider are no longer used. All of this logic is handled in a |
| 1317 |
CacheStorageInterface. These two objects and interface will be removed in a future version. |
| 1318 |
* Always setting X-cache headers on cached responses |
| 1319 |
* Default cache TTLs are now handled by the CacheStorageInterface of a CachePlugin |
| 1320 |
* `CacheStorageInterface::cache($key, Response $response, $ttl = null)` has changed to `cache(RequestInterface |
| 1321 |
$request, Response $response);` |
| 1322 |
* `CacheStorageInterface::fetch($key)` has changed to `fetch(RequestInterface $request);` |
| 1323 |
* `CacheStorageInterface::delete($key)` has changed to `delete(RequestInterface $request);` |
| 1324 |
* Added `CacheStorageInterface::purge($url)` |
| 1325 |
* `DefaultRevalidation::__construct(CacheKeyProviderInterface $cacheKey, CacheStorageInterface $cache, CachePlugin |
| 1326 |
$plugin)` has changed to `DefaultRevalidation::__construct(CacheStorageInterface $cache, |
| 1327 |
CanCacheStrategyInterface $canCache = null)` |
| 1328 |
* Added `RevalidationInterface::shouldRevalidate(RequestInterface $request, Response $response)` |
| 1329 |
|
| 1330 |
## 3.6.0 - 2013-05-29 |
| 1331 |
|
| 1332 |
* ServiceDescription now implements ToArrayInterface |
| 1333 |
* Added command.hidden_params to blacklist certain headers from being treated as additionalParameters |
| 1334 |
* Guzzle can now correctly parse incomplete URLs |
| 1335 |
* Mixed casing of headers are now forced to be a single consistent casing across all values for that header. |
| 1336 |
* Messages internally use a HeaderCollection object to delegate handling case-insensitive header resolution |
| 1337 |
* Removed the whole changedHeader() function system of messages because all header changes now go through addHeader(). |
| 1338 |
* Specific header implementations can be created for complex headers. When a message creates a header, it uses a |
| 1339 |
HeaderFactory which can map specific headers to specific header classes. There is now a Link header and |
| 1340 |
CacheControl header implementation. |
| 1341 |
* Removed from interface: Guzzle\Http\ClientInterface::setUriTemplate |
| 1342 |
* Removed from interface: Guzzle\Http\ClientInterface::setCurlMulti() |
| 1343 |
* Removed Guzzle\Http\Message\Request::receivedRequestHeader() and implemented this functionality in |
| 1344 |
Guzzle\Http\Curl\RequestMediator |
| 1345 |
* Removed the optional $asString parameter from MessageInterface::getHeader(). Just cast the header to a string. |
| 1346 |
* Removed the optional $tryChunkedTransfer option from Guzzle\Http\Message\EntityEnclosingRequestInterface |
| 1347 |
* Removed the $asObjects argument from Guzzle\Http\Message\MessageInterface::getHeaders() |
| 1348 |
* Removed Guzzle\Parser\ParserRegister::get(). Use getParser() |
| 1349 |
* Removed Guzzle\Parser\ParserRegister::set(). Use registerParser(). |
| 1350 |
* All response header helper functions return a string rather than mixing Header objects and strings inconsistently |
| 1351 |
* Removed cURL blacklist support. This is no longer necessary now that Expect, Accept, etc. are managed by Guzzle |
| 1352 |
directly via interfaces |
| 1353 |
* Removed the injecting of a request object onto a response object. The methods to get and set a request still exist |
| 1354 |
but are a no-op until removed. |
| 1355 |
* Most classes that used to require a `Guzzle\Service\Command\CommandInterface` typehint now request a |
| 1356 |
`Guzzle\Service\Command\ArrayCommandInterface`. |
| 1357 |
* Added `Guzzle\Http\Message\RequestInterface::startResponse()` to the RequestInterface to handle injecting a response |
| 1358 |
on a request while the request is still being transferred |
| 1359 |
* The ability to case-insensitively search for header values |
| 1360 |
* Guzzle\Http\Message\Header::hasExactHeader |
| 1361 |
* Guzzle\Http\Message\Header::raw. Use getAll() |
| 1362 |
* Deprecated cache control specific methods on Guzzle\Http\Message\AbstractMessage. Use the CacheControl header object |
| 1363 |
instead. |
| 1364 |
* `Guzzle\Service\Command\CommandInterface` now extends from ToArrayInterface and ArrayAccess |
| 1365 |
* Added the ability to cast Model objects to a string to view debug information. |
| 1366 |
|
| 1367 |
## 3.5.0 - 2013-05-13 |
| 1368 |
|
| 1369 |
* Bug: Fixed a regression so that request responses are parsed only once per oncomplete event rather than multiple times |
| 1370 |
* Bug: Better cleanup of one-time events across the board (when an event is meant to fire once, it will now remove |
| 1371 |
itself from the EventDispatcher) |
| 1372 |
* Bug: `Guzzle\Log\MessageFormatter` now properly writes "total_time" and "connect_time" values |
| 1373 |
* Bug: Cloning an EntityEnclosingRequest now clones the EntityBody too |
| 1374 |
* Bug: Fixed an undefined index error when parsing nested JSON responses with a sentAs parameter that reference a |
| 1375 |
non-existent key |
| 1376 |
* Bug: All __call() method arguments are now required (helps with mocking frameworks) |
| 1377 |
* Deprecating Response::getRequest() and now using a shallow clone of a request object to remove a circular reference |
| 1378 |
to help with refcount based garbage collection of resources created by sending a request |
| 1379 |
* Deprecating ZF1 cache and log adapters. These will be removed in the next major version. |
| 1380 |
* Deprecating `Response::getPreviousResponse()` (method signature still exists, but it's deprecated). Use the |
| 1381 |
HistoryPlugin for a history. |
| 1382 |
* Added a `responseBody` alias for the `response_body` location |
| 1383 |
* Refactored internals to no longer rely on Response::getRequest() |
| 1384 |
* HistoryPlugin can now be cast to a string |
| 1385 |
* HistoryPlugin now logs transactions rather than requests and responses to more accurately keep track of the requests |
| 1386 |
and responses that are sent over the wire |
| 1387 |
* Added `getEffectiveUrl()` and `getRedirectCount()` to Response objects |
| 1388 |
|
| 1389 |
## 3.4.3 - 2013-04-30 |
| 1390 |
|
| 1391 |
* Bug fix: Fixing bug introduced in 3.4.2 where redirect responses are duplicated on the final redirected response |
| 1392 |
* Added a check to re-extract the temp cacert bundle from the phar before sending each request |
| 1393 |
|
| 1394 |
## 3.4.2 - 2013-04-29 |
| 1395 |
|
| 1396 |
* Bug fix: Stream objects now work correctly with "a" and "a+" modes |
| 1397 |
* Bug fix: Removing `Transfer-Encoding: chunked` header when a Content-Length is present |
| 1398 |
* Bug fix: AsyncPlugin no longer forces HEAD requests |
| 1399 |
* Bug fix: DateTime timezones are now properly handled when using the service description schema formatter |
| 1400 |
* Bug fix: CachePlugin now properly handles stale-if-error directives when a request to the origin server fails |
| 1401 |
* Setting a response on a request will write to the custom request body from the response body if one is specified |
| 1402 |
* LogPlugin now writes to php://output when STDERR is undefined |
| 1403 |
* Added the ability to set multiple POST files for the same key in a single call |
| 1404 |
* application/x-www-form-urlencoded POSTs now use the utf-8 charset by default |
| 1405 |
* Added the ability to queue CurlExceptions to the MockPlugin |
| 1406 |
* Cleaned up how manual responses are queued on requests (removed "queued_response" and now using request.before_send) |
| 1407 |
* Configuration loading now allows remote files |
| 1408 |
|
| 1409 |
## 3.4.1 - 2013-04-16 |
| 1410 |
|
| 1411 |
* Large refactoring to how CurlMulti handles work. There is now a proxy that sits in front of a pool of CurlMulti |
| 1412 |
handles. This greatly simplifies the implementation, fixes a couple bugs, and provides a small performance boost. |
| 1413 |
* Exceptions are now properly grouped when sending requests in parallel |
| 1414 |
* Redirects are now properly aggregated when a multi transaction fails |
| 1415 |
* Redirects now set the response on the original object even in the event of a failure |
| 1416 |
* Bug fix: Model names are now properly set even when using $refs |
| 1417 |
* Added support for PHP 5.5's CurlFile to prevent warnings with the deprecated @ syntax |
| 1418 |
* Added support for oauth_callback in OAuth signatures |
| 1419 |
* Added support for oauth_verifier in OAuth signatures |
| 1420 |
* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection |
| 1421 |
|
| 1422 |
## 3.4.0 - 2013-04-11 |
| 1423 |
|
| 1424 |
* Bug fix: URLs are now resolved correctly based on https://datatracker.ietf.org/doc/html/rfc3986#section-5.2. #289 |
| 1425 |
* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289 |
| 1426 |
* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263 |
| 1427 |
* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264. |
| 1428 |
* Bug fix: Added `number` type to service descriptions. |
| 1429 |
* Bug fix: empty parameters are removed from an OAuth signature |
| 1430 |
* Bug fix: Revalidating a cache entry prefers the Last-Modified over the Date header |
| 1431 |
* Bug fix: Fixed "array to string" error when validating a union of types in a service description |
| 1432 |
* Bug fix: Removed code that attempted to determine the size of a stream when data is written to the stream |
| 1433 |
* Bug fix: Not including an `oauth_token` if the value is null in the OauthPlugin. |
| 1434 |
* Bug fix: Now correctly aggregating successful requests and failed requests in CurlMulti when a redirect occurs. |
| 1435 |
* The new default CURLOPT_TIMEOUT setting has been increased to 150 seconds so that Guzzle works on poor connections. |
| 1436 |
* Added a feature to EntityEnclosingRequest::setBody() that will automatically set the Content-Type of the request if |
| 1437 |
the Content-Type can be determined based on the entity body or the path of the request. |
| 1438 |
* Added the ability to overwrite configuration settings in a client when grabbing a throwaway client from a builder. |
| 1439 |
* Added support for a PSR-3 LogAdapter. |
| 1440 |
* Added a `command.after_prepare` event |
| 1441 |
* Added `oauth_callback` parameter to the OauthPlugin |
| 1442 |
* Added the ability to create a custom stream class when using a stream factory |
| 1443 |
* Added a CachingEntityBody decorator |
| 1444 |
* Added support for `additionalParameters` in service descriptions to define how custom parameters are serialized. |
| 1445 |
* The bundled SSL certificate is now provided in the phar file and extracted when running Guzzle from a phar. |
| 1446 |
* You can now send any EntityEnclosingRequest with POST fields or POST files and cURL will handle creating bodies |
| 1447 |
* POST requests using a custom entity body are now treated exactly like PUT requests but with a custom cURL method. This |
| 1448 |
means that the redirect behavior of POST requests with custom bodies will not be the same as POST requests that use |
| 1449 |
POST fields or files (the latter is only used when emulating a form POST in the browser). |
| 1450 |
* Lots of cleanup to CurlHandle::factory and RequestFactory::createRequest |
| 1451 |
|
| 1452 |
## 3.3.1 - 2013-03-10 |
| 1453 |
|
| 1454 |
* Added the ability to create PHP streaming responses from HTTP requests |
| 1455 |
* Bug fix: Running any filters when parsing response headers with service descriptions |
| 1456 |
* Bug fix: OauthPlugin fixes to allow for multi-dimensional array signing, and sorting parameters before signing |
| 1457 |
* Bug fix: Removed the adding of default empty arrays and false Booleans to responses in order to be consistent across |
| 1458 |
response location visitors. |
| 1459 |
* Bug fix: Removed the possibility of creating configuration files with circular dependencies |
| 1460 |
* RequestFactory::create() now uses the key of a POST file when setting the POST file name |
| 1461 |
* Added xmlAllowEmpty to serialize an XML body even if no XML specific parameters are set |
| 1462 |
|
| 1463 |
## 3.3.0 - 2013-03-03 |
| 1464 |
|
| 1465 |
* A large number of performance optimizations have been made |
| 1466 |
* Bug fix: Added 'wb' as a valid write mode for streams |
| 1467 |
* Bug fix: `Guzzle\Http\Message\Response::json()` now allows scalar values to be returned |
| 1468 |
* Bug fix: Fixed bug in `Guzzle\Http\Message\Response` where wrapping quotes were stripped from `getEtag()` |
| 1469 |
* BC: Removed `Guzzle\Http\Utils` class |
| 1470 |
* BC: Setting a service description on a client will no longer modify the client's command factories. |
| 1471 |
* BC: Emitting IO events from a RequestMediator is now a parameter that must be set in a request's curl options using |
| 1472 |
the 'emit_io' key. This was previously set under a request's parameters using 'curl.emit_io' |
| 1473 |
* BC: `Guzzle\Stream\Stream::getWrapper()` and `Guzzle\Stream\Stream::getSteamType()` are no longer converted to |
| 1474 |
lowercase |
| 1475 |
* Operation parameter objects are now lazy loaded internally |
| 1476 |
* Added ErrorResponsePlugin that can throw errors for responses defined in service description operations' errorResponses |
| 1477 |
* Added support for instantiating responseType=class responseClass classes. Classes must implement |
| 1478 |
`Guzzle\Service\Command\ResponseClassInterface` |
| 1479 |
* Added support for additionalProperties for top-level parameters in responseType=model responseClasses. These |
| 1480 |
additional properties also support locations and can be used to parse JSON responses where the outermost part of the |
| 1481 |
JSON is an array |
| 1482 |
* Added support for nested renaming of JSON models (rename sentAs to name) |
| 1483 |
* CachePlugin |
| 1484 |
* Added support for stale-if-error so that the CachePlugin can now serve stale content from the cache on error |
| 1485 |
* Debug headers can now added to cached response in the CachePlugin |
| 1486 |
|
| 1487 |
## 3.2.0 - 2013-02-14 |
| 1488 |
|
| 1489 |
* CurlMulti is no longer reused globally. A new multi object is created per-client. This helps to isolate clients. |
| 1490 |
* URLs with no path no longer contain a "/" by default |
| 1491 |
* Guzzle\Http\QueryString does no longer manages the leading "?". This is now handled in Guzzle\Http\Url. |
| 1492 |
* BadResponseException no longer includes the full request and response message |
| 1493 |
* Adding setData() to Guzzle\Service\Description\ServiceDescriptionInterface |
| 1494 |
* Adding getResponseBody() to Guzzle\Http\Message\RequestInterface |
| 1495 |
* Various updates to classes to use ServiceDescriptionInterface type hints rather than ServiceDescription |
| 1496 |
* Header values can now be normalized into distinct values when multiple headers are combined with a comma separated list |
| 1497 |
* xmlEncoding can now be customized for the XML declaration of a XML service description operation |
| 1498 |
* Guzzle\Http\QueryString now uses Guzzle\Http\QueryAggregator\QueryAggregatorInterface objects to add custom value |
| 1499 |
aggregation and no longer uses callbacks |
| 1500 |
* The URL encoding implementation of Guzzle\Http\QueryString can now be customized |
| 1501 |
* Bug fix: Filters were not always invoked for array service description parameters |
| 1502 |
* Bug fix: Redirects now use a target response body rather than a temporary response body |
| 1503 |
* Bug fix: The default exponential backoff BackoffPlugin was not giving when the request threshold was exceeded |
| 1504 |
* Bug fix: Guzzle now takes the first found value when grabbing Cache-Control directives |
| 1505 |
|
| 1506 |
## 3.1.2 - 2013-01-27 |
| 1507 |
|
| 1508 |
* Refactored how operation responses are parsed. Visitors now include a before() method responsible for parsing the |
| 1509 |
response body. For example, the XmlVisitor now parses the XML response into an array in the before() method. |
| 1510 |
* Fixed an issue where cURL would not automatically decompress responses when the Accept-Encoding header was sent |
| 1511 |
* CURLOPT_SSL_VERIFYHOST is never set to 1 because it is deprecated (see 5e0ff2ef20f839e19d1eeb298f90ba3598784444) |
| 1512 |
* Fixed a bug where redirect responses were not chained correctly using getPreviousResponse() |
| 1513 |
* Setting default headers on a client after setting the user-agent will not erase the user-agent setting |
| 1514 |
|
| 1515 |
## 3.1.1 - 2013-01-20 |
| 1516 |
|
| 1517 |
* Adding wildcard support to Guzzle\Common\Collection::getPath() |
| 1518 |
* Adding alias support to ServiceBuilder configs |
| 1519 |
* Adding Guzzle\Service\Resource\CompositeResourceIteratorFactory and cleaning up factory interface |
| 1520 |
|
| 1521 |
## 3.1.0 - 2013-01-12 |
| 1522 |
|
| 1523 |
* BC: CurlException now extends from RequestException rather than BadResponseException |
| 1524 |
* BC: Renamed Guzzle\Plugin\Cache\CanCacheStrategyInterface::canCache() to canCacheRequest() and added CanCacheResponse() |
| 1525 |
* Added getData to ServiceDescriptionInterface |
| 1526 |
* Added context array to RequestInterface::setState() |
| 1527 |
* Bug: Removing hard dependency on the BackoffPlugin from Guzzle\Http |
| 1528 |
* Bug: Adding required content-type when JSON request visitor adds JSON to a command |
| 1529 |
* Bug: Fixing the serialization of a service description with custom data |
| 1530 |
* Made it easier to deal with exceptions thrown when transferring commands or requests in parallel by providing |
| 1531 |
an array of successful and failed responses |
| 1532 |
* Moved getPath from Guzzle\Service\Resource\Model to Guzzle\Common\Collection |
| 1533 |
* Added Guzzle\Http\IoEmittingEntityBody |
| 1534 |
* Moved command filtration from validators to location visitors |
| 1535 |
* Added `extends` attributes to service description parameters |
| 1536 |
* Added getModels to ServiceDescriptionInterface |
| 1537 |
|
| 1538 |
## 3.0.7 - 2012-12-19 |
| 1539 |
|
| 1540 |
* Fixing phar detection when forcing a cacert to system if null or true |
| 1541 |
* Allowing filename to be passed to `Guzzle\Http\Message\Request::setResponseBody()` |
| 1542 |
* Cleaning up `Guzzle\Common\Collection::inject` method |
| 1543 |
* Adding a response_body location to service descriptions |
| 1544 |
|
| 1545 |
## 3.0.6 - 2012-12-09 |
| 1546 |
|
| 1547 |
* CurlMulti performance improvements |
| 1548 |
* Adding setErrorResponses() to Operation |
| 1549 |
* composer.json tweaks |
| 1550 |
|
| 1551 |
## 3.0.5 - 2012-11-18 |
| 1552 |
|
| 1553 |
* Bug: Fixing an infinite recursion bug caused from revalidating with the CachePlugin |
| 1554 |
* Bug: Response body can now be a string containing "0" |
| 1555 |
* Bug: Using Guzzle inside of a phar uses system by default but now allows for a custom cacert |
| 1556 |
* Bug: QueryString::fromString now properly parses query string parameters that contain equal signs |
| 1557 |
* Added support for XML attributes in service description responses |
| 1558 |
* DefaultRequestSerializer now supports array URI parameter values for URI template expansion |
| 1559 |
* Added better mimetype guessing to requests and post files |
| 1560 |
|
| 1561 |
## 3.0.4 - 2012-11-11 |
| 1562 |
|
| 1563 |
* Bug: Fixed a bug when adding multiple cookies to a request to use the correct glue value |
| 1564 |
* Bug: Cookies can now be added that have a name, domain, or value set to "0" |
| 1565 |
* Bug: Using the system cacert bundle when using the Phar |
| 1566 |
* Added json and xml methods to Response to make it easier to parse JSON and XML response data into data structures |
| 1567 |
* Enhanced cookie jar de-duplication |
| 1568 |
* Added the ability to enable strict cookie jars that throw exceptions when invalid cookies are added |
| 1569 |
* Added setStream to StreamInterface to actually make it possible to implement custom rewind behavior for entity bodies |
| 1570 |
* Added the ability to create any sort of hash for a stream rather than just an MD5 hash |
| 1571 |
|
| 1572 |
## 3.0.3 - 2012-11-04 |
| 1573 |
|
| 1574 |
* Implementing redirects in PHP rather than cURL |
| 1575 |
* Added PECL URI template extension and using as default parser if available |
| 1576 |
* Bug: Fixed Content-Length parsing of Response factory |
| 1577 |
* Adding rewind() method to entity bodies and streams. Allows for custom rewinding of non-repeatable streams. |
| 1578 |
* Adding ToArrayInterface throughout library |
| 1579 |
* Fixing OauthPlugin to create unique nonce values per request |
| 1580 |
|
| 1581 |
## 3.0.2 - 2012-10-25 |
| 1582 |
|
| 1583 |
* Magic methods are enabled by default on clients |
| 1584 |
* Magic methods return the result of a command |
| 1585 |
* Service clients no longer require a base_url option in the factory |
| 1586 |
* Bug: Fixed an issue with URI templates where null template variables were being expanded |
| 1587 |
|
| 1588 |
## 3.0.1 - 2012-10-22 |
| 1589 |
|
| 1590 |
* Models can now be used like regular collection objects by calling filter, map, etc. |
| 1591 |
* Models no longer require a Parameter structure or initial data in the constructor |
| 1592 |
* Added a custom AppendIterator to get around a PHP bug with the `\AppendIterator` |
| 1593 |
|
| 1594 |
## 3.0.0 - 2012-10-15 |
| 1595 |
|
| 1596 |
* Rewrote service description format to be based on Swagger |
| 1597 |
* Now based on JSON schema |
| 1598 |
* Added nested input structures and nested response models |
| 1599 |
* Support for JSON and XML input and output models |
| 1600 |
* Renamed `commands` to `operations` |
| 1601 |
* Removed dot class notation |
| 1602 |
* Removed custom types |
| 1603 |
* Broke the project into smaller top-level namespaces to be more component friendly |
| 1604 |
* Removed support for XML configs and descriptions. Use arrays or JSON files. |
| 1605 |
* Removed the Validation component and Inspector |
| 1606 |
* Moved all cookie code to Guzzle\Plugin\Cookie |
| 1607 |
* Magic methods on a Guzzle\Service\Client now return the command un-executed. |
| 1608 |
* Calling getResult() or getResponse() on a command will lazily execute the command if needed. |
| 1609 |
* Now shipping with cURL's CA certs and using it by default |
| 1610 |
* Added previousResponse() method to response objects |
| 1611 |
* No longer sending Accept and Accept-Encoding headers on every request |
| 1612 |
* Only sending an Expect header by default when a payload is greater than 1MB |
| 1613 |
* Added/moved client options: |
| 1614 |
* curl.blacklist to curl.option.blacklist |
| 1615 |
* Added ssl.certificate_authority |
| 1616 |
* Added a Guzzle\Iterator component |
| 1617 |
* Moved plugins from Guzzle\Http\Plugin to Guzzle\Plugin |
| 1618 |
* Added a more robust backoff retry strategy (replaced the ExponentialBackoffPlugin) |
| 1619 |
* Added a more robust caching plugin |
| 1620 |
* Added setBody to response objects |
| 1621 |
* Updating LogPlugin to use a more flexible MessageFormatter |
| 1622 |
* Added a completely revamped build process |
| 1623 |
* Cleaning up Collection class and removing default values from the get method |
| 1624 |
* Fixed ZF2 cache adapters |
| 1625 |
|
| 1626 |
## 2.8.8 - 2012-10-15 |
| 1627 |
|
| 1628 |
* Bug: Fixed a cookie issue that caused dot prefixed domains to not match where popular browsers did |
| 1629 |
|
| 1630 |
## 2.8.7 - 2012-09-30 |
| 1631 |
|
| 1632 |
* Bug: Fixed config file aliases for JSON includes |
| 1633 |
* Bug: Fixed cookie bug on a request object by using CookieParser to parse cookies on requests |
| 1634 |
* Bug: Removing the path to a file when sending a Content-Disposition header on a POST upload |
| 1635 |
* Bug: Hardening request and response parsing to account for missing parts |
| 1636 |
* Bug: Fixed PEAR packaging |
| 1637 |
* Bug: Fixed Request::getInfo |
| 1638 |
* Bug: Fixed cases where CURLM_CALL_MULTI_PERFORM return codes were causing curl transactions to fail |
| 1639 |
* Adding the ability for the namespace Iterator factory to look in multiple directories |
| 1640 |
* Added more getters/setters/removers from service descriptions |
| 1641 |
* Added the ability to remove POST fields from OAuth signatures |
| 1642 |
* OAuth plugin now supports 2-legged OAuth |
| 1643 |
|
| 1644 |
## 2.8.6 - 2012-09-05 |
| 1645 |
|
| 1646 |
* Added the ability to modify and build service descriptions |
| 1647 |
* Added the use of visitors to apply parameters to locations in service descriptions using the dynamic command |
| 1648 |
* Added a `json` parameter location |
| 1649 |
* Now allowing dot notation for classes in the CacheAdapterFactory |
| 1650 |
* Using the union of two arrays rather than an array_merge when extending service builder services and service params |
| 1651 |
* Ensuring that a service is a string before doing strpos() checks on it when substituting services for references |
| 1652 |
in service builder config files. |
| 1653 |
* Services defined in two different config files that include one another will by default replace the previously |
| 1654 |
defined service, but you can now create services that extend themselves and merge their settings over the previous |
| 1655 |
* The JsonLoader now supports aliasing filenames with different filenames. This allows you to alias something like |
| 1656 |
'_default' with a default JSON configuration file. |
| 1657 |
|
| 1658 |
## 2.8.5 - 2012-08-29 |
| 1659 |
|
| 1660 |
* Bug: Suppressed empty arrays from URI templates |
| 1661 |
* Bug: Added the missing $options argument from ServiceDescription::factory to enable caching |
| 1662 |
* Added support for HTTP responses that do not contain a reason phrase in the start-line |
| 1663 |
* AbstractCommand commands are now invokable |
| 1664 |
* Added a way to get the data used when signing an Oauth request before a request is sent |
| 1665 |
|
| 1666 |
## 2.8.4 - 2012-08-15 |
| 1667 |
|
| 1668 |
* Bug: Custom delay time calculations are no longer ignored in the ExponentialBackoffPlugin |
| 1669 |
* Added the ability to transfer entity bodies as a string rather than streamed. This gets around curl error 65. Set `body_as_string` in a request's curl options to enable. |
| 1670 |
* Added a StreamInterface, EntityBodyInterface, and added ftell() to Guzzle\Common\Stream |
| 1671 |
* Added an AbstractEntityBodyDecorator and a ReadLimitEntityBody decorator to transfer only a subset of a decorated stream |
| 1672 |
* Stream and EntityBody objects will now return the file position to the previous position after a read required operation (e.g. getContentMd5()) |
| 1673 |
* Added additional response status codes |
| 1674 |
* Removed SSL information from the default User-Agent header |
| 1675 |
* DELETE requests can now send an entity body |
| 1676 |
* Added an EventDispatcher to the ExponentialBackoffPlugin and added an ExponentialBackoffLogger to log backoff retries |
| 1677 |
* Added the ability of the MockPlugin to consume mocked request bodies |
| 1678 |
* LogPlugin now exposes request and response objects in the extras array |
| 1679 |
|
| 1680 |
## 2.8.3 - 2012-07-30 |
| 1681 |
|
| 1682 |
* Bug: Fixed a case where empty POST requests were sent as GET requests |
| 1683 |
* Bug: Fixed a bug in ExponentialBackoffPlugin that caused fatal errors when retrying an EntityEnclosingRequest that does not have a body |
| 1684 |
* Bug: Setting the response body of a request to null after completing a request, not when setting the state of a request to new |
| 1685 |
* Added multiple inheritance to service description commands |
| 1686 |
* Added an ApiCommandInterface and added `getParamNames()` and `hasParam()` |
| 1687 |
* Removed the default 2mb size cutoff from the Md5ValidatorPlugin so that it now defaults to validating everything |
| 1688 |
* Changed CurlMulti::perform to pass a smaller timeout to CurlMulti::executeHandles |
| 1689 |
|
| 1690 |
## 2.8.2 - 2012-07-24 |
| 1691 |
|
| 1692 |
* Bug: Query string values set to 0 are no longer dropped from the query string |
| 1693 |
* Bug: A Collection object is no longer created each time a call is made to `Guzzle\Service\Command\AbstractCommand::getRequestHeaders()` |
| 1694 |
* Bug: `+` is now treated as an encoded space when parsing query strings |
| 1695 |
* QueryString and Collection performance improvements |
| 1696 |
* Allowing dot notation for class paths in filters attribute of a service descriptions |
| 1697 |
|
| 1698 |
## 2.8.1 - 2012-07-16 |
| 1699 |
|
| 1700 |
* Loosening Event Dispatcher dependency |
| 1701 |
* POST redirects can now be customized using CURLOPT_POSTREDIR |
| 1702 |
|
| 1703 |
## 2.8.0 - 2012-07-15 |
| 1704 |
|
| 1705 |
* BC: Guzzle\Http\Query |
| 1706 |
* Query strings with empty variables will always show an equal sign unless the variable is set to QueryString::BLANK (e.g. ?acl= vs ?acl) |
| 1707 |
* Changed isEncodingValues() and isEncodingFields() to isUrlEncoding() |
| 1708 |
* Changed setEncodeValues(bool) and setEncodeFields(bool) to useUrlEncoding(bool) |
| 1709 |
* Changed the aggregation functions of QueryString to be static methods |
| 1710 |
* Can now use fromString() with querystrings that have a leading ? |
| 1711 |
* cURL configuration values can be specified in service descriptions using `curl.` prefixed parameters |
| 1712 |
* Content-Length is set to 0 before emitting the request.before_send event when sending an empty request body |
| 1713 |
* Cookies are no longer URL decoded by default |
| 1714 |
* Bug: URI template variables set to null are no longer expanded |
| 1715 |
|
| 1716 |
## 2.7.2 - 2012-07-02 |
| 1717 |
|
| 1718 |
* BC: Moving things to get ready for subtree splits. Moving Inflection into Common. Moving Guzzle\Http\Parser to Guzzle\Parser. |
| 1719 |
* BC: Removing Guzzle\Common\Batch\Batch::count() and replacing it with isEmpty() |
| 1720 |
* CachePlugin now allows for a custom request parameter function to check if a request can be cached |
| 1721 |
* Bug fix: CachePlugin now only caches GET and HEAD requests by default |
| 1722 |
* Bug fix: Using header glue when transferring headers over the wire |
| 1723 |
* Allowing deeply nested arrays for composite variables in URI templates |
| 1724 |
* Batch divisors can now return iterators or arrays |
| 1725 |
|
| 1726 |
## 2.7.1 - 2012-06-26 |
| 1727 |
|
| 1728 |
* Minor patch to update version number in UA string |
| 1729 |
* Updating build process |
| 1730 |
|
| 1731 |
## 2.7.0 - 2012-06-25 |
| 1732 |
|
| 1733 |
* BC: Inflection classes moved to Guzzle\Inflection. No longer static methods. Can now inject custom inflectors into classes. |
| 1734 |
* BC: Removed magic setX methods from commands |
| 1735 |
* BC: Magic methods mapped to service description commands are now inflected in the command factory rather than the client __call() method |
| 1736 |
* Verbose cURL options are no longer enabled by default. Set curl.debug to true on a client to enable. |
| 1737 |
* Bug: Now allowing colons in a response start-line (e.g. HTTP/1.1 503 Service Unavailable: Back-end server is at capacity) |
| 1738 |
* Guzzle\Service\Resource\ResourceIteratorApplyBatched now internally uses the Guzzle\Common\Batch namespace |
| 1739 |
* Added Guzzle\Service\Plugin namespace and a PluginCollectionPlugin |
| 1740 |
* Added the ability to set POST fields and files in a service description |
| 1741 |
* Guzzle\Http\EntityBody::factory() now accepts objects with a __toString() method |
| 1742 |
* Adding a command.before_prepare event to clients |
| 1743 |
* Added BatchClosureTransfer and BatchClosureDivisor |
| 1744 |
* BatchTransferException now includes references to the batch divisor and transfer strategies |
| 1745 |
* Fixed some tests so that they pass more reliably |
| 1746 |
* Added Guzzle\Common\Log\ArrayLogAdapter |
| 1747 |
|
| 1748 |
## 2.6.6 - 2012-06-10 |
| 1749 |
|
| 1750 |
* BC: Removing Guzzle\Http\Plugin\BatchQueuePlugin |
| 1751 |
* BC: Removing Guzzle\Service\Command\CommandSet |
| 1752 |
* Adding generic batching system (replaces the batch queue plugin and command set) |
| 1753 |
* Updating ZF cache and log adapters and now using ZF's composer repository |
| 1754 |
* Bug: Setting the name of each ApiParam when creating through an ApiCommand |
| 1755 |
* Adding result_type, result_doc, deprecated, and doc_url to service descriptions |
| 1756 |
* Bug: Changed the default cookie header casing back to 'Cookie' |
| 1757 |
|
| 1758 |
## 2.6.5 - 2012-06-03 |
| 1759 |
|
| 1760 |
* BC: Renaming Guzzle\Http\Message\RequestInterface::getResourceUri() to getResource() |
| 1761 |
* BC: Removing unused AUTH_BASIC and AUTH_DIGEST constants from |
| 1762 |
* BC: Guzzle\Http\Cookie is now used to manage Set-Cookie data, not Cookie data |
| 1763 |
* BC: Renaming methods in the CookieJarInterface |
| 1764 |
* Moving almost all cookie logic out of the CookiePlugin and into the Cookie or CookieJar implementations |
| 1765 |
* Making the default glue for HTTP headers ';' instead of ',' |
| 1766 |
* Adding a removeValue to Guzzle\Http\Message\Header |
| 1767 |
* Adding getCookies() to request interface. |
| 1768 |
* Making it easier to add event subscribers to HasDispatcherInterface classes. Can now directly call addSubscriber() |
| 1769 |
|
| 1770 |
## 2.6.4 - 2012-05-30 |
| 1771 |
|
| 1772 |
* BC: Cleaning up how POST files are stored in EntityEnclosingRequest objects. Adding PostFile class. |
| 1773 |
* BC: Moving ApiCommand specific functionality from the Inspector and on to the ApiCommand |
| 1774 |
* Bug: Fixing magic method command calls on clients |
| 1775 |
* Bug: Email constraint only validates strings |
| 1776 |
* Bug: Aggregate POST fields when POST files are present in curl handle |
| 1777 |
* Bug: Fixing default User-Agent header |
| 1778 |
* Bug: Only appending or prepending parameters in commands if they are specified |
| 1779 |
* Bug: Not requiring response reason phrases or status codes to match a predefined list of codes |
| 1780 |
* Allowing the use of dot notation for class namespaces when using instance_of constraint |
| 1781 |
* Added any_match validation constraint |
| 1782 |
* Added an AsyncPlugin |
| 1783 |
* Passing request object to the calculateWait method of the ExponentialBackoffPlugin |
| 1784 |
* Allowing the result of a command object to be changed |
| 1785 |
* Parsing location and type sub values when instantiating a service description rather than over and over at runtime |
| 1786 |
|
| 1787 |
## 2.6.3 - 2012-05-23 |
| 1788 |
|
| 1789 |
* [BC] Guzzle\Common\FromConfigInterface no longer requires any config options. |
| 1790 |
* [BC] Refactoring how POST files are stored on an EntityEnclosingRequest. They are now separate from POST fields. |
| 1791 |
* You can now use an array of data when creating PUT request bodies in the request factory. |
| 1792 |
* Removing the requirement that HTTPS requests needed a Cache-Control: public directive to be cacheable. |
| 1793 |
* [Http] Adding support for Content-Type in multipart POST uploads per upload |
| 1794 |
* [Http] Added support for uploading multiple files using the same name (foo[0], foo[1]) |
| 1795 |
* Adding more POST data operations for easier manipulation of POST data. |
| 1796 |
* You can now set empty POST fields. |
| 1797 |
* The body of a request is only shown on EntityEnclosingRequest objects that do not use POST files. |
| 1798 |
* Split the Guzzle\Service\Inspector::validateConfig method into two methods. One to initialize when a command is created, and one to validate. |
| 1799 |
* CS updates |
| 1800 |
|
| 1801 |
## 2.6.2 - 2012-05-19 |
| 1802 |
|
| 1803 |
* [Http] Better handling of nested scope requests in CurlMulti. Requests are now always prepares in the send() method rather than the addRequest() method. |
| 1804 |
|
| 1805 |
## 2.6.1 - 2012-05-19 |
| 1806 |
|
| 1807 |
* [BC] Removing 'path' support in service descriptions. Use 'uri'. |
| 1808 |
* [BC] Guzzle\Service\Inspector::parseDocBlock is now protected. Adding getApiParamsForClass() with cache. |
| 1809 |
* [BC] Removing Guzzle\Common\NullObject. Use https://github.com/mtdowling/NullObject if you need it. |
| 1810 |
* [BC] Removing Guzzle\Common\XmlElement. |
| 1811 |
* All commands, both dynamic and concrete, have ApiCommand objects. |
| 1812 |
* Adding a fix for CurlMulti so that if all of the connections encounter some sort of curl error, then the loop exits. |
| 1813 |
* Adding checks to EntityEnclosingRequest so that empty POST files and fields are ignored. |
| 1814 |
* Making the method signature of Guzzle\Service\Builder\ServiceBuilder::factory more flexible. |
| 1815 |
|
| 1816 |
## 2.6.0 - 2012-05-15 |
| 1817 |
|
| 1818 |
* [BC] Moving Guzzle\Service\Builder to Guzzle\Service\Builder\ServiceBuilder |
| 1819 |
* [BC] Executing a Command returns the result of the command rather than the command |
| 1820 |
* [BC] Moving all HTTP parsing logic to Guzzle\Http\Parsers. Allows for faster C implementations if needed. |
| 1821 |
* [BC] Changing the Guzzle\Http\Message\Response::setProtocol() method to accept a protocol and version in separate args. |
| 1822 |
* [BC] Moving ResourceIterator* to Guzzle\Service\Resource |
| 1823 |
* [BC] Completely refactored ResourceIterators to iterate over a cloned command object |
| 1824 |
* [BC] Moved Guzzle\Http\UriTemplate to Guzzle\Http\Parser\UriTemplate\UriTemplate |
| 1825 |
* [BC] Guzzle\Guzzle is now deprecated |
| 1826 |
* Moving Guzzle\Common\Guzzle::inject to Guzzle\Common\Collection::inject |
| 1827 |
* Adding Guzzle\Version class to give version information about Guzzle |
| 1828 |
* Adding Guzzle\Http\Utils class to provide getDefaultUserAgent() and getHttpDate() |
| 1829 |
* Adding Guzzle\Curl\CurlVersion to manage caching curl_version() data |
| 1830 |
* ServiceDescription and ServiceBuilder are now cacheable using similar configs |
| 1831 |
* Changing the format of XML and JSON service builder configs. Backwards compatible. |
| 1832 |
* Cleaned up Cookie parsing |
| 1833 |
* Trimming the default Guzzle User-Agent header |
| 1834 |
* Adding a setOnComplete() method to Commands that is called when a command completes |
| 1835 |
* Keeping track of requests that were mocked in the MockPlugin |
| 1836 |
* Fixed a caching bug in the CacheAdapterFactory |
| 1837 |
* Inspector objects can be injected into a Command object |
| 1838 |
* Refactoring a lot of code and tests to be case insensitive when dealing with headers |
| 1839 |
* Adding Guzzle\Http\Message\HeaderComparison for easy comparison of HTTP headers using a DSL |
| 1840 |
* Adding the ability to set global option overrides to service builder configs |
| 1841 |
* Adding the ability to include other service builder config files from within XML and JSON files |
| 1842 |
* Moving the parseQuery method out of Url and on to QueryString::fromString() as a static factory method. |
| 1843 |
|
| 1844 |
## 2.5.0 - 2012-05-08 |
| 1845 |
|
| 1846 |
* Major performance improvements |
| 1847 |
* [BC] Simplifying Guzzle\Common\Collection. Please check to see if you are using features that are now deprecated. |
| 1848 |
* [BC] Using a custom validation system that allows a flyweight implementation for much faster validation. No longer using Symfony2 Validation component. |
| 1849 |
* [BC] No longer supporting "{{ }}" for injecting into command or UriTemplates. Use "{}" |
| 1850 |
* Added the ability to passed parameters to all requests created by a client |
| 1851 |
* Added callback functionality to the ExponentialBackoffPlugin |
| 1852 |
* Using microtime in ExponentialBackoffPlugin to allow more granular backoff strategies. |
| 1853 |
* Rewinding request stream bodies when retrying requests |
| 1854 |
* Exception is thrown when JSON response body cannot be decoded |
| 1855 |
* Added configurable magic method calls to clients and commands. This is off by default. |
| 1856 |
* Fixed a defect that added a hash to every parsed URL part |
| 1857 |
* Fixed duplicate none generation for OauthPlugin. |
| 1858 |
* Emitting an event each time a client is generated by a ServiceBuilder |
| 1859 |
* Using an ApiParams object instead of a Collection for parameters of an ApiCommand |
| 1860 |
* cache.* request parameters should be renamed to params.cache.* |
| 1861 |
* Added the ability to set arbitrary curl options on requests (disable_wire, progress, etc.). See CurlHandle. |
| 1862 |
* Added the ability to disable type validation of service descriptions |
| 1863 |
* ServiceDescriptions and ServiceBuilders are now Serializable |