Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 1... Línea 1...
1
# Change Log
1
# Change Log
Línea 2... Línea 2...
2
 
2
 
Línea -... Línea 3...
-
 
3
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
-
 
4
 
-
 
5
 
-
 
6
## 7.9.2 - 2024-07-24
-
 
7
 
-
 
8
### Fixed
-
 
9
 
-
 
10
- Adjusted handler selection to use cURL if its version is 7.21.2 or higher, rather than 7.34.0
-
 
11
 
-
 
12
 
-
 
13
## 7.9.1 - 2024-07-19
-
 
14
 
-
 
15
### Fixed
-
 
16
 
-
 
17
- Fix TLS 1.3 check for HTTP/2 requests
-
 
18
 
-
 
19
 
-
 
20
## 7.9.0 - 2024-07-18
-
 
21
 
-
 
22
### Changed
-
 
23
 
-
 
24
- Improve protocol version checks to provide feedback around unsupported protocols
-
 
25
- Only select the cURL handler by default if 7.34.0 or higher is linked
-
 
26
- Improved `CurlMultiHandler` to avoid busy wait if possible
-
 
27
- Dropped support for EOL `guzzlehttp/psr7` v1
-
 
28
- Improved URI user info redaction in errors
-
 
29
 
-
 
30
## 7.8.2 - 2024-07-18
-
 
31
 
-
 
32
### Added
-
 
33
 
-
 
34
- Support for PHP 8.4
-
 
35
 
-
 
36
 
-
 
37
## 7.8.1 - 2023-12-03
-
 
38
 
-
 
39
### Changed
-
 
40
 
-
 
41
- Updated links in docs to their canonical versions
-
 
42
- Replaced `call_user_func*` with native calls
-
 
43
 
-
 
44
 
-
 
45
## 7.8.0 - 2023-08-27
-
 
46
 
-
 
47
### Added
-
 
48
 
-
 
49
- Support for PHP 8.3
-
 
50
- Added automatic closing of handles on `CurlFactory` object destruction
-
 
51
 
-
 
52
 
-
 
53
## 7.7.1 - 2023-08-27
-
 
54
 
-
 
55
### Changed
-
 
56
 
-
 
57
- Remove the need for `AllowDynamicProperties` in `CurlMultiHandler`
-
 
58
 
-
 
59
 
-
 
60
## 7.7.0 - 2023-05-21
-
 
61
 
-
 
62
### Added
-
 
63
 
-
 
64
- Support `guzzlehttp/promises` v2
-
 
65
 
-
 
66
 
-
 
67
## 7.6.1 - 2023-05-15
-
 
68
 
-
 
69
### Fixed
-
 
70
 
-
 
71
- Fix `SetCookie::fromString` MaxAge deprecation warning and skip invalid MaxAge values
-
 
72
 
-
 
73
 
-
 
74
## 7.6.0 - 2023-05-14
-
 
75
 
-
 
76
### Added
-
 
77
 
-
 
78
- Support for setting the minimum TLS version in a unified way
-
 
79
- Apply on request the version set in options parameters
-
 
80
 
-
 
81
 
-
 
82
## 7.5.2 - 2023-05-14
-
 
83
 
-
 
84
### Fixed
-
 
85
 
-
 
86
- Fixed set cookie constructor validation
-
 
87
- Fixed handling of files with `'0'` body
-
 
88
 
-
 
89
### Changed
-
 
90
 
-
 
91
- Corrected docs and default connect timeout value to 300 seconds
-
 
92
 
-
 
93
 
-
 
94
## 7.5.1 - 2023-04-17
-
 
95
 
-
 
96
### Fixed
-
 
97
 
-
 
98
- Fixed `NO_PROXY` settings so that setting the `proxy` option to `no` overrides the env variable
-
 
99
 
-
 
100
### Changed
-
 
101
 
-
 
102
- Adjusted `guzzlehttp/psr7` version constraint to `^1.9.1 || ^2.4.5`
3
Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version.
103
 
Línea 4... Línea 104...
4
 
104
 
Línea 5... Línea 105...
5
## 7.5.0 - 2022-08-28
105
## 7.5.0 - 2022-08-28
6
 
106
 
Línea -... Línea 107...
-
 
107
### Added
7
### Added
108
 
Línea -... Línea 109...
-
 
109
- Support PHP 8.2
-
 
110
- Add request to delay closure params
8
 
111
 
9
- Support PHP 8.2
112
 
