This repository was archived by the owner on Mar 9, 2026. It is now read-only.
Releases: googleapis/python-pubsub
Releases · googleapis/python-pubsub
v0.35.3
v0.35.2
v0.35.1: Release pubsub 0.35.1 (#5404)
Implementation Changes
- Catch errors when re-retying send() or recv() in addition to open() (#5402)
v0.35.0
Implementation Changes
- Send requests during streaming pull over a separate unary RPC (#5377)
- Initialize references to helper threads before starting them (#5374)
- Make leaser exit more quickly (#5373
- Make re-open failures bubble to callbacks (#5372)
- Avoid overwriting 'module' of messages from shared modules. (#5364)
- Normalize overflow handling for max count and bytes (#5343)
New Features
- Restore the synchronous pull method (#5379)
- Promote subscribe_experimental() to subscribe(), remove old subscriber implementation. (#5274)
- Wire up scheduler argument for subscribe() (#5279)
Documentation
- Add link to streaming pull behavior documentation (#5378)
- Fix example in subscribe's documentation (#5375)
Internal / Testing Changes
v0.34.0
Implementation Changes
- Lower the flow control defaults. (#5248)
New Features
- A new implementation of the subscriber has been added. This is available as
SubscriberClient.subscribe_experimental. In the next release, this will be replace the currentsubscribemethod. If you use this, please report your
findings to us on GitHub. (#5189, #5201, #5210, #5229, #5230, #5237, #5256)
Dependencies
- Remove psutil dependency. (#5248)
v0.33.1
v0.33.0
Implementation changes
- Drop leased messages after flow_control.max_lease_duration has passed. (#5020)
- Fix mantain leases to not modack messages it just dropped (#5045)
- Avoid race condition in maintain_leases by copying leased_messages (#5035)
- Retry subscription stream on InternalServerError, Unknown, and GatewayTimeout (#5021)
- Use the rpc's status to determine when to exit the request generator thread (#5054)
- Fix missing iter on request stream (#5078)
- Nack messages when the subscriber callback errors (#5019)
Testing
v0.32.1
v0.32.0
v0.31.0
New features
- Added the ability for subscriber to batch requests. (#4895)
- Added pending request backpressure for subscriber. (#4892)
Implementation changes
- Raise
ValueErrorwhen a message is too large for a batch. (#4872) - Updated the default batch size to 10 MB. (#4857)
- Allow a custom
Eventtype in Pub / Sub futures. (#4643)
Documentation
- Clarify that
modify_ack_deadlineresets the deadline. (#4822)
Testing
- Fix unit test for default
max_bytesvalue. (#4860)