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