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