Skip to content

Releases: googleapis/google-api-python-client

v1.6.0

06 Jan 17:59
Compare
Choose a tag to compare

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

02 Nov 00:33
Compare
Choose a tag to compare

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

17 Oct 22:37
Compare
Choose a tag to compare

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.2

29 Aug 17:14
Compare
Choose a tag to compare

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

20 May 17:46
Compare
Choose a tag to compare

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

20 Feb 01:26
Compare
Choose a tag to compare

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

11 Sep 22:05
Compare
Choose a tag to compare
Merge pull request #134 from tmatsuo/one-for-two

Release 1.4.2.