Features
-
Improve API for pubsub instances to:
- Be used as Async context manager for automatic cleanup
- Be iterated on with async for to consume messages
- Be awaited to ensure initialization
- subscribe on instantiation
Bug Fix
- Correct type narrowing when constructing client with
from_url
class method
Compatibility
- Drop support for python 3.9
- Remove tests for RESP2
Deprecations
- Deprecate
run_in_thread
APIs for PubSub & Monitor - Deprecate
listen
methods for PubSub instances