Skip to content

Releases: googleapis/python-pubsub

v2.5.0

18 May 14:17
69f67f2
Compare
Choose a tag to compare

Features

  • Make publish futures compatible with concurrent.futures.as_completed(). (#397) (e29a2c0)

Bug Fixes

  • Scheduler errors when executor in shutdown. (#399) (39a83d3)

v2.4.2

10 May 16:17
312c6f6
Compare
Choose a tag to compare

05-06-2021 23:50 PDT

Implementation Changes

  • Fix memory leak when publishing messages. (#406)
  • Do not crash if distribution cannot be found when extracting semantic version. (#393)
  • Emit a warning if return_immediately is set with synchronous pull. (#355)
  • Regenerate GAPIC layer with latest changes, use explicit default timeouts. (#345)

Documentation

  • Add additional info on use_legacy_flow_control parameter. (#301)
  • Remove EXPERIMENTAL tag for ordering keys in publisher/client.py. (#324)
  • Fix create_topic() call in README. (#360)
  • Generate PyPI token in secrets manager, fix spacing in docs (via synth). (#384)
  • Add SECURITY.md. (#401)

Internal / Testing Changes

  • Require 100% unit test coverage (via synth). (#359)
  • Bump test coverage to 100%. (#364)
  • Fix streaming pull close unit test flakiness. (#361)
  • Pass explicit credentials in all unit tests creating clients. (#369)
  • Fix flaky test for blocking pull shutdown. (#378)
  • Add missing licence header. (#377)

v2.4.1

30 Mar 16:47
b42ac2e
Compare
Choose a tag to compare

Bug Fixes

  • Move await_msg_callbacks flag to subscribe() method, fixing a regression in Pub/Sub Lite client.
    (#320) (d40d027)
  • SSL error when using the client with the emulator. (#297) (83db672)

Implementation Changes

  • (samples) Bump the max_time to 10 minutes for a flaky test. (#311) (e2678d4), closes #291
  • (samples) Mark delivery attempts test as flaky. (#326) (5a97ef1)
  • (samples) Mitigate flakiness in subscriber_tests. (#304) (271a385)
  • (samples) Retry InternalServerError in dead letter policy test. (#329) (34c9b11), closes #321

Documentation

  • Remove EXPERIMENTAL tag for ordering keys in types.py. (#323) (659cd7a)
  • Remove EXPERIMENTAL tag from Schema service (via synth). (#307) (ad85202)

v2.4.0

22 Feb 21:47
a11ac13
Compare
Choose a tag to compare

02-22-2021 05:02 PST

Implementation Changes

New Features

  • Add graceful streaming pull shutdown. (#292)

Documentation

  • Update samples with using the subscriber client as a context manager. (#254)

v2.3.0

08 Feb 23:18
a8c8f53
Compare
Choose a tag to compare

Features

  • surface SchemaServiceClient in google.cloud.pubsub (#281) (8751bcc)

Bug Fixes

  • client version missing from the user agent header (#275) (b112f4f)
  • Don't open the google.cloud package by adding pubsub.py (#269) (542d79d)
  • flaky samples tests (#263) (3d6a29d)
  • Modify synth.py to update grpc transport options (#266) (41dcd30)
  • pass anonymous credentials for emulator (#250) (8eed8e1)
  • remove grpc send/recieve limits (#259) (fd2840c)

v2.2.0

02 Dec 09:33
40628d0
Compare
Choose a tag to compare

Features

  • Add dead lettering max delivery attempts argument (#236) (7687ae5)
  • Enable server side flow control by default with the option to turn it off (#231) (94d738c)

Bug Fixes

  • fix mtls issue in handwritten layer (#226) (09a409c)
  • make fixup script consistent with migration docs (#208) (b64e218)

Documentation

  • document potentially unexpected blocking behavior of publish() method (#214) (b6d9bd7)
  • fix get topic_path in subscriber sample (#210) (7228f6c)

v2.1.0

21 Sep 18:46
f791d8f
Compare
Choose a tag to compare

09-21-2020 02:19 PDT

Implementation Changes

  • Convert all RPC error types to exceptions. (#163) (#170)
  • Pass client options to publisher and subscriber clients. (#166) (#190)

New Features

  • Regenerate the client lib to pick new mtls env (via synth). (#197)

Documentation

  • Add subscription detachment sample. (#152)
  • Use new call syntax in subscriber docs. (#198) (#203)

Internal / Testing Changes

  • Update CODEOWNERS. (#193)

v2.0.0

14 Sep 09:32
afd7323
Compare
Choose a tag to compare

09-11-2020 05:03 PDT

Implementation Changes

  • Transition the library to microgenerator. (#158)
    This is a breaking change that introduces several method signature changes and drops support
    for Python 2.7 and 3.5
    .

Documentation

  • Add samples for using ordering keys. (#156)
  • Remove extra white space in delivery attempt sample. (#159)

Internal / Testing Changes

  • Fix flaky sequencer unit tests. (#187)

v1.7.0

13 Jul 16:46
547a51e
Compare
Choose a tag to compare

New Features

  • Add support for server-side flow control. (#143) (04e261c)

Dependencies

  • Update samples dependency google-cloud-pubsub to v1.6.1. (#144) (1cb6746)

Documentation

  • Add pubsub/cloud-client samples from the common samples repo (with commit history). (#151)
  • Add flow control section to publish overview. (#129) (acc19eb)
  • Add a link to Pub/Sub filtering language public documentation to pubsub.proto. (#121) (8802d81)

v1.6.1

06 Jul 16:16
cfe486a
Compare
Choose a tag to compare

Documentation

  • added Python2 sunset notice (synth) (#140) (c8f6378)
  • explain how to nack a sync pull message (#123) (f2eec65)