blob: 34daf9e225052bdc550132dae7e6cc6987bbc56b [file] [log] [blame]
Sergey Shepelev7b54fbb2017-02-04 00:09:28 +030010.10.2
2
3 Just a reupload of 0.10.1, which was broken for Python3
4 because wheel distribution doesn't play well with our 2/3 split code base.
5 https://github.com/httplib2/httplib2/issues/43
6
Sergey Shepelev46233772017-02-03 22:09:29 +030070.10.1
8
9 This is the first release by new httplib2 team. See post by Joe
10 https://bitworking.org/news/2016/03/an_update_on_httplib2
11
12 Remove VeriSign Class 3 CA from trusted certs
13 https://googleonlinesecurity.blogspot.com/2015/12/proactive-measures-in-digital.html
14
15 Add IdenTrust DST Root CA X3
16 https://github.com/httplib2/httplib2/pull/26
17
18 Support for specifying the SSL protocol version (Python v2)
19 https://github.com/jcgregorio/httplib2/issues/329
20
21 On App Engine use urlfetch's default deadline if None is passed.
22
23 Fix TypeError on AppEngine __init__() got an unexpected keyword argument 'ssl_version’”
24 https://github.com/httplib2/httplib2/pull/12
25
26 Send SNI data for SSL connections on Python 2.7.9+
27 Verify the server hostname if certificate validation is enabled
28 https://github.com/httplib2/httplib2/pull/13
29
30 Add proxy_headers argument to ProxyInfo constructor
31 https://github.com/httplib2/httplib2/pull/21
32
33 Make disable_ssl_certificate_validation work with Python 3.5.
34 https://github.com/httplib2/httplib2/pull/15
35
36 Fix socket error handling
37 https://github.com/httplib2/httplib2/commit/eb7468561714a5b700d5a3d8fa1a8794de02b9ef
38 https://github.com/httplib2/httplib2/commit/e7f6e622047107e701ee70e7ec586717d97b0cbb
39
Joe Gregoriocf631a72015-09-28 09:49:57 -0400400.9.2
41
42 Fixes in this release:
43
44 https://github.com/jcgregorio/httplib2/pull/313
45
46 Fix incorrect ResponseNotReady exceptions, retry on transient errors.
47
Joe Gregorio1af76a62015-04-09 10:10:39 -0400480.9.1
49
Joe Gregoriof9f79722015-04-11 09:50:15 -040050 Fixes in this release:
51
52 https://github.com/jcgregorio/httplib2/pull/296
53
54 There was a problem with headers when a binary string is passed (like
55 b'Authorization').
56
57 https://github.com/jcgregorio/httplib2/pull/276
58
59 Default to doing DNS resolution through a proxy server if present.
60
Joe Gregorio1af76a62015-04-09 10:10:39 -0400610.9
62 Heartbleed
63
Joe Gregorioee9ee3c2013-03-06 15:31:15 -0500640.8
65 More fixes for the App Engine support.
66
67 Added a new feature that allows you to supply your own provider for the
68 CA_CERTS file. Just create a module named ca_certs_locater that has a method
69 get() that returns the file location of the CA_CERTS file.
70
71 Lots of clean up of the code formatting to make it more consistent.
72
Joe Gregorio76420172012-11-12 14:02:58 -0500730.7.7
74 More fixes for App Engine, now less likely to swallow important exceptions.
75 Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
76 Added GeoTrust cert
77 Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/
78
79 The following issues have been fixed:
80
81 229 python3 httplib2 clobbers multiple headers of same key
82 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
83 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes
84
Joe Gregorioa91406d2012-09-11 13:20:44 -0400850.7.6
86 Fixes for App Engine 2.7.
87
Joe Gregorioed72cba2012-08-28 12:19:28 -0400880.7.5
89 Keys are lowercase in a Response object, regardless of how Response object is constructed.
90 Add control so that Authorization: headers aren't forwarded on a 3xx response by default.
91 Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
92 Fix proxy socks for SSL connections. Fixes issue #199.
93 You can now set httplib2.RETRIES to the number of retries before a request
94 is considered to fail It is set to a default of 2 to mimic the traditional
95 behavior of httplib2.
96
97 The following issues have been addressed:
98
99 223 HEAD requests fail calling the close() method of ResponseDict instance.
100 222 Can't disable cert validation in appengine
101 204 Credentials can leak in HTTP redirects
102 210 Different API between Python 2 and Python 3 version breaks wsgi_intercept
103 214 ValueError on malformated cache entries
104 204 Credentials can leak in HTTP redirects
105
106
Joe Gregoriob850bd02012-03-02 08:37:22 -08001070.7.3
Jason R. Coombs43840892011-08-09 10:30:46 -0400108 ProxyInfo objects now can construct themselves from environment
109 variables commonly-used in Unix environments. By default, the Http
110 class will construct a ProxyInfo instance based on these environment
111 variables. To achieve the previous behavior, where environment
112 variables are ignored, pass proxy_info=None to Http().
113
114 The following issues have been addressed:
115
116 Issue 159: automatic detection of proxy configuration.
Joe Gregoriob850bd02012-03-02 08:37:22 -0800117 Issue 179: Allow unicode in proxy hostname.
118 Issue 194: Added support for setuptools.
119 Fixes for HTTP CONNECT proxies.
Jason R. Coombs43840892011-08-09 10:30:46 -0400120
Joe Gregoriob2cfdf62011-06-16 10:11:13 -04001210.7.1
122 Fix failure to install cacerts.txt for 2.x installs.
123
Joe Gregoriob0c82ca2011-06-13 15:13:11 -04001240.7.0
125 The two major changes in this release are SSL Certificate
126 checking and App Engine support. By default the certificates
127 of an HTTPS connection are checked, but that can be disabled
128 via disable_ssl_certificate_validation. The second change
129 is that on App Engine there is a new connection object
130 that utilizes the urlfetch capabilities on App Engine, including
131 setting timeouts and validating certificates.
132
133 The following issues have been addressed:
134
135 Fixes issue 72. Always lowercase authorization header.
136 Fix issue 47. Redirects that become a GET should not have a body.
137 Fixes issue 19. Set Content-location on redirected HEAD requests
Jason R. Coombs43840892011-08-09 10:30:46 -0400138 Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
139 Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
Joe Gregoriob0c82ca2011-06-13 15:13:11 -0400140 Add certificate validation. Work initially started by Christoph Kern.
141 Set a version number. Fixes issue # 135.
142 Sync to latest version of socks.py
143 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
144 Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
145 Add default support for optimistic concurrency on PATCH requests
146 Fixes issue 126. IPv6 under various conditions would fail.
147 Fixes issue 131. Handle socket.timeout's that occur during send.
148 proxy support: degrade gracefully when socket.socket is unavailable
149
150
Joe Gregoriof3116552009-12-28 13:02:42 -05001510.6.0
152
153 The following issues have been addressed:
154
Jason R. Coombs43840892011-08-09 10:30:46 -0400155 #51 - Failure to handle server legitimately closing connection before request body is fully sent
156 #77 - Duplicated caching test
Joe Gregoriof3116552009-12-28 13:02:42 -0500157 #65 - Transform _normalize_headers into a method of Http class
Jason R. Coombs43840892011-08-09 10:30:46 -0400158 #45 - Vary header
159 #73 - All files in Mercurial are executable
160 #81 - Have a useful .hgignore
161 #78 - Add release tags to the Mercurial repository
162 #67 - HEAD requests cause next request to be retried
Joe Gregoriof3116552009-12-28 13:02:42 -0500163
164 Mostly bug fixes, the big enhancement is the addition of proper Vary: header
165 handling. Thanks to Chris Dent for that change.
166
167 The other big change is the build process for distributions so that both python2 and python3
168 are included in the same .tar.gz/.zip file.
169
Joe Gregorio66611ff2009-07-19 01:32:17 -04001700.5.0
171
172 Added Python 3 support
173
174 Fixed the following bugs:
175
Jason R. Coombs43840892011-08-09 10:30:46 -0400176 #12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
Joe Gregorio66611ff2009-07-19 01:32:17 -0400177 #39 - Deprecation warnings in Python 2.6
Joe Gregorio891439e2009-07-28 10:52:36 -0400178 #54 - Http.request fails accesing Google account via http proxy
Joe Gregorio66611ff2009-07-19 01:32:17 -0400179 #56 - Block on response.read() for HEAD requests.
180 #57 - Timeout ignore for Python 2.6
181 #58 - Fixed parsing of Cache-Control: header to make it more robust
182
Joe Gregorio891439e2009-07-28 10:52:36 -0400183 Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.
Joe Gregorio66611ff2009-07-19 01:32:17 -0400184
joe.gregorio5fcc1992007-10-23 15:12:17 +00001850.4.0
jcgregorio14644372007-07-30 14:13:37 +0000186
joe.gregorio5fcc1992007-10-23 15:12:17 +0000187 Added support for proxies if the Socksipy module is installed.
188
Jason R. Coombs43840892011-08-09 10:30:46 -0400189 Fixed bug with some HEAD responses having content-length set to
joe.gregorio5fcc1992007-10-23 15:12:17 +0000190 zero incorrectly.
191
192 Fixed most except's to catch a specific exception.
jcgregorio14644372007-07-30 14:13:37 +0000193
194 Added 'connection_type' parameter to Http.request().
Jason R. Coombs43840892011-08-09 10:30:46 -0400195
joe.gregorio5fcc1992007-10-23 15:12:17 +0000196 The default for 'force_exception_to_status_code' was changed to False. Defaulting
197 to True was causing quite a bit of confusion.
jcgregorio14644372007-07-30 14:13:37 +0000198
199
jcgregorio463a8db2007-03-09 03:27:14 +00002000.3.0
201 Calling Http.request() with a relative URI, as opposed to an absolute URI,
202 will now throw a specific exception.
203
204 Http() now has an additional optional parameter for the socket timeout.
205
206 Exceptions can now be forced into responses. That is, instead of
207 throwing an exception, a good httlib2.Response object is returned
208 that describe the error with an appropriate status code.
209
210 Many improvements to the file cache:
211
Jason R. Coombs43840892011-08-09 10:30:46 -0400212 1. The names in the cache are now much less
jcgregorio463a8db2007-03-09 03:27:14 +0000213 opaque, which should help with debugging.
214
Jason R. Coombs43840892011-08-09 10:30:46 -0400215 2. The disk cache is now Apache mod_asis compatible.
216
jcgregorio463a8db2007-03-09 03:27:14 +0000217 3. A Content-Location: header is supplied and stored in the
218 cache which points to the original requested URI.
219
220 User supplied If-* headers now override httplib2 supplied
221 versions.
222
223 IRIs are now fully supported. Note that they MUST be passed in
224 as unicode objects.
225
226 Http.add_credentials() now takes an optional domain to restrict
227 the credentials to being only used on that domain.
228
Jason R. Coombs43840892011-08-09 10:30:46 -0400229 Added Http.add_certificate() which allows setting
jcgregorio463a8db2007-03-09 03:27:14 +0000230 a key and cert for SSL connnections.
231
232 Many other bugs fixed.
233
234
jcgregorioa0713ab2006-07-01 05:21:34 +00002350.2.0
236 Added support for Google Auth.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000237
Jason R. Coombs43840892011-08-09 10:30:46 -0400238 Added experimental support for HMACDigest.
jcgregorioa0713ab2006-07-01 05:21:34 +0000239
jcgregorio92088922006-07-01 05:53:21 +0000240 Added support for a pluggable caching system. Now supports
241 the old system of using the file system and now memcached.
242
Jason R. Coombs43840892011-08-09 10:30:46 -0400243 Added httplib2.debuglevel which turns on debugging.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000244
jcgregorio92088922006-07-01 05:53:21 +0000245 Change Response._previous to Response.previous.
246
247 Addded Http.follow_all_redirects which forces
Jason R. Coombs43840892011-08-09 10:30:46 -0400248 httplib2 to follow all redirects, as opposed to
jcgregorio92088922006-07-01 05:53:21 +0000249 following only the safe redirects. This makes the
250 GData protocol easier to use.
251
252 All known bugs fixed to date.
253
jcgregorio8421f272006-02-14 18:19:51 +00002540.1.1
jcgregorio2d66d4f2006-02-07 05:34:14 +0000255
jcgregorio4177ca12006-02-16 10:50:58 +0000256 Fixed several bugs raised by James Antill:
jcgregorio2d66d4f2006-02-07 05:34:14 +0000257 1. HEAD didn't get an Accept: header added like GET.
258 2. HEAD requests did not use the cache.
259 3. GET requests with Range: headers would erroneously return a full cached response.
jcgregorio8421f272006-02-14 18:19:51 +0000260 4. Subsequent requests to resources that had timed out would raise an exception.
jcgregorio2d66d4f2006-02-07 05:34:14 +0000261 And one feature request for 'method' to default to GET.
262
Jason R. Coombs43840892011-08-09 10:30:46 -0400263 Xavier Verges Farrero supplied what I needed to make the
jcgregorio4177ca12006-02-16 10:50:58 +0000264 library work with Python 2.3.
jcgregorio8421f272006-02-14 18:19:51 +0000265
jcgregorio1eed40f2006-02-15 18:56:46 +0000266 I added distutils based setup.py.
267
Jason R. Coombs43840892011-08-09 10:30:46 -04002680.1 Rev 86
269
jcgregorio2d66d4f2006-02-07 05:34:14 +0000270 Initial Release
271