blob: 6412be6e98c419fa1ab318ccb6422e6a314b140b [file] [log] [blame]
Thea Flowers081d2a32018-06-01 10:22:59 -07001v1.7.1
2 Version 1.7.1
3
4 Bugfix release
5
6 - Remove unnecessary check in setup.py (#518).
7
Thea Flowersa737c752018-05-31 16:04:34 -07008v1.7.0
9 Version 1.7.0
10
11 This release drops the hard requirement on oauth2client and installs
12 google-auth by default instead. oauth2client is still supported but will
13 need to be explicitly installed.
14
15 - Drop oauth2client dependency (#499)
16 - Include tests in source distribution (#514)
17
Jon Wayne Parrott504a6e52018-04-27 13:58:27 -070018v1.6.7
19 Version 1.6.7
20
21 Bugfix release
22
23 **Note**: The next release of this library will no longer directly depend on
24 oauth2client. If you need to use oauth2client, you'll need to explicitly
25 install it.
26
27 - Make body optional for requests with no parameters. (#446)
28 - Fix retying on socket.timeout. (#495)
29 - Match travis matrix with tox testenv. (#498)
30 - Remove oauth2client._helpers dependency. (#493)
31 - Remove unused keyring test dependency. (#496)
32 - discovery.py: remove unused oauth2client import. (#492)
33 - Update README to reference GCP API client libraries. (#490)
34
Jon Wayne Parrott9cdb2e22018-03-28 13:09:46 -070035v1.6.6
36 Version 1.6.6
37
38 Bugfix release
39
40 - Warn when constructing BatchHttpRequest using the legacy batch URI (#488)
41 - Increase the default media chunksize to 100MB. (#482)
42 - Remove unnecessary parsing of mime headers in HttpRequest.__init__ (#467)
43
Jon Wayne Parrott64367412018-01-18 09:38:27 -080044v1.6.5
45 Version 1.6.5
46
47 Bugfix release
48
49 - Proactively refresh credentials when applying and treat a missing
50 `access_token` as invalid. Note: This change reveals surprising behavior
51 between default credentials and batches. If you allow
52 `googleapiclient.discovery.build` to use default credentials *and* specify
53 different credentials by providing `batch.execut()` with an explicit `http`
54 argument, your individual requests will use the default credentials and
55 *not* the credentials specified to the batch http. To avoid this, tell
56 `build` explicitly not to use default credentials by specifying
57 `build(..., http=httplib2.Http()`. (#469)
58 - Remove mutual exclusivity check for developerKey and credentials (#465)
59 - Handle unknown media length. (#406)
60 - Handle variant error format gracefully. (#459)
61 - Avoid testing against Django >= 2.0.0 on Python 2. (#460)
62
Jon Wayne Parrottaf676692017-09-20 08:53:28 -070063v1.6.4
64 Version 1.6.4
65
66 Bugfix release
67
68 - Warn when google-auth credentials are used but google-auth-httplib2 isn't available. (#443)
69
Jon Wayne Parrottb63a71d2017-08-29 09:15:16 -070070v1.6.3
71 Version 1.6.3
72
73 Bugfix release
74
75 - Add notification of maintenance mode to README. (#410)
76 - Fix generation of methods with abnormal page token conventions. (#338)
77 - Raise ValueError is credentials and developerKey are both specified. (#358)
78 - Re-generate documentation. (#364, #373, #401)
79 - Fix method signature documentation for multiline required parameters. (#374)
80 - Fix ZeroDivisionError in MediaDownloadProgress.progress. (#377)
81 - Fix dead link to WebTest in README. (#378)
82 - Fix details missing in googleapiclient.errors.HttpError. (#412)
83 - Don't treat httplib2.Credentials as oauth credentials. (#425)
84 - Various fixes to the Django sample. (#413)
85
Jon Wayne Parrottafe134b2017-02-08 10:20:57 -080086v1.6.2
87 Version 1.6.2
88
89 Bugfix release
90
91 - Fixed a bug where application default credentials would still be used even
92 when a developerKey was specified. (#347)
93 - Official support for Python 3.5 and 3.6. (#341)
94
Jon Wayne Parrott811d5702017-01-11 14:45:20 -080095v1.6.1
96 Version 1.6.1
97
98 Bugfix release
99
100 - Fixed a bug where using google-auth with scoped credentials would fail. (#328)
101
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800102v1.6.0
103 Version 1.6.0
104
105 Release to drop support for Python 2.6 and add support for google-auth.
106
107 - Support for Python 2.6 has been dropped. (#319)
108 - The credentials argument to discovery.build and discovery.build_from_document
109 can be either oauth2client credentials or google-auth credentials. (#319)
110 - discovery.build and discovery.build_from_document now unambiguously use the
111 http argument to make all requests, including the request for the discovery
112 document. (#319)
113 - The http and credentials arguments to discovery.build and
114 discovery.build_from_document are now mutually exclusive, eliminating a
115 buggy edge case. (#319)
116 - If neither http or credentials is specified to discovery.build and
117 discovery.build_from_document, then Application Default Credentials will
118 be used. The library prefers google-auth for this if it is available, but
119 can also use oauth2client's implementation. (#319)
120 - Fixed resumable upload failure when receiving a 308 response. (#312)
121 - Clarified the support versions of Python 3. (#316)
122
Brian J. Watson0711b8b2016-10-31 17:55:50 -0700123v1.5.5
124 Version 1.5.5
125
126 Bugfix release
127
128 - Allow explicit MIME type specification with media_mime_type keyword argument.
129 - Fix unprintable representation of BatchError with default constructor. (#165)
130 - Refresh all discovery docs, not just the preferred ones. (#298)
131 - Update minimum httplib2 dependency to >=0.9.2.
132
Jon Wayne Parrotte2ce0042016-10-14 11:02:09 -0700133v1.5.4
134 Version 1.5.4
135
136 Bugfix release
137
138 - Properly handle errors when the API returns a mapping or sequence. (#289)
139 - Upgrade to unified uritemplate 3.0.0. (#293)
140 - Allow oauth2client 4.0.0, with the caveat that file-based discovery
141 caching is disabled.
142
Jon Wayne Parrottc4dca352016-08-29 10:16:34 -0700143v1.5.3
144 Version 1.5.3
145
146 Bugfix release
147
148 - Fixed import error with oauth2client >= 3.0.0. (#270)
149
Jon Wayne Parrottbf7066e2016-08-16 12:41:22 -0700150v1.5.2
151 Version 1.5.2
152
153 Bugfix release
154
155 - Allow using oauth2client >= 1.5.0, < 4.0.0. (#265)
156 - Fix project_id argument description. (#257)
157 - Retry chunk uploaded on rate limit exceeded errors. (#255)
158 - Obtain access token if necessary in BatchHttpRequest.execute(). (#232)
159 - Warn when running tests using HttpMock without having a cache. (#261)
160
Jon Wayne Parrott2aedb522016-05-19 11:03:33 -0700161v1.5.1
162 Version 1.5.1
163
164 Bugfix release
165
166 - Allow using versions of oauth2client < 2.0.0. (#197)
167 - Check both current and new API discovery URL. (#202)
168 - Retry http requests on connection errors and timeouts. (#218)
169 - Retry http requests on rate limit responses. (#201)
170 - Import guards for ssl (for Google App Engine). (#220)
171 - Use named loggers instead of the root logger. (#206)
172 - New search console example. (#212)
173
Jon Wayne Parrottda3e6892016-02-19 15:42:07 -0800174v1.5.0
175 Version 1.5.0
176
177 Release to support oauth2client >= 2.0.0.
178
179 - Fix file stream recognition in Python 3 (#141)
180 - Fix non-resumable binary uploads in Python 3 (#147)
181 - Default to 'octet-stream' if mimetype detection fails (#157)
182 - Handle SSL errors with retries (#160)
183 - Fix incompatibility with oauth2client v2.0.0 (#182)
184
Takashi Matsuo05f19322015-09-11 13:56:00 -0700185v1.4.2
186 Version 1.4.2
187
188 Add automatic caching for the discovery docs.
189
Nathaniel Manistadda86ad2015-06-15 17:24:11 +0000190v1.4.1
191 Version 1.4.1
192
193 Add the googleapiclient.discovery.Resource.new_batch_http_request method.
194
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000195v1.4.0
196 Version 1.4.0
197
198 Python 3 support.
199
Craig Citro326cd512015-03-02 13:24:09 -0800200v1.3.2
201 Version 1.3.2
202
203 Small bugfix release.
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000204
Craig Citro326cd512015-03-02 13:24:09 -0800205 - Fix an infinite loop for downloading small files.
206 - Fix a unicode error in error encoding.
207 - Better handling of `content-length` in media requests.
208 - Add support for methodPath entries containing colon.
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000209
Craig Citro49d45a62014-10-17 20:33:51 -0700210v1.3.1
211 Version 1.3.1
212
213 Quick release for a fix around aliasing in v1.3.
Nathaniel Manista31c47b82015-03-10 23:31:35 +0000214
Craig Citro0e5b9bf2014-10-15 10:26:14 -0700215v1.3
216 Version 1.3
217
218 Add support for the Google Application Default Credentials.
219 Require python 2.6 as a minimum version.
220 Update several API samples.
221 Finish splitting out oauth2client repo and update tests.
222 Various doc cleanup and bugfixes.
Craig Citrof756c682014-10-15 23:01:31 -0700223
224 Two important notes:
225 * We've added `googleapiclient` as the primary suggested import
226 name, and kept `apiclient` as an alias, in order to have a more
227 appropriate import name. At some point, we will remove `apiclient`
228 as an alias.
229 * Due to an issue around in-place upgrades for Python packages,
230 it's not possible to do an upgrade from version 1.2 to 1.3. Instead,
231 setup.py attempts to detect this and prevents it. Simply remove
232 the previous version and reinstall to fix this.
233
Joe Gregorioce67bc22013-07-02 13:50:31 -0400234v1.2
235 Version 1.2
236
237 The use of the gflags library is now deprecated, and is no longer a
238 dependency. If you are still using the oauth2client.tools.run() function
239 then include gflags as a dependency of your application or switch to
240 oauth2client.tools.run_flow.
241 Samples have been updated to use the new apiclient.sample_tools, and no
242 longer use gflags.
243 Added support for the experimental Object Change Notification, as found in
244 the Cloud Storage API.
245 The oauth2client App Engine decorators are now threadsafe.
246
247 - Use the following redirects feature of httplib2 where it returns the
248 ultimate URL after a series of redirects to avoid multiple hops for every
249 resumable media upload request.
250 - Updated AdSense Management API samples to V1.3
251 - Add option to automatically retry requests.
252 - Ability to list registered keys in multistore_file.
253 - User-agent must contain (gzip).
254 - The 'method' parameter for httplib2 is not positional. This would cause
255 spurious warnings in the logging.
256 - Making OAuth2Decorator more extensible. Fixes Issue 256.
257 - Update AdExchange Buyer API examples to version v1.2.
258
259
Joe Gregorio3cc9a452013-03-07 10:08:39 -0500260v1.1
261 Version 1.1
262
263 Add PEM support to SignedJWTAssertionCredentials (used to only support
264 PKCS12 formatted keys). Note that if you use PEM formatted keys you can use
265 PyCrypto 2.6 or later instead of OpenSSL.
266
267 Allow deserialized discovery docs to be passed to build_from_document().
268
269 - Make ResumableUploadError derive from HttpError.
270 - Many changes to move all the closures in apiclient.discovery into real
271 - classes and objects.
272 - Make from_json behavior inheritable.
273 - Expose the full token response in OAuth2Client and OAuth2Decorator.
274 - Handle reasons that are None.
275 - Added support for NDB based storing of oauth2client objects.
276 - Update grant_type for AssertionCredentials.
277 - Adding a .revoke() to Credentials. Closes issue 98.
278 - Modify oauth2client.multistore_file to store and retrieve credentials
279 using an arbitrary key.
280 - Don't accept 403 challenges by default for auth challenges.
281 - Set httplib2.RETRIES to 1.
282 - Consolidate handling of scopes.
283 - Upgrade to httplib2 version 0.8.
284 - Allow setting the response_type in OAuth2WebServerFlow.
285 - Ensure that dataWrapper feature is checked before using the 'data' value.
286 - HMAC verification does not use a constant time algorithm.
287
Joe Gregoriof4839b02012-09-06 13:47:24 -0400288v1.0
289 Version 1.0
290
291 - Changes to the code for running tests and building releases.
292
Joe Gregorio73774c52012-08-29 09:45:53 -0400293v1.0c3
294 Version 1.0 Release Candidate 3
295
296 - In samples and oauth2 decorator, escape untrusted content before displaying it.
297 - Do not allow credentials files to be symlinks.
298 - Add XSRF protection to oauth2decorator callback 'state'.
299 - Handle uploading chunked media by stream.
300 - Handle passing streams directly to httplib2.
301 - Add support for Google Compute Engine service accounts.
302 - Flows no longer need to be saved between uses.
303 - Change GET to POST if URI is too long. Fixes issue #96.
304 - Add a keyring based Storage.
305 - More robust picking up JSON error responses.
306 - Make batch errors align with normal errors.
307 - Add a Google Compute sample.
308 - Token refresh to work with 'old' GData API
309 - Loading of client_secrets JSON file backed by a cache.
310 - Switch to new discovery path parameters.
311 - Add support for additionalProperties when printing schema'd objects.
312 - Fix media upload parameter names. Reviewed in http://codereview.appspot.com/6374062/
313 - oauth2client support for URL-encoded format of exchange token response (e.g. Facebook)
314 - Build cleaner and easier to read docs for dynamic surfaces.
315
Joe Gregoriobf14cef2012-06-22 15:26:16 -0400316v1.0c2
317 Version 1.0 Release Candidate 2
318
319 - Parameter values of None should be treated as missing. Fixes issue #144.
320 - Distribute the samples separately from the library source. Fixes issue #155.
321 - Move all remaining samples over to client_secrets.json. Fixes issue #156.
322 - Make locked_file.py understand win32file primitives for better awesomeness.
323
Joe Gregorio1aaec4b2012-06-15 16:20:41 -0400324v1.0c1
325 Version 1.0 Release Candidate 1
326
Joe Gregorio638663c2012-06-15 14:40:47 -0400327 - Documentation for the library has switched to epydoc:
328 http://google-api-python-client.googlecode.com/hg/docs/epy/index.html
329 - Many improvements for media support:
330 * Added media download support, including resumable downloads.
331 * Better handling of streams that report their size as 0.
332 * Update Media Upload to include io.Base and also fix some bugs.
333 - OAuth bug fixes and improvements.
334 * Remove OAuth 1.0 support.
335 * Added credentials_from_code and credentials_from_clientsecrets_and_code.
336 * Make oauth2client support Windows-friendly locking.
337 * Fix bug in StorageByKeyName.
338 * Fix None handling in Django fields. Reviewed in http://codereview.appspot.com/6298084/. Fixes issue #128.
339 - Add epydoc generated docs. Reviewed in http://codereview.appspot.com/6305043/
340 - Move to PEP386 compliant version numbers.
341 - New and updated samples
342 * Ad Exchange Buyer API v1 code samples.
343 * Automatically generate Samples wiki page from README files.
344 * Update Google Prediction samples.
345 * Add a Tasks sample that demonstrates Service accounts.
346 * new analytics api samples. Reviewed here: http://codereview.appspot.com/5494058/
347 - Convert all inline samples to the Farm API for consistency.
348
Joe Gregoriod02bf5e2012-03-02 13:21:32 -0800349v1.0beta8
350 - Updated meda upload support.
351 - Many fixes for batch requests.
352 - Better handling for requests that don't require a body.
353 - Fix issues with Google App Engine Python 2.7 runtime.
354 - Better support for proxies.
355 - All Storages now have a .delete() method.
356 - Important changes which might break your code:
357 * apiclient.anyjson has moved to oauth2client.anyjson.
358 * Some calls, for example, taskqueue().lease() used to require a parameter
359 named body. In this new release only methods that really need to send a body
360 require a body parameter, and so you may get errors about an unknown
361 'body' parameter in your call. The solution is to remove the unneeded
362 body={} parameter.
363
Joe Gregorio205a0612011-12-14 11:38:16 -0500364v1.0beta7
365 - Support for batch requests. http://code.google.com/p/google-api-python-client/wiki/Batch
366 - Support for media upload. http://code.google.com/p/google-api-python-client/wiki/MediaUpload
367 - Better handling for APIs that return something other than JSON.
368 - Major cleanup and consolidation of the samples.
369 - Bug fixes and other enhancements:
370 72 Defect Appengine OAuth2Decorator: Convert redirect address to string
371 22 Defect Better error handling for unknown service name or version
372 48 Defect StorageByKeyName().get() has side effects
373 50 Defect Need sample client code for Admin Audit API
374 28 Defect better comments for app engine sample Nov 9
375 63 Enhancement Let OAuth2Decorator take a list of scope