Skip to content

Releases: googleapis/python-pubsub

v2.12.0

06 Apr 21:47
4275ed8
Compare
Choose a tag to compare

2.12.0 (2022-04-06)

Features

  • increase GRPC max metadata size to 4 MB (#623) (54b9e07)

Bug Fixes

  • mypy errors (#622) (dab13d5)
  • process ErrorInfo / GRPC errors for ack/modack only when exactly-once delivery is enabled (#626) (cc1953b)

v1.7.1

06 Apr 22:15
f140c20
Compare
Choose a tag to compare

1.7.1 (2022-04-06)

Bug Fixes

  • deps: require google-api-core >= 1.31.5, >= 2.3.2 on v1 release (c1c4a45)

v2.11.0

09 Mar 23:39
ef298a4
Compare
Choose a tag to compare

2.11.0 (2022-03-09)

Features

  • retry temporary GRPC statuses for ack/modack/nack when exactly-once delivery is enabled (#607) (a91bed8)
  • return singleton success future for exactly-once methods in Message (#608) (253ced2)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#600) (1608b7f)
  • deps: require proto-plus>=1.15.0 (1608b7f)

v2.10.0

04 Mar 16:12
a400ce8
Compare
Choose a tag to compare

2.10.0 (2022-03-04)

Features

Bug Fixes

  • deps: move libcst to extras (#585) (0846762)
  • refactor client classes for safer type checking (#552) (7f705be)
  • resolve DuplicateCredentialArgs error when using credentials_file (8ca8cf2)

Samples

  • samples: create subscription with filtering enabled #580
  • samples: handle empty response in sync pull samples #586
  • samples: sample for receiving messages with exactly-once delivery enabled #588
  • samples: create subscription with exactly once delivery #592

Documentation

  • add autogenerated code snippets (aa3754c)
  • Docs have inconsistent default values for max_latency and max_bytes (#572) (d136dfd)

v2.9.0

10 Nov 16:46
5c8e9db
Compare
Choose a tag to compare

Features

Bug Fixes

  • add 'dict' annotation type to 'request' (b72522a)
  • deps: drop packaging dependency (290b9c5)
  • deps: require google-api-core >= 1.28.0 (290b9c5)
  • improper types in pagers generation (2ad639d)

Documentation

v2.8.0

06 Sep 11:32
9e439e5
Compare
Choose a tag to compare

Features

  • closed subscriber as context manager raises (#488) (a05a3f2)

Documentation

  • clarify the types of Message parameters (#486) (633e91b)

v2.7.1

19 Aug 17:47
f4281c1
Compare
Choose a tag to compare

Bug Fixes

v2.7.0

28 Jul 14:47
2f180df
Compare
Choose a tag to compare

Features

  • Add always_use_jwt_access. (1f30ef7)
  • Add method signature for Subscriber.Pull without the deprecated return_immediately field. (1f30ef7)
  • Add Pub/Sub topic retention fields. (#456) (911829d)
  • Add subscription properties to streaming pull response. (1f30ef7)
  • Support self-signed JWT flow for service accounts. (1f30ef7)

Bug Fixes

  • Add async client to %name_%version/init.py. (1f30ef7)
  • Disable always_use_jwt_access. (1f30ef7)
  • Enable self signed JWT for gRPC. (#458) (c6e0ff6)

Dependencies

  • Add packaging requirement. (1f30ef7)
  • Require google-api-core >= 1.26.0. (1f30ef7)

v2.6.1

12 Jul 15:17
be5a07c
Compare
Choose a tag to compare

07-05-2021 10:33 PDT

Dependencies

  • Fix possible crash by requiring grpcio >= 1.38.1. (#414) (7037a28)

Documentation

  • Adjust samples for publishing with error handler and flow control. (#433)

Internal / Testing Changes

  • Fix flaky sync pull sample test. (#434)
  • Mitigate flaky snippets tests. (#432)

v2.6.0

21 Jun 10:51
18cebd4
Compare
Choose a tag to compare

Features

  • support customizable retry and timeout settings on the publisher client (#299) (7597604)

Bug Fixes

  • ACK deadline set for received messages can be too low (#416) (e907f6e)
  • threads can skip the line in publisher flow controller (#422) (ef89f55)

Documentation

  • block until the streaming pull shuts down (#424) (d0d0b70)
  • explain that future.cancel() is non-blocking (#420) (c825789)