Skip to content

Releases: henribru/google-ads-stubs

v8.0.0

16 Oct 10:16
Compare
Choose a tag to compare

This release adds support for v14.0.0 of google-ads-python. Note this new addition to the caveats:

Another big caveat since v8.0.0 of this package is that the attributes and constructor arguments of the protobuf messages are all typed as Any instead of their proper types. This is due to google-ads-python switching from raw protobuf message classes to proto-plus classes. Better types for these might be introduced in the future. GoogleAdsClient.enums is also typed as Any.

This means that unfortunately the stubs won't provide as good a type safety as they used to. The last API version supported by the pre-proto-plus library has been sunset though, so staying with that was no longer an option.

v7.0.0

09 Oct 16:34
Compare
Choose a tag to compare

What's Changed

  • Turn google and google.ads into namespace stub packages by @henribru in #12

This is released as a major version because if you're using Mypy you now need to run it with the --namespace-packages option. This is because the stub packages for google and google.ads have been turned into namespace packages to comply with this update to PEP561: python/peps#2083

Full Changelog: v6.0.1...v7.0.0

v6.0.1

06 Mar 14:05
Compare
Choose a tag to compare
  • Support Python 3.6 (support for this was added in v.8.1.0 of the library but was missed in v6.0.0 of the stubs)

v6.0.0

06 Mar 13:55
Compare
Choose a tag to compare
  • Use mypy-protobuf v2.4 for generating protobuf stubs (note some backwards incompatibilities introduced in v2.0: https://github.com/dropbox/mypy-protobuf/blob/master/CHANGELOG.md#20)
  • Update stubs for compatibility with v.8.2.0 and v.9.0.0 (support for API v6.1 and removal of v3)
  • Fix API v4, v5 and v6 missing proper stubs for enums.py
  • Add WaitOperationRequest to stubs for types.py
  • Fix interceptor.py accidentally being stubbed with a .py file in addition to an incomplete .pyi file
  • Add a dependency on grpc-stubs

v5.0.1

13 Nov 20:24
Compare
Choose a tag to compare

Add missing v6 version literal

v5.0.0

13 Nov 19:50
Compare
Choose a tag to compare

Compatibility with v.8.0.0 (v6 of the API)

v4.1.0.post1

25 Oct 13:16
Compare
Choose a tag to compare

Add PyPI classifier

v4.1.0

30 Sep 15:01
Compare
Choose a tag to compare

Removes the dependency on https://pypi.org/project/typing/ as it is not needed

v4.0.1

29 Sep 17:11
Compare
Choose a tag to compare

Fixes the return type of search_stream

v4.0.0

27 Sep 20:32
Compare
Choose a tag to compare

Compatibility with v.7.0.0, i.e. v4 and v5 of the API.