CHANGELOG 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. 0.20.4
  2. proxy: support proxy urls with ipv6 address
  3. https://github.com/httplib2/httplib2/pull/217
  4. 0.20.3
  5. No changes in library. Tests compatible with Python3.10 and recent pytest.
  6. 0.20.2
  7. auth: support pyparsing v3 (AttributeError downcaseTokens)
  8. https://github.com/httplib2/httplib2/issues/207
  9. proxy: correct extraction of errno from pysocks ProxyConnectionError
  10. https://github.com/httplib2/httplib2/pull/202
  11. 0.20.1
  12. No changes from 0.20.0, re-upload of broken py2 wheel.
  13. 0.20.0
  14. IMPORTANT cacerts: remove expired DST Root CA X3, add ISRG Root X1, X2
  15. https://github.com/httplib2/httplib2/pull/200
  16. https://github.com/httplib2/httplib2/issues/203
  17. tls: accept min/max ssl.TLSVersion enum values
  18. https://github.com/httplib2/httplib2/pull/191
  19. setup(python_requires=...) may need setuptools update
  20. https://github.com/httplib2/httplib2/pull/195
  21. 0.19.1
  22. auth header parsing performance optimizations; Thanks to Paul McGuire
  23. Use mock from the standard library on Python>=3.3
  24. 0.19.0
  25. auth: parse headers using pyparsing instead of regexp
  26. https://github.com/httplib2/httplib2/pull/182
  27. auth: WSSE token needs to be string not bytes
  28. https://github.com/httplib2/httplib2/pull/179
  29. 0.18.1
  30. explicit build-backend workaround for pip build isolation bug
  31. "AttributeError: 'module' object has no attribute '__legacy__'" on pip install
  32. https://github.com/httplib2/httplib2/issues/169
  33. 0.18.0
  34. IMPORTANT security vulnerability CWE-93 CRLF injection
  35. Force %xx quote of space, CR, LF characters in uri.
  36. Special thanks to Recar https://github.com/Ciyfly for discrete notification.
  37. https://cwe.mitre.org/data/definitions/93.html
  38. 0.17.4
  39. Ship test suite in source dist
  40. https://github.com/httplib2/httplib2/pull/168
  41. 0.17.3
  42. IronPython2.7: relative import iri2uri fixes ImportError
  43. https://github.com/httplib2/httplib2/pull/163
  44. 0.17.2
  45. python3 + debug + IPv6 disabled: https raised
  46. "IndexError: Replacement index 1 out of range for positional args tuple"
  47. https://github.com/httplib2/httplib2/issues/161
  48. 0.17.1
  49. python3: no_proxy was not checked with https
  50. https://github.com/httplib2/httplib2/issues/160
  51. 0.17.0
  52. feature: Http().redirect_codes set, works after follow(_all)_redirects check
  53. This allows one line workaround for old gcloud library that uses 308
  54. response without redirect semantics.
  55. https://github.com/httplib2/httplib2/issues/156
  56. 0.16.0
  57. IMPORTANT cache invalidation change, fix 307 keep method, add 308 Redirects
  58. https://github.com/httplib2/httplib2/issues/151
  59. proxy: username/password as str compatible with pysocks
  60. https://github.com/httplib2/httplib2/issues/154
  61. 0.15.0
  62. python2: regression in connect() error handling
  63. https://github.com/httplib2/httplib2/pull/150
  64. add support for password protected certificate files
  65. https://github.com/httplib2/httplib2/pull/143
  66. feature: Http.close() to clean persistent connections and sensitive data
  67. https://github.com/httplib2/httplib2/pull/149
  68. 0.14.0
  69. Python3: PROXY_TYPE_SOCKS5 with str user/pass raised TypeError
  70. https://github.com/httplib2/httplib2/pull/145
  71. 0.13.1
  72. Python3: Use no_proxy
  73. https://github.com/httplib2/httplib2/pull/140
  74. 0.13.0
  75. Allow setting TLS max/min versions
  76. https://github.com/httplib2/httplib2/pull/138
  77. 0.12.3
  78. No changes to library. Distribute py3 wheels.
  79. 0.12.1
  80. Catch socket timeouts and clear dead connection
  81. https://github.com/httplib2/httplib2/issues/18
  82. https://github.com/httplib2/httplib2/pull/111
  83. Officially support Python 3.7 (package metadata)
  84. https://github.com/httplib2/httplib2/issues/123
  85. 0.12.0
  86. Drop support for Python 3.3
  87. ca_certs from environment HTTPLIB2_CA_CERTS or certifi
  88. https://github.com/httplib2/httplib2/pull/117
  89. PROXY_TYPE_HTTP with non-empty user/pass raised TypeError: bytes required
  90. https://github.com/httplib2/httplib2/pull/115
  91. Revert http:443->https workaround
  92. https://github.com/httplib2/httplib2/issues/112
  93. eliminate connection pool read race
  94. https://github.com/httplib2/httplib2/pull/110
  95. cache: stronger safename
  96. https://github.com/httplib2/httplib2/pull/101
  97. 0.11.3
  98. No changes, just reupload of 0.11.2 after fixing automatic release conditions in Travis.
  99. 0.11.2
  100. proxy: py3 NameError basestring
  101. https://github.com/httplib2/httplib2/pull/100
  102. 0.11.1
  103. Fix HTTP(S)ConnectionWithTimeout AttributeError proxy_info
  104. https://github.com/httplib2/httplib2/pull/97
  105. 0.11.0
  106. Add DigiCert Global Root G2 serial 033af1e6a711a9a0bb2864b11d09fae5
  107. https://github.com/httplib2/httplib2/pull/91
  108. python3 proxy support
  109. https://github.com/httplib2/httplib2/pull/90
  110. If no_proxy environment value ends with comma then proxy is not used
  111. https://github.com/httplib2/httplib2/issues/11
  112. fix UnicodeDecodeError using socks5 proxy
  113. https://github.com/httplib2/httplib2/pull/64
  114. Respect NO_PROXY env var in proxy_info_from_url
  115. https://github.com/httplib2/httplib2/pull/58
  116. NO_PROXY=bar was matching foobar (suffix without dot delimiter)
  117. New behavior matches curl/wget:
  118. - no_proxy=foo.bar will only skip proxy for exact hostname match
  119. - no_proxy=.wild.card will skip proxy for any.subdomains.wild.card
  120. https://github.com/httplib2/httplib2/issues/94
  121. Bugfix for Content-Encoding: deflate
  122. https://stackoverflow.com/a/22311297
  123. 0.10.3
  124. Fix certificate validation on Python<=2.7.8 without ssl.CertificateError
  125. https://github.com/httplib2/httplib2/issues/45
  126. 0.10.2
  127. Just a reupload of 0.10.1, which was broken for Python3
  128. because wheel distribution doesn't play well with our 2/3 split code base.
  129. https://github.com/httplib2/httplib2/issues/43
  130. 0.10.1
  131. This is the first release by new httplib2 team. See post by Joe
  132. https://bitworking.org/news/2016/03/an_update_on_httplib2
  133. Remove VeriSign Class 3 CA from trusted certs
  134. https://googleonlinesecurity.blogspot.com/2015/12/proactive-measures-in-digital.html
  135. Add IdenTrust DST Root CA X3
  136. https://github.com/httplib2/httplib2/pull/26
  137. Support for specifying the SSL protocol version (Python v2)
  138. https://github.com/jcgregorio/httplib2/issues/329
  139. On App Engine use urlfetch's default deadline if None is passed.
  140. Fix TypeError on AppEngine “__init__() got an unexpected keyword argument 'ssl_version’”
  141. https://github.com/httplib2/httplib2/pull/12
  142. Send SNI data for SSL connections on Python 2.7.9+
  143. Verify the server hostname if certificate validation is enabled
  144. https://github.com/httplib2/httplib2/pull/13
  145. Add proxy_headers argument to ProxyInfo constructor
  146. https://github.com/httplib2/httplib2/pull/21
  147. Make disable_ssl_certificate_validation work with Python 3.5.
  148. https://github.com/httplib2/httplib2/pull/15
  149. Fix socket error handling
  150. https://github.com/httplib2/httplib2/commit/eb7468561714a5b700d5a3d8fa1a8794de02b9ef
  151. https://github.com/httplib2/httplib2/commit/e7f6e622047107e701ee70e7ec586717d97b0cbb
  152. 0.9.2
  153. Fixes in this release:
  154. https://github.com/jcgregorio/httplib2/pull/313
  155. Fix incorrect ResponseNotReady exceptions, retry on transient errors.
  156. 0.9.1
  157. Fixes in this release:
  158. https://github.com/jcgregorio/httplib2/pull/296
  159. There was a problem with headers when a binary string is passed (like
  160. b'Authorization').
  161. https://github.com/jcgregorio/httplib2/pull/276
  162. Default to doing DNS resolution through a proxy server if present.
  163. 0.9
  164. Heartbleed
  165. 0.8
  166. More fixes for the App Engine support.
  167. Added a new feature that allows you to supply your own provider for the
  168. CA_CERTS file. Just create a module named ca_certs_locater that has a method
  169. get() that returns the file location of the CA_CERTS file.
  170. Lots of clean up of the code formatting to make it more consistent.
  171. 0.7.7
  172. More fixes for App Engine, now less likely to swallow important exceptions.
  173. Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
  174. Added GeoTrust cert
  175. Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/
  176. The following issues have been fixed:
  177. 229 python3 httplib2 clobbers multiple headers of same key
  178. 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
  179. 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes
  180. 0.7.6
  181. Fixes for App Engine 2.7.
  182. 0.7.5
  183. Keys are lowercase in a Response object, regardless of how Response object is constructed.
  184. Add control so that Authorization: headers aren't forwarded on a 3xx response by default.
  185. Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
  186. Fix proxy socks for SSL connections. Fixes issue #199.
  187. You can now set httplib2.RETRIES to the number of retries before a request
  188. is considered to fail It is set to a default of 2 to mimic the traditional
  189. behavior of httplib2.
  190. The following issues have been addressed:
  191. 223 HEAD requests fail calling the close() method of ResponseDict instance.
  192. 222 Can't disable cert validation in appengine
  193. 204 Credentials can leak in HTTP redirects
  194. 210 Different API between Python 2 and Python 3 version breaks wsgi_intercept
  195. 214 ValueError on malformated cache entries
  196. 204 Credentials can leak in HTTP redirects
  197. 0.7.3
  198. ProxyInfo objects now can construct themselves from environment
  199. variables commonly-used in Unix environments. By default, the Http
  200. class will construct a ProxyInfo instance based on these environment
  201. variables. To achieve the previous behavior, where environment
  202. variables are ignored, pass proxy_info=None to Http().
  203. The following issues have been addressed:
  204. Issue 159: automatic detection of proxy configuration.
  205. Issue 179: Allow unicode in proxy hostname.
  206. Issue 194: Added support for setuptools.
  207. Fixes for HTTP CONNECT proxies.
  208. 0.7.1
  209. Fix failure to install cacerts.txt for 2.x installs.
  210. 0.7.0
  211. The two major changes in this release are SSL Certificate
  212. checking and App Engine support. By default the certificates
  213. of an HTTPS connection are checked, but that can be disabled
  214. via disable_ssl_certificate_validation. The second change
  215. is that on App Engine there is a new connection object
  216. that utilizes the urlfetch capabilities on App Engine, including
  217. setting timeouts and validating certificates.
  218. The following issues have been addressed:
  219. Fixes issue 72. Always lowercase authorization header.
  220. Fix issue 47. Redirects that become a GET should not have a body.
  221. Fixes issue 19. Set Content-location on redirected HEAD requests
  222. Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
  223. Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
  224. Add certificate validation. Work initially started by Christoph Kern.
  225. Set a version number. Fixes issue # 135.
  226. Sync to latest version of socks.py
  227. 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
  228. Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
  229. Add default support for optimistic concurrency on PATCH requests
  230. Fixes issue 126. IPv6 under various conditions would fail.
  231. Fixes issue 131. Handle socket.timeout's that occur during send.
  232. proxy support: degrade gracefully when socket.socket is unavailable
  233. 0.6.0
  234. The following issues have been addressed:
  235. #51 - Failure to handle server legitimately closing connection before request body is fully sent
  236. #77 - Duplicated caching test
  237. #65 - Transform _normalize_headers into a method of Http class
  238. #45 - Vary header
  239. #73 - All files in Mercurial are executable
  240. #81 - Have a useful .hgignore
  241. #78 - Add release tags to the Mercurial repository
  242. #67 - HEAD requests cause next request to be retried
  243. Mostly bug fixes, the big enhancement is the addition of proper Vary: header
  244. handling. Thanks to Chris Dent for that change.
  245. The other big change is the build process for distributions so that both python2 and python3
  246. are included in the same .tar.gz/.zip file.
  247. 0.5.0
  248. Added Python 3 support
  249. Fixed the following bugs:
  250. #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
  251. #39 - Deprecation warnings in Python 2.6
  252. #54 - Http.request fails accessing Google account via http proxy
  253. #56 - Block on response.read() for HEAD requests.
  254. #57 - Timeout ignore for Python 2.6
  255. #58 - Fixed parsing of Cache-Control: header to make it more robust
  256. Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
  257. 0.4.0
  258. Added support for proxies if the Socksipy module is installed.
  259. Fixed bug with some HEAD responses having content-length set to
  260. zero incorrectly.
  261. Fixed most except's to catch a specific exception.
  262. Added 'connection_type' parameter to Http.request().
  263. The default for 'force_exception_to_status_code' was changed to False. Defaulting
  264. to True was causing quite a bit of confusion.
  265. 0.3.0
  266. Calling Http.request() with a relative URI, as opposed to an absolute URI,
  267. will now throw a specific exception.
  268. Http() now has an additional optional parameter for the socket timeout.
  269. Exceptions can now be forced into responses. That is, instead of
  270. throwing an exception, a good httlib2.Response object is returned
  271. that describe the error with an appropriate status code.
  272. Many improvements to the file cache:
  273. 1. The names in the cache are now much less
  274. opaque, which should help with debugging.
  275. 2. The disk cache is now Apache mod_asis compatible.
  276. 3. A Content-Location: header is supplied and stored in the
  277. cache which points to the original requested URI.
  278. User supplied If-* headers now override httplib2 supplied
  279. versions.
  280. IRIs are now fully supported. Note that they MUST be passed in
  281. as unicode objects.
  282. Http.add_credentials() now takes an optional domain to restrict
  283. the credentials to being only used on that domain.
  284. Added Http.add_certificate() which allows setting
  285. a key and cert for SSL connections.
  286. Many other bugs fixed.
  287. 0.2.0
  288. Added support for Google Auth.
  289. Added experimental support for HMACDigest.
  290. Added support for a pluggable caching system. Now supports
  291. the old system of using the file system and now memcached.
  292. Added httplib2.debuglevel which turns on debugging.
  293. Change Response._previous to Response.previous.
  294. Added Http.follow_all_redirects which forces
  295. httplib2 to follow all redirects, as opposed to
  296. following only the safe redirects. This makes the
  297. GData protocol easier to use.
  298. All known bugs fixed to date.
  299. 0.1.1
  300. Fixed several bugs raised by James Antill:
  301. 1. HEAD didn't get an Accept: header added like GET.
  302. 2. HEAD requests did not use the cache.
  303. 3. GET requests with Range: headers would erroneously return a full cached response.
  304. 4. Subsequent requests to resources that had timed out would raise an exception.
  305. And one feature request for 'method' to default to GET.
  306. Xavier Verges Farrero supplied what I needed to make the
  307. library work with Python 2.3.
  308. I added distutils based setup.py.
  309. 0.1 Rev 86
  310. Initial Release