Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Releases: googleapis/python-pubsub

v0.41.0

03 Feb 20:56

Choose a tag to compare

05-15-2019 13:57 PDT

New Features

  • Add kms_key_name arg to create_topic; remove BETA warnings (via synth). (#7936)
  • Add message ordering (via synth). (#7551)

Implementation Changes

  • Propagate subscribe callback errors to main thread (#7954)
  • Fix pubsub Streaming Pull shutdown on RetryError (#7863)
  • Make PubSub subscriber Scheduler inherit from ABC (#7690)
  • Add routing header to method metadata (via synth). (#7623)

Internal / Testing Changes

  • Remove classifier for Python 3.4 for end-of-life. (#7535)
  • Add nox session docs (via synth). (#7778)
  • Pub/Sub (nit): wrong var name in sample (#7705)

v0.40.0

03 Feb 20:56

Choose a tag to compare

03-15-2019 14:09 PDT

Implementation Changes

  • Propagate 'RetryError' in 'PublisherClient.publish'. (#7071)
  • Protoc-generated serialization update.. (#7091)

New Features

  • Add 'authentication_method' to 'PushConfig' (via synth). (#7512)
  • Add protos as an artifact to library (#7205)
  • Pub/sub: pass transport w/ custom channel to GAPIC API clients. (#7008)

Dependencies

Documentation

  • Updated client library documentation URLs. (#7307)
  • Update copyright headers
  • Fix broken docstring cross-reference links. (#7132)
  • Docstring changes from updates to .proto files. (#7054)
  • Pick up stub docstring fix in GAPIC generator. (#6978)

Internal / Testing Changes

  • Copy proto files alongside protoc versions.

v0.39.1: Release pubsub 0.39.1 (#6949)

03 Feb 20:57

Choose a tag to compare

12-17-2018 16:57 PST

Implementation Changes

  • Initialize StreamingPullFuture._cancelled as True. (#6901)
  • Import iam.policy from google.api_core. (#6741)

Documentation

  • Document Python 2 deprecation (#6910)
  • Emphasize that returned futures may differ from stdlib futures. (#6875)

Internal / Testing Changes

  • Add baseline for synth.metadata
  • Update noxfile.
  • blacken all gen'd libs (#6792)
  • omit local deps (#6701)
  • Run black at end of synth.py (#6698)
  • Run Black on Generated libraries (#6666)
  • Add templates for flake8, coveragerc, noxfile, and black. (#6642)

v0.39.0

03 Feb 20:57

Choose a tag to compare

11-27-2018 13:32 PST

Implementation Changes

  • Pick up fixes to GAPIC generator. (#6503)
  • Override client classmethod factories inherited from GAPIC. (#6453)
  • Fix imports for hand-written client docstring examples. (#6345)
  • Fix path for patch of 'bidi' elements. (#6243)
  • Move bidi to api-core. (#6211)
  • Re-generate library using pubsub/synth.py (#6059)
  • Re-generate library using pubsub/synth.py (#5978)

New Features

  • Add 'expiration_policy' to subscriber client. (#6223)

Dependencies

  • Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. (#6391)
  • Update IAM version in dependencies. (#6362)
  • Bump minimum 'api_core' version to '1.4.1'. (#6134)

Documentation

  • Fix client_info bug, update docstrings. (#6418)
  • Fix docstring reference to wrong future class. (#6382)
  • Normalize use of support level badges. (#6159)
  • Update subscriber example in README to current patterns. (#6194)
  • Prep pubsub docs for repo split. (#6001)

Internal / Testing Changes

  • Fix error from new flake8 version. (#6346)
  • Use new Nox. (#6175)

v0.38.0

03 Feb 20:58

Choose a tag to compare

Implementation Changes

  • Fix race condition in recv()'s usage of self.call. (#5935)
  • Re-generate the underlying library from protos. (#5953)
  • Change 'BatchSettings.max_bytes' default. (#5899)
  • Fix race condition where pending Ack IDs can be modified by another thread. (#5929)

Internal / Testing Changes

  • Nox: use inplace installs (#5865)

v0.37.2

03 Feb 20:59

Choose a tag to compare

Implementation Changes

  • Fix classmethod wrapping (#5826)

Documentation

  • Fix Sphinx rendering for publisher client. (#5822)

Internal / Testing Changes

  • Re-generate library, removing obsolete synth modifications. (#5825)
  • Add test for testing invoking a wrapped class method on the class itself (#5828)

v0.37.1

03 Feb 21:00

Choose a tag to compare

Implementation Changes

  • Make get_initial_request more resilient to race conditions. (#5803)

v0.37.0

03 Feb 21:03

Choose a tag to compare

Implementation Changes

  • Make Publisher batch-related interfaces private (#5784

v0.36.0

03 Feb 21:05

Choose a tag to compare

Implementation Changes

  • Pubsub: Make 'Message.publish_time' return datetime (#5633)
  • Ensure SPM methods check that 'self._consumer' is not None before use. (#5758)

New Features

  • PubSub: add geo-fencing support (#5769)
  • Add 'Message.ack_id' property. (#5693)

v0.35.4

03 Feb 21:06

Choose a tag to compare

Implementation Changes

  • Recover streams during the gRPC error callback. (#5446)
  • Use operational lock when checking for activity on streams. (#5445)