forked from googleapis/google-api-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
290 lines (232 loc) · 11 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
v1.6.2
Version 1.6.2
Bugfix release
- Fixed a bug where application default credentials would still be used even
when a developerKey was specified. (#347)
- Official support for Python 3.5 and 3.6. (#341)
v1.6.1
Version 1.6.1
Bugfix release
- Fixed a bug where using google-auth with scoped credentials would fail. (#328)
v1.6.0
Version 1.6.0
Release to drop support for Python 2.6 and add support for google-auth.
- Support for Python 2.6 has been dropped. (#319)
- The credentials argument to discovery.build and discovery.build_from_document
can be either oauth2client credentials or google-auth credentials. (#319)
- discovery.build and discovery.build_from_document now unambiguously use the
http argument to make all requests, including the request for the discovery
document. (#319)
- The http and credentials arguments to discovery.build and
discovery.build_from_document are now mutually exclusive, eliminating a
buggy edge case. (#319)
- If neither http or credentials is specified to discovery.build and
discovery.build_from_document, then Application Default Credentials will
be used. The library prefers google-auth for this if it is available, but
can also use oauth2client's implementation. (#319)
- Fixed resumable upload failure when receiving a 308 response. (#312)
- Clarified the support versions of Python 3. (#316)
v1.5.5
Version 1.5.5
Bugfix release
- Allow explicit MIME type specification with media_mime_type keyword argument.
- Fix unprintable representation of BatchError with default constructor. (#165)
- Refresh all discovery docs, not just the preferred ones. (#298)
- Update minimum httplib2 dependency to >=0.9.2.
v1.5.4
Version 1.5.4
Bugfix release
- Properly handle errors when the API returns a mapping or sequence. (#289)
- Upgrade to unified uritemplate 3.0.0. (#293)
- Allow oauth2client 4.0.0, with the caveat that file-based discovery
caching is disabled.
v1.5.3
Version 1.5.3
Bugfix release
- Fixed import error with oauth2client >= 3.0.0. (#270)
v1.5.2
Version 1.5.2
Bugfix release
- Allow using oauth2client >= 1.5.0, < 4.0.0. (#265)
- Fix project_id argument description. (#257)
- Retry chunk uploaded on rate limit exceeded errors. (#255)
- Obtain access token if necessary in BatchHttpRequest.execute(). (#232)
- Warn when running tests using HttpMock without having a cache. (#261)
v1.5.1
Version 1.5.1
Bugfix release
- Allow using versions of oauth2client < 2.0.0. (#197)
- Check both current and new API discovery URL. (#202)
- Retry http requests on connection errors and timeouts. (#218)
- Retry http requests on rate limit responses. (#201)
- Import guards for ssl (for Google App Engine). (#220)
- Use named loggers instead of the root logger. (#206)
- New search console example. (#212)
v1.5.0
Version 1.5.0
Release to support oauth2client >= 2.0.0.
- Fix file stream recognition in Python 3 (#141)
- Fix non-resumable binary uploads in Python 3 (#147)
- Default to 'octet-stream' if mimetype detection fails (#157)
- Handle SSL errors with retries (#160)
- Fix incompatibility with oauth2client v2.0.0 (#182)
v1.4.2
Version 1.4.2
Add automatic caching for the discovery docs.
v1.4.1
Version 1.4.1
Add the googleapiclient.discovery.Resource.new_batch_http_request method.
v1.4.0
Version 1.4.0
Python 3 support.
v1.3.2
Version 1.3.2
Small bugfix release.
- Fix an infinite loop for downloading small files.
- Fix a unicode error in error encoding.
- Better handling of `content-length` in media requests.
- Add support for methodPath entries containing colon.
v1.3.1
Version 1.3.1
Quick release for a fix around aliasing in v1.3.
v1.3
Version 1.3
Add support for the Google Application Default Credentials.
Require python 2.6 as a minimum version.
Update several API samples.
Finish splitting out oauth2client repo and update tests.
Various doc cleanup and bugfixes.
Two important notes:
* We've added `googleapiclient` as the primary suggested import
name, and kept `apiclient` as an alias, in order to have a more
appropriate import name. At some point, we will remove `apiclient`
as an alias.
* Due to an issue around in-place upgrades for Python packages,
it's not possible to do an upgrade from version 1.2 to 1.3. Instead,
setup.py attempts to detect this and prevents it. Simply remove
the previous version and reinstall to fix this.
v1.2
Version 1.2
The use of the gflags library is now deprecated, and is no longer a
dependency. If you are still using the oauth2client.tools.run() function
then include gflags as a dependency of your application or switch to
oauth2client.tools.run_flow.
Samples have been updated to use the new apiclient.sample_tools, and no
longer use gflags.
Added support for the experimental Object Change Notification, as found in
the Cloud Storage API.
The oauth2client App Engine decorators are now threadsafe.
- Use the following redirects feature of httplib2 where it returns the
ultimate URL after a series of redirects to avoid multiple hops for every
resumable media upload request.
- Updated AdSense Management API samples to V1.3
- Add option to automatically retry requests.
- Ability to list registered keys in multistore_file.
- User-agent must contain (gzip).
- The 'method' parameter for httplib2 is not positional. This would cause
spurious warnings in the logging.
- Making OAuth2Decorator more extensible. Fixes Issue 256.
- Update AdExchange Buyer API examples to version v1.2.
v1.1
Version 1.1
Add PEM support to SignedJWTAssertionCredentials (used to only support
PKCS12 formatted keys). Note that if you use PEM formatted keys you can use
PyCrypto 2.6 or later instead of OpenSSL.
Allow deserialized discovery docs to be passed to build_from_document().
- Make ResumableUploadError derive from HttpError.
- Many changes to move all the closures in apiclient.discovery into real
- classes and objects.
- Make from_json behavior inheritable.
- Expose the full token response in OAuth2Client and OAuth2Decorator.
- Handle reasons that are None.
- Added support for NDB based storing of oauth2client objects.
- Update grant_type for AssertionCredentials.
- Adding a .revoke() to Credentials. Closes issue 98.
- Modify oauth2client.multistore_file to store and retrieve credentials
using an arbitrary key.
- Don't accept 403 challenges by default for auth challenges.
- Set httplib2.RETRIES to 1.
- Consolidate handling of scopes.
- Upgrade to httplib2 version 0.8.
- Allow setting the response_type in OAuth2WebServerFlow.
- Ensure that dataWrapper feature is checked before using the 'data' value.
- HMAC verification does not use a constant time algorithm.
v1.0
Version 1.0
- Changes to the code for running tests and building releases.
v1.0c3
Version 1.0 Release Candidate 3
- In samples and oauth2 decorator, escape untrusted content before displaying it.
- Do not allow credentials files to be symlinks.
- Add XSRF protection to oauth2decorator callback 'state'.
- Handle uploading chunked media by stream.
- Handle passing streams directly to httplib2.
- Add support for Google Compute Engine service accounts.
- Flows no longer need to be saved between uses.
- Change GET to POST if URI is too long. Fixes issue #96.
- Add a keyring based Storage.
- More robust picking up JSON error responses.
- Make batch errors align with normal errors.
- Add a Google Compute sample.
- Token refresh to work with 'old' GData API
- Loading of client_secrets JSON file backed by a cache.
- Switch to new discovery path parameters.
- Add support for additionalProperties when printing schema'd objects.
- Fix media upload parameter names. Reviewed in http://codereview.appspot.com/6374062/
- oauth2client support for URL-encoded format of exchange token response (e.g. Facebook)
- Build cleaner and easier to read docs for dynamic surfaces.
v1.0c2
Version 1.0 Release Candidate 2
- Parameter values of None should be treated as missing. Fixes issue #144.
- Distribute the samples separately from the library source. Fixes issue #155.
- Move all remaining samples over to client_secrets.json. Fixes issue #156.
- Make locked_file.py understand win32file primitives for better awesomeness.
v1.0c1
Version 1.0 Release Candidate 1
- Documentation for the library has switched to epydoc:
http://google-api-python-client.googlecode.com/hg/docs/epy/index.html
- Many improvements for media support:
* Added media download support, including resumable downloads.
* Better handling of streams that report their size as 0.
* Update Media Upload to include io.Base and also fix some bugs.
- OAuth bug fixes and improvements.
* Remove OAuth 1.0 support.
* Added credentials_from_code and credentials_from_clientsecrets_and_code.
* Make oauth2client support Windows-friendly locking.
* Fix bug in StorageByKeyName.
* Fix None handling in Django fields. Reviewed in http://codereview.appspot.com/6298084/. Fixes issue #128.
- Add epydoc generated docs. Reviewed in http://codereview.appspot.com/6305043/
- Move to PEP386 compliant version numbers.
- New and updated samples
* Ad Exchange Buyer API v1 code samples.
* Automatically generate Samples wiki page from README files.
* Update Google Prediction samples.
* Add a Tasks sample that demonstrates Service accounts.
* new analytics api samples. Reviewed here: http://codereview.appspot.com/5494058/
- Convert all inline samples to the Farm API for consistency.
v1.0beta8
- Updated meda upload support.
- Many fixes for batch requests.
- Better handling for requests that don't require a body.
- Fix issues with Google App Engine Python 2.7 runtime.
- Better support for proxies.
- All Storages now have a .delete() method.
- Important changes which might break your code:
* apiclient.anyjson has moved to oauth2client.anyjson.
* Some calls, for example, taskqueue().lease() used to require a parameter
named body. In this new release only methods that really need to send a body
require a body parameter, and so you may get errors about an unknown
'body' parameter in your call. The solution is to remove the unneeded
body={} parameter.
v1.0beta7
- Support for batch requests. http://code.google.com/p/google-api-python-client/wiki/Batch
- Support for media upload. http://code.google.com/p/google-api-python-client/wiki/MediaUpload
- Better handling for APIs that return something other than JSON.
- Major cleanup and consolidation of the samples.
- Bug fixes and other enhancements:
72 Defect Appengine OAuth2Decorator: Convert redirect address to string
22 Defect Better error handling for unknown service name or version
48 Defect StorageByKeyName().get() has side effects
50 Defect Need sample client code for Admin Audit API
28 Defect better comments for app engine sample Nov 9
63 Enhancement Let OAuth2Decorator take a list of scope