Debian Codegraph @

CHANGELOG

raw
1 0.32.0
2
3 Python support 3.8+ only
4
5 decompression limited by size and ratio
6
7 decoder foundation to support more compression algorithms
8
9 0.31.2
10
11 build(deps): pp.DelimitedList (camel case) only available in pyparsing>=3.1
12 https://github.com/httplib2/httplib2/issues/255
13
14 DO NOT use 0.31.1
15
16 0.31.1
17
18 auth: use pyparsing v3 PEP8-compliant method names
19 https://github.com/httplib2/httplib2/pull/253
20
21 0.31.0
22
23 https: avoid costly load_verify_locations when SSL certificate validation is disabled
24 https://github.com/httplib2/httplib2/pull/249
25
26 0.30.2
27
28 No changes in library. Fix automatic pypi release from CI.
29
30 0.30.1
31
32 restore socks proxy support, was broken in 0.30.0
33 https://github.com/httplib2/httplib2/issues/251
34
35 0.30.0
36
37 BREAKING CHANGE! Python support 3.7+ only
38
39 https: Do not rely on ssl.PROTOCOL_TLS, which has been deprecated in Python3.10
40 https://github.com/httplib2/httplib2/pull/243
41
42 0.22.0
43
44 https: disable_ssl_certificate_validation caused ValueError: Cannot set verify_mode to CERT_NONE when check_hostname is enabled
45 https://github.com/httplib2/httplib2/pull/231
46
47 build(deps): bump cryptography from 37.0.4 to 38.0.3
48 Reason from cryptography changelog: Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.
49
50 0.21.0
51
52 http: `Content-Encoding: deflate` must accept zlib encapsulation
53 https://github.com/httplib2/httplib2/pull/230
54
55 Begin support and CI against CPython 3.10 and 3.11.
56
57 0.20.4
58
59 proxy: support proxy urls with ipv6 address
60 https://github.com/httplib2/httplib2/pull/217
61
62 0.20.3
63
64 No changes in library. Tests compatible with Python3.10 and recent pytest.
65
66 0.20.2
67
68 auth: support pyparsing v3 (AttributeError downcaseTokens)
69 https://github.com/httplib2/httplib2/issues/207
70
71 proxy: correct extraction of errno from pysocks ProxyConnectionError
72 https://github.com/httplib2/httplib2/pull/202
73
74 0.20.1
75
76 No changes from 0.20.0, re-upload of broken py2 wheel.
77
78 0.20.0
79
80 IMPORTANT cacerts: remove expired DST Root CA X3, add ISRG Root X1, X2
81 https://github.com/httplib2/httplib2/pull/200
82 https://github.com/httplib2/httplib2/issues/203
83
84 tls: accept min/max ssl.TLSVersion enum values
85 https://github.com/httplib2/httplib2/pull/191
86
87 setup(python_requires=...) may need setuptools update
88 https://github.com/httplib2/httplib2/pull/195
89
90 0.19.1
91
92 auth header parsing performance optimizations; Thanks to Paul McGuire
93
94 Use mock from the standard library on Python>=3.3
95
96 0.19.0
97
98 auth: parse headers using pyparsing instead of regexp
99 https://github.com/httplib2/httplib2/pull/182
100
101 auth: WSSE token needs to be string not bytes
102 https://github.com/httplib2/httplib2/pull/179
103
104 0.18.1
105
106 explicit build-backend workaround for pip build isolation bug
107 "AttributeError: 'module' object has no attribute '__legacy__'" on pip install
108 https://github.com/httplib2/httplib2/issues/169
109
110 0.18.0
111
112 IMPORTANT security vulnerability CWE-93 CRLF injection
113 Force %xx quote of space, CR, LF characters in uri.
114 Special thanks to Recar https://github.com/Ciyfly for discrete notification.
115 https://cwe.mitre.org/data/definitions/93.html
116
117 0.17.4
118
119 Ship test suite in source dist
120 https://github.com/httplib2/httplib2/pull/168
121
122 0.17.3
123
124 IronPython2.7: relative import iri2uri fixes ImportError
125 https://github.com/httplib2/httplib2/pull/163
126
127 0.17.2
128
129 python3 + debug + IPv6 disabled: https raised
130 "IndexError: Replacement index 1 out of range for positional args tuple"
131 https://github.com/httplib2/httplib2/issues/161
132
133 0.17.1
134
135 python3: no_proxy was not checked with https
136 https://github.com/httplib2/httplib2/issues/160
137
138 0.17.0
139
140 feature: Http().redirect_codes set, works after follow(_all)_redirects check
141 This allows one line workaround for old gcloud library that uses 308
142 response without redirect semantics.
143 https://github.com/httplib2/httplib2/issues/156
144
145 0.16.0
146
147 IMPORTANT cache invalidation change, fix 307 keep method, add 308 Redirects
148 https://github.com/httplib2/httplib2/issues/151
149
150 proxy: username/password as str compatible with pysocks
151 https://github.com/httplib2/httplib2/issues/154
152
153 0.15.0
154
155 python2: regression in connect() error handling
156 https://github.com/httplib2/httplib2/pull/150
157
158 add support for password protected certificate files
159 https://github.com/httplib2/httplib2/pull/143
160
161 feature: Http.close() to clean persistent connections and sensitive data
162 https://github.com/httplib2/httplib2/pull/149
163
164 0.14.0
165
166 Python3: PROXY_TYPE_SOCKS5 with str user/pass raised TypeError
167 https://github.com/httplib2/httplib2/pull/145
168
169 0.13.1
170
171 Python3: Use no_proxy
172 https://github.com/httplib2/httplib2/pull/140
173
174 0.13.0
175
176 Allow setting TLS max/min versions
177 https://github.com/httplib2/httplib2/pull/138
178
179 0.12.3
180
181 No changes to library. Distribute py3 wheels.
182
183 0.12.1
184
185 Catch socket timeouts and clear dead connection
186 https://github.com/httplib2/httplib2/issues/18
187 https://github.com/httplib2/httplib2/pull/111
188
189 Officially support Python 3.7 (package metadata)
190 https://github.com/httplib2/httplib2/issues/123
191
192 0.12.0
193
194 Drop support for Python 3.3
195
196 ca_certs from environment HTTPLIB2_CA_CERTS or certifi
197 https://github.com/httplib2/httplib2/pull/117
198
199 PROXY_TYPE_HTTP with non-empty user/pass raised TypeError: bytes required
200 https://github.com/httplib2/httplib2/pull/115
201
202 Revert http:443->https workaround
203 https://github.com/httplib2/httplib2/issues/112
204
205 eliminate connection pool read race
206 https://github.com/httplib2/httplib2/pull/110
207
208 cache: stronger safename
209 https://github.com/httplib2/httplib2/pull/101
210
211 0.11.3
212
213 No changes, just reupload of 0.11.2 after fixing automatic release conditions in Travis.
214
215 0.11.2
216
217 proxy: py3 NameError basestring
218 https://github.com/httplib2/httplib2/pull/100
219
220 0.11.1
221
222 Fix HTTP(S)ConnectionWithTimeout AttributeError proxy_info
223 https://github.com/httplib2/httplib2/pull/97
224
225 0.11.0
226
227 Add DigiCert Global Root G2 serial 033af1e6a711a9a0bb2864b11d09fae5
228 https://github.com/httplib2/httplib2/pull/91
229
230 python3 proxy support
231 https://github.com/httplib2/httplib2/pull/90
232
233 If no_proxy environment value ends with comma then proxy is not used
234 https://github.com/httplib2/httplib2/issues/11
235
236 fix UnicodeDecodeError using socks5 proxy
237 https://github.com/httplib2/httplib2/pull/64
238
239 Respect NO_PROXY env var in proxy_info_from_url
240 https://github.com/httplib2/httplib2/pull/58
241
242 NO_PROXY=bar was matching foobar (suffix without dot delimiter)
243 New behavior matches curl/wget:
244 - no_proxy=foo.bar will only skip proxy for exact hostname match
245 - no_proxy=.wild.card will skip proxy for any.subdomains.wild.card
246 https://github.com/httplib2/httplib2/issues/94
247
248 Bugfix for Content-Encoding: deflate
249 https://stackoverflow.com/a/22311297
250
251 0.10.3
252
253 Fix certificate validation on Python<=2.7.8 without ssl.CertificateError
254 https://github.com/httplib2/httplib2/issues/45
255
256 0.10.2
257
258 Just a reupload of 0.10.1, which was broken for Python3
259 because wheel distribution doesn't play well with our 2/3 split code base.
260 https://github.com/httplib2/httplib2/issues/43
261
262 0.10.1
263
264 This is the first release by new httplib2 team. See post by Joe
265 https://bitworking.org/news/2016/03/an_update_on_httplib2
266
267 Remove VeriSign Class 3 CA from trusted certs
268 https://googleonlinesecurity.blogspot.com/2015/12/proactive-measures-in-digital.html
269
270 Add IdenTrust DST Root CA X3
271 https://github.com/httplib2/httplib2/pull/26
272
273 Support for specifying the SSL protocol version (Python v2)
274 https://github.com/jcgregorio/httplib2/issues/329
275
276 On App Engine use urlfetch's default deadline if None is passed.
277
278 Fix TypeError on AppEngine “__init__() got an unexpected keyword argument 'ssl_version’”
279 https://github.com/httplib2/httplib2/pull/12
280
281 Send SNI data for SSL connections on Python 2.7.9+
282 Verify the server hostname if certificate validation is enabled
283 https://github.com/httplib2/httplib2/pull/13
284
285 Add proxy_headers argument to ProxyInfo constructor
286 https://github.com/httplib2/httplib2/pull/21
287
288 Make disable_ssl_certificate_validation work with Python 3.5.
289 https://github.com/httplib2/httplib2/pull/15
290
291 Fix socket error handling
292 https://github.com/httplib2/httplib2/commit/eb7468561714a5b700d5a3d8fa1a8794de02b9ef
293 https://github.com/httplib2/httplib2/commit/e7f6e622047107e701ee70e7ec586717d97b0cbb
294
295 0.9.2
296
297 Fixes in this release:
298
299 https://github.com/jcgregorio/httplib2/pull/313
300
301 Fix incorrect ResponseNotReady exceptions, retry on transient errors.
302
303 0.9.1
304
305 Fixes in this release:
306
307 https://github.com/jcgregorio/httplib2/pull/296
308
309 There was a problem with headers when a binary string is passed (like
310 b'Authorization').
311
312 https://github.com/jcgregorio/httplib2/pull/276
313
314 Default to doing DNS resolution through a proxy server if present.
315
316 0.9
317 Heartbleed
318
319 0.8
320 More fixes for the App Engine support.
321
322 Added a new feature that allows you to supply your own provider for the
323 CA_CERTS file. Just create a module named ca_certs_locater that has a method
324 get() that returns the file location of the CA_CERTS file.
325
326 Lots of clean up of the code formatting to make it more consistent.
327
328 0.7.7
329 More fixes for App Engine, now less likely to swallow important exceptions.
330 Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
331 Added GeoTrust cert
332 Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/
333
334 The following issues have been fixed:
335
336 229 python3 httplib2 clobbers multiple headers of same key
337 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
338 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes
339
340 0.7.6
341 Fixes for App Engine 2.7.
342
343 0.7.5
344 Keys are lowercase in a Response object, regardless of how Response object is constructed.
345 Add control so that Authorization: headers aren't forwarded on a 3xx response by default.
346 Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
347 Fix proxy socks for SSL connections. Fixes issue #199.
348 You can now set httplib2.RETRIES to the number of retries before a request
349 is considered to fail It is set to a default of 2 to mimic the traditional
350 behavior of httplib2.
351
352 The following issues have been addressed:
353
354 223 HEAD requests fail calling the close() method of ResponseDict instance.
355 222 Can't disable cert validation in appengine
356 204 Credentials can leak in HTTP redirects
357 210 Different API between Python 2 and Python 3 version breaks wsgi_intercept
358 214 ValueError on malformated cache entries
359 204 Credentials can leak in HTTP redirects
360
361
362 0.7.3
363 ProxyInfo objects now can construct themselves from environment
364 variables commonly-used in Unix environments. By default, the Http
365 class will construct a ProxyInfo instance based on these environment
366 variables. To achieve the previous behavior, where environment
367 variables are ignored, pass proxy_info=None to Http().
368
369 The following issues have been addressed:
370
371 Issue 159: automatic detection of proxy configuration.
372 Issue 179: Allow unicode in proxy hostname.
373 Issue 194: Added support for setuptools.
374 Fixes for HTTP CONNECT proxies.
375
376 0.7.1
377 Fix failure to install cacerts.txt for 2.x installs.
378
379 0.7.0
380 The two major changes in this release are SSL Certificate
381 checking and App Engine support. By default the certificates
382 of an HTTPS connection are checked, but that can be disabled
383 via disable_ssl_certificate_validation. The second change
384 is that on App Engine there is a new connection object
385 that utilizes the urlfetch capabilities on App Engine, including
386 setting timeouts and validating certificates.
387
388 The following issues have been addressed:
389
390 Fixes issue 72. Always lowercase authorization header.
391 Fix issue 47. Redirects that become a GET should not have a body.
392 Fixes issue 19. Set Content-location on redirected HEAD requests
393 Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
394 Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
395 Add certificate validation. Work initially started by Christoph Kern.
396 Set a version number. Fixes issue # 135.
397 Sync to latest version of socks.py
398 Add gzip to the user-agent, in case we are making a request to an app engine project: http://code.google.com/appengine/kb/general.html#compression
399 Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
400 Add default support for optimistic concurrency on PATCH requests
401 Fixes issue 126. IPv6 under various conditions would fail.
402 Fixes issue 131. Handle socket.timeout's that occur during send.
403 proxy support: degrade gracefully when socket.socket is unavailable
404
405
406 0.6.0
407
408 The following issues have been addressed:
409
410 #51 - Failure to handle server legitimately closing connection before request body is fully sent
411 #77 - Duplicated caching test
412 #65 - Transform _normalize_headers into a method of Http class
413 #45 - Vary header
414 #73 - All files in Mercurial are executable
415 #81 - Have a useful .hgignore
416 #78 - Add release tags to the Mercurial repository
417 #67 - HEAD requests cause next request to be retried
418
419 Mostly bug fixes, the big enhancement is the addition of proper Vary: header
420 handling. Thanks to Chris Dent for that change.
421
422 The other big change is the build process for distributions so that both python2 and python3
423 are included in the same .tar.gz/.zip file.
424
425 0.5.0
426
427 Added Python 3 support
428
429 Fixed the following bugs:
430
431 #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
432 #39 - Deprecation warnings in Python 2.6
433 #54 - Http.request fails accessing Google account via http proxy
434 #56 - Block on response.read() for HEAD requests.
435 #57 - Timeout ignore for Python 2.6
436 #58 - Fixed parsing of Cache-Control: header to make it more robust
437
438 Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
439
440 0.4.0
441
442 Added support for proxies if the Socksipy module is installed.
443
444 Fixed bug with some HEAD responses having content-length set to
445 zero incorrectly.
446
447 Fixed most except's to catch a specific exception.
448
449 Added 'connection_type' parameter to Http.request().
450
451 The default for 'force_exception_to_status_code' was changed to False. Defaulting
452 to True was causing quite a bit of confusion.
453
454
455 0.3.0
456 Calling Http.request() with a relative URI, as opposed to an absolute URI,
457 will now throw a specific exception.
458
459 Http() now has an additional optional parameter for the socket timeout.
460
461 Exceptions can now be forced into responses. That is, instead of
462 throwing an exception, a good httlib2.Response object is returned
463 that describe the error with an appropriate status code.
464
465 Many improvements to the file cache:
466
467 1. The names in the cache are now much less
468 opaque, which should help with debugging.
469
470 2. The disk cache is now Apache mod_asis compatible.
471
472 3. A Content-Location: header is supplied and stored in the
473 cache which points to the original requested URI.
474
475 User supplied If-* headers now override httplib2 supplied
476 versions.
477
478 IRIs are now fully supported. Note that they MUST be passed in
479 as unicode objects.
480
481 Http.add_credentials() now takes an optional domain to restrict
482 the credentials to being only used on that domain.
483
484 Added Http.add_certificate() which allows setting
485 a key and cert for SSL connections.
486
487 Many other bugs fixed.
488
489
490 0.2.0
491 Added support for Google Auth.
492
493 Added experimental support for HMACDigest.
494
495 Added support for a pluggable caching system. Now supports
496 the old system of using the file system and now memcached.
497
498 Added httplib2.debuglevel which turns on debugging.
499
500 Change Response._previous to Response.previous.
501
502 Added Http.follow_all_redirects which forces
503 httplib2 to follow all redirects, as opposed to
504 following only the safe redirects. This makes the
505 GData protocol easier to use.
506
507 All known bugs fixed to date.
508
509 0.1.1
510
511 Fixed several bugs raised by James Antill:
512 1. HEAD didn't get an Accept: header added like GET.
513 2. HEAD requests did not use the cache.
514 3. GET requests with Range: headers would erroneously return a full cached response.
515 4. Subsequent requests to resources that had timed out would raise an exception.
516 And one feature request for 'method' to default to GET.
517
518 Xavier Verges Farrero supplied what I needed to make the
519 library work with Python 2.3.
520
521 I added distutils based setup.py.
522
523 0.1 Rev 86
524
525 Initial Release
526