Línea -... Línea 113...
-
 
113
## 7.4.5 - 2022-06-20
10
- Add request to delay closure params
114
 
Línea -... Línea 115...
-
 
115
### Fixed
-
 
116
 
11
 
117
* Fix change in port should be considered a change in origin
12
## 7.4.5 - 2022-06-20
118
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin
Línea -... Línea 119...
-
 
119
 
13
 
120
 
Línea -... Línea 121...
-
 
121
## 7.4.4 - 2022-06-09
-
 
122
 
14
* Fix change in port should be considered a change in origin
123
### Fixed
Línea -... Línea 124...
-
 
124
 
15
* Fix `CURLOPT_HTTPAUTH` option not cleared on change of origin
125
* Fix failure to strip Authorization header on HTTP downgrade
Línea 16... Línea 126...
16
 
126
* Fix failure to strip the Cookie header on change in host or HTTP downgrade
Línea 17... Línea 127...
17
## 7.4.4 - 2022-06-09
127
 
18
 
128
 
19
* Fix failure to strip Authorization header on HTTP downgrade
129
## 7.4.3 - 2022-05-25
Línea -... Línea 130...
-
 
130
 
20
* Fix failure to strip the Cookie header on change in host or HTTP downgrade
131
### Fixed
Línea 21... Línea 132...
21
 
132
 
Línea 22... Línea 133...
22
## 7.4.3 - 2022-05-25
133
* Fix cross-domain cookie leakage
Línea 40... Línea 151...
40
 
151
 
Línea 41... Línea 152...
41
### Fixed
152
### Fixed
Línea -... Línea 153...
-
 
153
 
42
 
154
- Only close curl handle if it's done [#2950](https://github.com/guzzle/guzzle/pull/2950)
Línea 43... Línea 155...
43
- Only close curl handle if it's done [#2950](https://github.com/guzzle/guzzle/pull/2950)
155
 
Línea 44... Línea 156...
44
 
156
 
Línea 57... Línea 169...
57
 
169
 
Línea 58... Línea 170...
58
### Changed
170
### Changed
Línea -... Línea 171...
-
 
171
 
59
 
172
- 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)
Línea 60... Línea 173...
60
- 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)
173
 
Línea 61... Línea 174...
61
 
174
 
Línea 69... Línea 182...
69
 
182
 
Línea 70... Línea 183...
70
### Fixed
183
### Fixed
Línea -... Línea 184...
-
 
184
 
71
 
