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