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