185
- Handle exceptions on invalid header consistently between PHP versions and handlers [#2872](https://github.com/guzzle/guzzle/pull/2872)
Línea 72... Línea 186...
72
- Handle exceptions on invalid header consistently between PHP versions and handlers [#2872](https://github.com/guzzle/guzzle/pull/2872)
186
 
Línea 73... Línea 187...
73
 
187
 
Línea 91... Línea 205...
91
 
205
 
Línea 92... Línea 206...
92
### Deprecated
206
### Deprecated
Línea -... Línea 207...
-
 
207
 
93
 
208
- Using environment variable GUZZLE_CURL_SELECT_TIMEOUT [#2786](https://github.com/guzzle/guzzle/pull/2786)
Línea 94... Línea 209...
94
- Using environment variable GUZZLE_CURL_SELECT_TIMEOUT [#2786](https://github.com/guzzle/guzzle/pull/2786)
209
 
Línea 95... Línea 210...
95
 
210
 
Línea 102... Línea 217...
102
### Changed
217
### Changed
Línea 103... Línea 218...
103
 
218
 
104
- We dont connect curl `sink` on HEAD requests.
219
- We dont connect curl `sink` on HEAD requests.
Línea -... Línea 220...
-
 
220
- Removed some PHP 5 workarounds
105
- Removed some PHP 5 workarounds
221
 
Línea 106... Línea 222...
106
 
222
 
Línea 107... Línea 223...
107
## 7.1.0 - 2020-09-22
223
## 7.1.0 - 2020-09-22
Línea 124... Línea 240...
124
- `Client::getConfig()`
240
- `Client::getConfig()`
125
- `Client::__call()`
241
- `Client::__call()`
126
- `Utils::defaultCaBundle()`
242
- `Utils::defaultCaBundle()`
127
- `CurlFactory::LOW_CURL_VERSION_NUMBER`
243
- `CurlFactory::LOW_CURL_VERSION_NUMBER`
Línea -... Línea 244...
-
 
244
 
128
 
245
 
Línea 129... Línea 246...
129
## 7.0.1 - 2020-06-27
246
## 7.0.1 - 2020-06-27
Línea -... Línea 247...
-
 
247
 
130
 
248
* Fix multiply defined functions fatal error [#2699](https://github.com/guzzle/guzzle/pull/2699)
Línea 131... Línea 249...
131
* Fix multiply defined functions fatal error [#2699](https://github.com/guzzle/guzzle/pull/2699)
249
 
Línea -... Línea 250...
-
 
250
 
132
 
251
## 7.0.0 - 2020-06-27
Línea 133... Línea 252...
133
## 7.0.0 - 2020-06-27
252
 
Línea 134... Línea 253...
134
 
253
No changes since 7.0.0-rc1.
135
No changes since 7.0.0-rc1.
254
 
Línea -... Línea 255...
-
 
255
 
136
 
256
## 7.0.0-rc1 - 2020-06-15
Línea 137... Línea 257...
137
## 7.0.0-rc1 - 2020-06-15
257
 
Línea 138... Línea 258...
138
 
258
### Changed
Línea 164... Línea 284...
164
 
284
 
Línea 165... Línea 285...
165
### Removed
285
### Removed
Línea -... Línea 286...
-
 
286
 
166
 
287
* Pool option `pool_size` [#2528](https://github.com/guzzle/guzzle/pull/2528)
Línea 167... Línea 288...
167
* Pool option `pool_size` [#2528](https://github.com/guzzle/guzzle/pull/2528)
288
 
168
 
289
 
Línea 197... Línea 318...
197
* `RequestException::getResponseBodySummary()` [#2425](https://github.com/guzzle/guzzle/pull/2425)
318
* `RequestException::getResponseBodySummary()` [#2425](https://github.com/guzzle/guzzle/pull/2425)
198
* `CookieJar::getCookieValue()` [#2433](https://github.com/guzzle/guzzle/pull/2433)
319
* `CookieJar::getCookieValue()` [#2433](https://github.com/guzzle/guzzle/pull/2433)
199
* `uri_template()` and `UriTemplate` [#2440](https://github.com/guzzle/guzzle/pull/2440)
320
* `uri_template()` and `UriTemplate` [#2440](https://github.com/guzzle/guzzle/pull/2440)
200
* Request options `save_to` and `exceptions` [#2464](https://github.com/guzzle/guzzle/pull/2464)
321
* Request options `save_to` and `exceptions` [#2464](https://github.com/guzzle/guzzle/pull/2464)
Línea -... Línea 322...
-
 
322
 
201
 
323
 
Línea 202... Línea 324...
202
## 6.5.2 - 2019-12-23
324
## 6.5.2 - 2019-12-23
Línea -... Línea 325...
-
 
325
 
203
 
326
* idn_to_ascii() fix for old PHP versions [#2489](https://github.com/guzzle/guzzle/pull/2489)
Línea 204... Línea 327...
204
* idn_to_ascii() fix for old PHP versions [#2489](https://github.com/guzzle/guzzle/pull/2489)
327
 
205
 
328
 
Línea -... Línea 329...
-
 
329
## 6.5.1 - 2019-12-21
206
## 6.5.1 - 2019-12-21
330
 
Línea 207... Línea 331...
207
 
331
* Better defaults for PHP installations with old ICU lib [#2454](https://github.com/guzzle/guzzle/pull/2454)
208
* Better defaults for PHP installations with old ICU lib [#2454](https://github.com/guzzle/guzzle/pull/2454)
332
* IDN support for redirects [#2424](https://github.com/guzzle/guzzle/pull/2424)
209
* IDN support for redirects [#2424](https://github.com/guzzle/guzzle/pull/2424)
333
 
210
 
334
 
211
## 6.5.0 - 2019-12-07
335
## 6.5.0 - 2019-12-07
212
 
336
 
Línea -... Línea 337...
-
 
337
* Improvement: Added support for reset internal queue in MockHandler. [#2143](https://github.com/guzzle/guzzle/pull/2143)
213
* Improvement: Added support for reset internal queue in MockHandler. [#2143](https://github.com/guzzle/guzzle/pull/2143)
338
* Improvement: Added support to pass arbitrary options to `curl_multi_init`. [#2287](https://github.com/guzzle/guzzle/pull/2287)
Línea 214... Línea 339...
214
* Improvement: Added support to pass arbitrary options to `curl_multi_init`. [#2287](https://github.com/guzzle/guzzle/pull/2287)
339
* Fix: Gracefully handle passing `null` to the `header` option. [#2132](https://github.com/guzzle/guzzle/pull/2132)
215
* Fix: Gracefully handle passing `null` to the `header` option. [#2132](https://github.com/guzzle/guzzle/pull/2132)
340
* Fix: `RetryMiddleware` did not do exponential delay between retires due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132)
Línea -... Línea 341...
-
 
341
* Fix: Prevent undefined offset when using array for ssl_key options. [#2348](https://github.com/guzzle/guzzle/pull/2348)
216
* Fix: `RetryMiddleware` did not do exponential delay between retires due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132)
342
* Deprecated `ClientInterface::VERSION`
Línea 217... Línea 343...
217
* Fix: Prevent undefined offset when using array for ssl_key options. [#2348](https://github.com/guzzle/guzzle/pull/2348)
343
 
218
* Deprecated `ClientInterface::VERSION`
344
 
219
 
345
## 6.4.1 - 2019-10-23
Línea 232... Línea 358...
232
* Improvement: Added curl's `appconnect_time` in `TransferStats` [#2284](https://github.com/guzzle/guzzle/pull/2284)
358
* Improvement: Added curl's `appconnect_time` in `TransferStats` [#2284](https://github.com/guzzle/guzzle/pull/2284)
233
* Improvement: Make GuzzleException extend Throwable wherever it's available [#2273](https://github.com/guzzle/guzzle/pull/2273)
359
* Improvement: Make GuzzleException extend Throwable wherever it's available [#2273](https://github.com/guzzle/guzzle/pull/2273)
234
* Fix: Prevent concurrent writes to file when saving `CookieJar` [#2335](https://github.com/guzzle/guzzle/pull/2335)
360
* Fix: Prevent concurrent writes to file when saving `CookieJar` [#2335](https://github.com/guzzle/guzzle/pull/2335)
235
* Improvement: Update `MockHandler` so we can test transfer time [#2362](https://github.com/guzzle/guzzle/pull/2362)
361
* Improvement: Update `MockHandler` so we can test transfer time [#2362](https://github.com/guzzle/guzzle/pull/2362)
Línea -... Línea 362...
-
 
362
 
236
 
363
 
Línea 237... Línea 364...
237
## 6.3.3 - 2018-04-22
364
## 6.3.3 - 2018-04-22
Línea 273... Línea 400...
273
* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721)
400
* Improvement: Always include the Content-Length if there's a body [#1721](https://github.com/guzzle/guzzle/pull/1721)
274
* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318)
401
* Feature: Added convenience method to access a cookie by name [#1318](https://github.com/guzzle/guzzle/pull/1318)
275
* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684)
402
* Bug fix: Fill `CURLOPT_CAPATH` and `CURLOPT_CAINFO` properly [#1684](https://github.com/guzzle/guzzle/pull/1684)
276
* Improvement:  	Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827)
403
* Improvement:  	Use `\GuzzleHttp\Promise\rejection_for` function instead of object init [#1827](https://github.com/guzzle/guzzle/pull/1827)
Línea 277... Línea -...
277
 
-
 
278
 
404
 
Línea -... Línea 405...
-
 
405
+ Minor code cleanups, documentation fixes and clarifications.
279
+ Minor code cleanups, documentation fixes and clarifications.
406
 
Línea 280... Línea 407...
280
 
407
 
Línea -... Línea 408...
-
 
408
## 6.2.3 - 2017-02-28
281
## 6.2.3 - 2017-02-28
409
 
Línea 282... Línea 410...
282
 
410
* Fix deprecations with guzzle/psr7 version 1.4
283
* Fix deprecations with guzzle/psr7 version 1.4
411
 
284
 
412
 
285
## 6.2.2 - 2016-10-08
413
## 6.2.2 - 2016-10-08
Línea -... Línea 414...
-
 
414
 
286
 
415
* Allow to pass nullable Response to delay callable
Línea 287... Línea 416...
287
* Allow to pass nullable Response to delay callable
416
* Only add scheme when host is present
288
* Only add scheme when host is present
417
* Fix drain case where content-length is the literal string zero
289
* Fix drain case where content-length is the literal string zero
418
* Obfuscate in-URL credentials in exceptions
290
* Obfuscate in-URL credentials in exceptions
419
 
291
 
420
 
292
## 6.2.1 - 2016-07-18
421
## 6.2.1 - 2016-07-18
293
 
422
 
Línea -... Línea 423...
-
 
423
* Address HTTP_PROXY security vulnerability, CVE-2016-5385:
294
* Address HTTP_PROXY security vulnerability, CVE-2016-5385:
424
  https://httpoxy.org/
Línea 295... Línea 425...
295
  https://httpoxy.org/
425
* Fixing timeout bug with StreamHandler:
296
* Fixing timeout bug with StreamHandler:
426
  https://github.com/guzzle/guzzle/pull/1488
297
  https://github.com/guzzle/guzzle/pull/1488
427
* Only read up to `Content-Length` in PHP StreamHandler to avoid timeouts when
Línea 316... Línea 446...
316
* Bug fix: rewind seekable request bodies before dispatching to cURL.
446
* Bug fix: rewind seekable request bodies before dispatching to cURL.
317
  https://github.com/guzzle/guzzle/pull/1422
447
  https://github.com/guzzle/guzzle/pull/1422
318
* Bug fix: provide an empty string to `http_build_query` for HHVM workaround.
448
* Bug fix: provide an empty string to `http_build_query` for HHVM workaround.
319
  https://github.com/guzzle/guzzle/pull/1367
449
  https://github.com/guzzle/guzzle/pull/1367
Línea -... Línea 450...
-
 
450
 
320
 
451
 
Línea 321... Línea 452...
321
## 6.1.1 - 2015-11-22
452
## 6.1.1 - 2015-11-22
322
 
453
 
323
* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler
454
* Bug fix: Proxy::wrapSync() now correctly proxies to the appropriate handler
Línea 331... Línea 462...
331
* Feature: better support for disabled functions.
462
* Feature: better support for disabled functions.
332
  https://github.com/guzzle/guzzle/pull/1287
463
  https://github.com/guzzle/guzzle/pull/1287
333
* Bug fix: fixed regression where MockHandler was not using `sink`.
464
* Bug fix: fixed regression where MockHandler was not using `sink`.
334
  https://github.com/guzzle/guzzle/pull/1292
465
  https://github.com/guzzle/guzzle/pull/1292
Línea -... Línea 466...
-
 
466
 
335
 
467
 
Línea 336... Línea 468...
336
## 6.1.0 - 2015-09-08
468
## 6.1.0 - 2015-09-08
337
 
469
 
338
* Feature: Added the `on_stats` request option to provide access to transfer
470
* Feature: Added the `on_stats` request option to provide access to transfer
Línea 365... Línea 497...
365
* Bug fix: `form_params` and `query` now always uses the `&` separator.
497
* Bug fix: `form_params` and `query` now always uses the `&` separator.
366
  https://github.com/guzzle/guzzle/pull/1163
498
  https://github.com/guzzle/guzzle/pull/1163
367
* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set.
499
* Bug fix: Adding a Content-Length to PHP stream wrapper requests if not set.
368
  https://github.com/guzzle/guzzle/pull/1189
500
  https://github.com/guzzle/guzzle/pull/1189
Línea -... Línea 501...
-
 
501
 
369
 
502
 
Línea 370... Línea 503...
370
## 6.0.2 - 2015-07-04
503
## 6.0.2 - 2015-07-04
371
 
504
 
372
* Fixed a memory leak in the curl handlers in which references to callbacks
505
* Fixed a memory leak in the curl handlers in which references to callbacks
Línea 382... Línea 515...
382
  `multipart` in the same request.
515
  `multipart` in the same request.
383
* Several fixes for HHVM support.
516
* Several fixes for HHVM support.
384
* Functions are now conditionally required using an additional level of
517
* Functions are now conditionally required using an additional level of
385
  indirection to help with global Composer installations.
518
  indirection to help with global Composer installations.
Línea -... Línea 519...
-
 
519
 
386
 
520
 
Línea 387... Línea 521...
387
## 6.0.1 - 2015-05-27
521
## 6.0.1 - 2015-05-27
388
 
522
 
389
* Fixed a bug with serializing the `query` request option where the `&`
523
* Fixed a bug with serializing the `query` request option where the `&`
390
  separator was missing.
524
  separator was missing.
391
* Added a better error message for when `body` is provided as an array. Please
525
* Added a better error message for when `body` is provided as an array. Please
Línea -... Línea 526...
-
 
526
  use `form_params` or `multipart` instead.
392
  use `form_params` or `multipart` instead.
527
* Various doc fixes.
Línea 393... Línea 528...
393
* Various doc fixes.
528
 
394
 
529
 
395
## 6.0.0 - 2015-05-26
530
## 6.0.0 - 2015-05-26
Línea 414... Línea 549...
414
* Added `GuzzleHttp\RequestOptions` to allow request options to be applied
549
* Added `GuzzleHttp\RequestOptions` to allow request options to be applied
415
  using constants.
550
  using constants.
416
* `$maxHandles` has been removed from CurlMultiHandler.
551
* `$maxHandles` has been removed from CurlMultiHandler.
417
* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package.
552
* `MultipartPostBody` is now part of the `guzzlehttp/psr7` package.
Línea -... Línea 553...
-
 
553
 
418
 
554
 
Línea 419... Línea 555...
419
## 5.3.0 - 2015-05-19
555
## 5.3.0 - 2015-05-19
420
 
556
 
421
* Mock now supports `save_to`
557
* Mock now supports `save_to`
422
* Marked `AbstractRequestEvent::getTransaction()` as public.
558
* Marked `AbstractRequestEvent::getTransaction()` as public.
423
* Fixed a bug in which multiple headers using different casing would overwrite
559
* Fixed a bug in which multiple headers using different casing would overwrite
424
  previous headers in the associative array.
560
  previous headers in the associative array.
425
* Added `Utils::getDefaultHandler()`
561
* Added `Utils::getDefaultHandler()`
Línea -... Línea 562...
-
 
562
* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated.
426
* Marked `GuzzleHttp\Client::getDefaultUserAgent` as deprecated.
563
* URL scheme is now always lowercased.
Línea 427... Línea 564...
427
* URL scheme is now always lowercased.
564
 
428
 
565
 
429
## 6.0.0-beta.1
566
## 6.0.0-beta.1
Línea 476... Línea 613...
476
  is serialized using PHP's `http_build_query`. If you need more control, you
613
  is serialized using PHP's `http_build_query`. If you need more control, you
477
  can pass the query string in as a string.
614
  can pass the query string in as a string.
478
* `GuzzleHttp\QueryParser` has been replaced with the
615
* `GuzzleHttp\QueryParser` has been replaced with the
479
  `GuzzleHttp\Psr7\parse_query`.
616
  `GuzzleHttp\Psr7\parse_query`.
Línea -... Línea 617...
-
 
617
 
480
 
618
 
Línea 481... Línea 619...
481
## 5.2.0 - 2015-01-27
619
## 5.2.0 - 2015-01-27
482
 
620
 
483
* Added `AppliesHeadersInterface` to make applying headers to a request based
621
* Added `AppliesHeadersInterface` to make applying headers to a request based
484
  on the body more generic and not specific to `PostBodyInterface`.
622
  on the body more generic and not specific to `PostBodyInterface`.
485
* Reduced the number of stack frames needed to send requests.
623
* Reduced the number of stack frames needed to send requests.
486
* Nested futures are now resolved in the client rather than the RequestFsm
624
* Nested futures are now resolved in the client rather than the RequestFsm
487
* Finishing state transitions is now handled in the RequestFsm rather than the
625
* Finishing state transitions is now handled in the RequestFsm rather than the
Línea -... Línea 626...
-
 
626
  RingBridge.
488
  RingBridge.
627
* Added a guard in the Pool class to not use recursion for request retries.
Línea 489... Línea 628...
489
* Added a guard in the Pool class to not use recursion for request retries.
628
 
490
 
629
 
491
## 5.1.0 - 2014-12-19
630
## 5.1.0 - 2014-12-19
Línea 506... Línea 645...
506
* `Query` no longer typehints on the `$query` argument in the constructor,
645
* `Query` no longer typehints on the `$query` argument in the constructor,
507
  allowing for strings and arrays.
646
  allowing for strings and arrays.
508
* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle
647
* Exceptions thrown in the `end` event are now correctly wrapped with Guzzle
509
  specific exceptions if necessary.
648
  specific exceptions if necessary.
Línea -... Línea 649...
-
 
649
 
510
 
650
 
Línea 511... Línea 651...
511
## 5.0.3 - 2014-11-03
651
## 5.0.3 - 2014-11-03
512
 
652
 
513
This change updates query strings so that they are treated as un-encoded values
653
This change updates query strings so that they are treated as un-encoded values
Línea 520... Línea 660...
520
pass true as the second argument to specify that the query string is a raw
660
pass true as the second argument to specify that the query string is a raw
521
string that should not be parsed or encoded (unless a call to getQuery() is
661
string that should not be parsed or encoded (unless a call to getQuery() is
522
subsequently made, forcing the query-string to be converted into a Query
662
subsequently made, forcing the query-string to be converted into a Query
523
object).
663
object).
Línea -... Línea 664...
-
 
664
 
524
 
665
 
Línea 525... Línea 666...
525
## 5.0.2 - 2014-10-30
666
## 5.0.2 - 2014-10-30
526
 
667
 
527
* Added a trailing `\r\n` to multipart/form-data payloads. See
668
* Added a trailing `\r\n` to multipart/form-data payloads. See
Línea 539... Línea 680...
539
  * Now properly encoding the supplied path to a URL object, instead of only
680
  * Now properly encoding the supplied path to a URL object, instead of only
540
    encoding ' ' and '?'.
681
    encoding ' ' and '?'.
541
  * Note: This has been changed in 5.0.3 to now encode query string values by
682
  * Note: This has been changed in 5.0.3 to now encode query string values by
542
    default unless the `rawString` argument is provided when setting the query
683
    default unless the `rawString` argument is provided when setting the query
543
    string on a URL: Now allowing many more characters to be present in the
684
    string on a URL: Now allowing many more characters to be present in the
544
    query string without being percent encoded. See https://tools.ietf.org/html/rfc3986#appendix-A
685
    query string without being percent encoded. See
-
 
686
    https://datatracker.ietf.org/doc/html/rfc3986#appendix-A
-
 
687
 
Línea 545... Línea 688...
545
 
688
 
Línea 546... Línea 689...
546
## 5.0.1 - 2014-10-16
689
## 5.0.1 - 2014-10-16
Línea 552... Línea 695...
552
  corrected so that a response is not returned in the `getResponse` method of
695
  corrected so that a response is not returned in the `getResponse` method of
553
  these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867
696
  these events if the response did not complete. https://github.com/guzzle/guzzle/issues/867
554
* Fixed an issue where transfer statistics were not being populated in the
697
* Fixed an issue where transfer statistics were not being populated in the
555
  RingBridge. https://github.com/guzzle/guzzle/issues/866
698
  RingBridge. https://github.com/guzzle/guzzle/issues/866
Línea -... Línea 699...
-
 
699
 
556
 
700
 
Línea 557... Línea 701...
557
## 5.0.0 - 2014-10-12
701
## 5.0.0 - 2014-10-12
Línea 558... Línea 702...
558
 
702
 
Línea 633... Línea 777...
633
      `GuzzleHttp\Stream\Stream::factory`, and
777
      `GuzzleHttp\Stream\Stream::factory`, and
634
      `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second
778
      `GuzzleHttp\Stream\Utils::create` no longer accept a size in the second
635
      argument. They now accept an associative array of options, including the
779
      argument. They now accept an associative array of options, including the
636
      "size" key and "metadata" key which can be used to provide custom metadata.
780
      "size" key and "metadata" key which can be used to provide custom metadata.
Línea -... Línea 781...
-
 
781
 
637
 
782
 
Línea 638... Línea 783...
638
## 4.2.2 - 2014-09-08
783
## 4.2.2 - 2014-09-08
639
 
784
 
640
* Fixed a memory leak in the CurlAdapter when reusing cURL handles.
785
* Fixed a memory leak in the CurlAdapter when reusing cURL handles.
Línea 1075... Línea 1220...
1075
* Added support for oauth_verifier in OAuth signatures
1220
* Added support for oauth_verifier in OAuth signatures
1076
* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection
1221
* Added support to attempt to retrieve a command first literally, then ucfirst, the with inflection
Línea 1077... Línea 1222...
1077
 
1222
 
Línea 1078... Línea 1223...
1078
## 3.4.0 - 2013-04-11
1223
## 3.4.0 - 2013-04-11
1079
 
1224
 
1080
* Bug fix: URLs are now resolved correctly based on https://tools.ietf.org/html/rfc3986#section-5.2. #289
1225
* Bug fix: URLs are now resolved correctly based on https://datatracker.ietf.org/doc/html/rfc3986#section-5.2. #289
1081
* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289
1226
* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289
1082
* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263
1227
* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263
1083
* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264.
1228
* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264.