Skip to content

Commit 5de0587

Browse files
committed
Update changelog for 1.7
1 parent 0048f3c commit 5de0587

File tree

1 file changed

+267
-0
lines changed

1 file changed

+267
-0
lines changed

CHANGELOG.md

+267
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,273 @@
11
Changelog
22
=========
33

4+
1.7.0
5+
-----
6+
7+
- Add support for HHVM and PHP 7
8+
9+
Requests is now tested against both HHVM and PHP 7, and they are supported as
10+
first-party platforms.
11+
12+
(props @rmccue, [#106][gh-106], [#176][gh-176])
13+
14+
- Transfer & connect timeouts, in seconds & milliseconds
15+
16+
cURL is unable to handle timeouts under a second in DNS lookups, so we round
17+
those up to ensure 1-999ms isn't counted as an instant failure.
18+
19+
(props @ozh, @rmccue, [#97][gh-97], [#216][gh-216])
20+
21+
- Rework cookie handling to be more thorough.
22+
23+
Cookies are now restricted to the same-origin by default, expiration is checked.
24+
25+
(props @catharsisjelly, @rmccue, [#120][gh-120], [#124][gh-124], [#130][gh-130], [#132][gh-132], [#156][gh-156])
26+
27+
- Improve testing
28+
29+
Tests are now run locally to speed them up, as well as further general
30+
improvements to the quality of the testing suite. There are now also
31+
comprehensive proxy tests to ensure coverage there.
32+
33+
(props @rmccue, [#75][gh-75], [#107][gh-107], [#170][gh-170], [#177][gh-177], [#181][gh-181], [#183][gh-183], [#185][gh-185], [#196][gh-196], [#202][gh-202], [#203][gh-203])
34+
35+
- Support custom HTTP methods
36+
37+
Previously, custom HTTP methods were only supported on sockets; they are now
38+
supported across all transports.
39+
40+
(props @ocean90, [#227][gh-227])
41+
42+
- Add byte limit option
43+
44+
(props @rmccue, [#172][gh-172])
45+
46+
- Support a Requests_Proxy_HTTP() instance for the proxy setting.
47+
48+
(props @ocean90, [#223][gh-223])
49+
50+
- Add progress hook
51+
52+
(props @rmccue, [#180][gh-180])
53+
54+
- Add a before_redirect hook to alter redirects
55+
56+
(props @rmccue, [#205][gh-205])
57+
58+
- Pass cURL info to after_request
59+
60+
(props @rmccue, [#206][gh-206])
61+
62+
- Remove explicit autoload in Composer installation instructions
63+
64+
(props @SlikNL, [#86][gh-86])
65+
66+
- Restrict CURLOPT_PROTOCOLS on `defined()` instead of `version_compare()`
67+
68+
(props @ozh, [#92][gh-92])
69+
70+
- Fix doc - typo in "Authentication"
71+
72+
(props @remik, [#99][gh-99])
73+
74+
- Contextually check for a valid transport
75+
76+
(props @ozh, [#101][gh-101])
77+
78+
- Follow relative redirects correctly
79+
80+
(props @ozh, [#103][gh-103])
81+
82+
- Use cURL's version_number
83+
84+
(props @mishan, [#104][gh-104])
85+
86+
- Removed duplicated option docs
87+
88+
(props @staabm, [#112][gh-112])
89+
90+
- code styling fixed
91+
92+
(props @imsaintx, [#113][gh-113])
93+
94+
- Fix IRI "normalization"
95+
96+
(props @ozh, [#128][gh-128])
97+
98+
- Mention two PHP extension dependencies in the README.
99+
100+
(props @orlitzky, [#136][gh-136])
101+
102+
- Ignore coverage report files
103+
104+
(props @ozh, [#148][gh-148])
105+
106+
- drop obsolete "return" after throw
107+
108+
(props @staabm, [#150][gh-150])
109+
110+
- Updated exception message to specify both http + https
111+
112+
(props @beutnagel, [#162][gh-162])
113+
114+
- Sets `stream_headers` method to public to allow calling it from other
115+
places.
116+
117+
(props @adri, [#158][gh-158])
118+
119+
- Remove duplicated stream_get_meta_data call
120+
121+
(props @rmccue, [#179][gh-179])
122+
123+
- Transmits $errno from stream_socket_client in exception
124+
125+
(props @laurentmartelli, [#174][gh-174])
126+
127+
- Correct methods to use snake_case
128+
129+
(props @rmccue, [#184][gh-184])
130+
131+
- Improve code quality
132+
133+
(props @rmccue, [#186][gh-186])
134+
135+
- Update Build Status image
136+
137+
(props @rmccue, [#187][gh-187])
138+
139+
- Fix/Rationalize transports (v2)
140+
141+
(props @rmccue, [#188][gh-188])
142+
143+
- Surface cURL errors
144+
145+
(props @ifwe, [#194][gh-194])
146+
147+
- Fix for memleak and curl_close() never being called
148+
149+
(props @kwuerl, [#200][gh-200])
150+
151+
- addex how to install with composer
152+
153+
(props @royopa, [#164][gh-164])
154+
155+
- Uppercase the method to ensure compatibility
156+
157+
(props @rmccue, [#207][gh-207])
158+
159+
- Store default certificate path
160+
161+
(props @rmccue, [#210][gh-210])
162+
163+
- Force closing keep-alive connections on old cURL
164+
165+
(props @rmccue, [#211][gh-211])
166+
167+
- Docs: Updated HTTP links with HTTPS links where applicable
168+
169+
(props @ntwb, [#215][gh-215])
170+
171+
- Remove the executable bit
172+
173+
(props @ocean90, [#224][gh-224])
174+
175+
- Change more links to HTTPS
176+
177+
(props @rmccue, [#217][gh-217])
178+
179+
- Bail from cURL when either `curl_init()` OR `curl_exec()` are unavailable
180+
181+
(props @dd32, [#230][gh-230])
182+
183+
- Disable OpenSSL's internal peer_name checking when `verifyname` is disabled.
184+
185+
(props @dd32, [#239][gh-239])
186+
187+
- Only include the port number in the `Host` header when it differs from
188+
default
189+
190+
(props @dd32, [#238][gh-238])
191+
192+
- Respect port if specified for HTTPS connections
193+
194+
(props @dd32, [#237][gh-237])
195+
196+
- Allow paths starting with a double-slash
197+
198+
(props @rmccue, [#240][gh-240])
199+
200+
- Fixes bug in rfc2616 #3.6.1 implementation.
201+
202+
(props @stephenharris, [#236][gh-236], [#3][gh-3])
203+
204+
- CURLOPT_HTTPHEADER在php7接受空数组导致php-fpm奔溃
205+
206+
(props @qibinghua, [#219][gh-219])
207+
208+
[gh-3]: https://github.com/WP-API/WP-API/issues/3
209+
[gh-75]: https://github.com/WP-API/WP-API/issues/75
210+
[gh-86]: https://github.com/WP-API/WP-API/issues/86
211+
[gh-92]: https://github.com/WP-API/WP-API/issues/92
212+
[gh-97]: https://github.com/WP-API/WP-API/issues/97
213+
[gh-99]: https://github.com/WP-API/WP-API/issues/99
214+
[gh-101]: https://github.com/WP-API/WP-API/issues/101
215+
[gh-103]: https://github.com/WP-API/WP-API/issues/103
216+
[gh-104]: https://github.com/WP-API/WP-API/issues/104
217+
[gh-106]: https://github.com/WP-API/WP-API/issues/106
218+
[gh-107]: https://github.com/WP-API/WP-API/issues/107
219+
[gh-112]: https://github.com/WP-API/WP-API/issues/112
220+
[gh-113]: https://github.com/WP-API/WP-API/issues/113
221+
[gh-120]: https://github.com/WP-API/WP-API/issues/120
222+
[gh-124]: https://github.com/WP-API/WP-API/issues/124
223+
[gh-128]: https://github.com/WP-API/WP-API/issues/128
224+
[gh-130]: https://github.com/WP-API/WP-API/issues/130
225+
[gh-132]: https://github.com/WP-API/WP-API/issues/132
226+
[gh-136]: https://github.com/WP-API/WP-API/issues/136
227+
[gh-148]: https://github.com/WP-API/WP-API/issues/148
228+
[gh-150]: https://github.com/WP-API/WP-API/issues/150
229+
[gh-156]: https://github.com/WP-API/WP-API/issues/156
230+
[gh-158]: https://github.com/WP-API/WP-API/issues/158
231+
[gh-162]: https://github.com/WP-API/WP-API/issues/162
232+
[gh-164]: https://github.com/WP-API/WP-API/issues/164
233+
[gh-170]: https://github.com/WP-API/WP-API/issues/170
234+
[gh-172]: https://github.com/WP-API/WP-API/issues/172
235+
[gh-174]: https://github.com/WP-API/WP-API/issues/174
236+
[gh-176]: https://github.com/WP-API/WP-API/issues/176
237+
[gh-177]: https://github.com/WP-API/WP-API/issues/177
238+
[gh-179]: https://github.com/WP-API/WP-API/issues/179
239+
[gh-180]: https://github.com/WP-API/WP-API/issues/180
240+
[gh-181]: https://github.com/WP-API/WP-API/issues/181
241+
[gh-183]: https://github.com/WP-API/WP-API/issues/183
242+
[gh-184]: https://github.com/WP-API/WP-API/issues/184
243+
[gh-185]: https://github.com/WP-API/WP-API/issues/185
244+
[gh-186]: https://github.com/WP-API/WP-API/issues/186
245+
[gh-187]: https://github.com/WP-API/WP-API/issues/187
246+
[gh-188]: https://github.com/WP-API/WP-API/issues/188
247+
[gh-194]: https://github.com/WP-API/WP-API/issues/194
248+
[gh-196]: https://github.com/WP-API/WP-API/issues/196
249+
[gh-200]: https://github.com/WP-API/WP-API/issues/200
250+
[gh-202]: https://github.com/WP-API/WP-API/issues/202
251+
[gh-203]: https://github.com/WP-API/WP-API/issues/203
252+
[gh-205]: https://github.com/WP-API/WP-API/issues/205
253+
[gh-206]: https://github.com/WP-API/WP-API/issues/206
254+
[gh-207]: https://github.com/WP-API/WP-API/issues/207
255+
[gh-210]: https://github.com/WP-API/WP-API/issues/210
256+
[gh-211]: https://github.com/WP-API/WP-API/issues/211
257+
[gh-215]: https://github.com/WP-API/WP-API/issues/215
258+
[gh-216]: https://github.com/WP-API/WP-API/issues/216
259+
[gh-217]: https://github.com/WP-API/WP-API/issues/217
260+
[gh-219]: https://github.com/WP-API/WP-API/issues/219
261+
[gh-223]: https://github.com/WP-API/WP-API/issues/223
262+
[gh-224]: https://github.com/WP-API/WP-API/issues/224
263+
[gh-227]: https://github.com/WP-API/WP-API/issues/227
264+
[gh-230]: https://github.com/WP-API/WP-API/issues/230
265+
[gh-236]: https://github.com/WP-API/WP-API/issues/236
266+
[gh-237]: https://github.com/WP-API/WP-API/issues/237
267+
[gh-238]: https://github.com/WP-API/WP-API/issues/238
268+
[gh-239]: https://github.com/WP-API/WP-API/issues/239
269+
[gh-240]: https://github.com/WP-API/WP-API/issues/240
270+
4271
1.6.0
5272
-----
6273
- [Add multiple request support][#23] - Send multiple HTTP requests with both

0 commit comments

Comments
 (0)