v7.2.1
📦 redis-pythonView on GitHub →
🐛 8 fixes⚡ 1 deprecations🔧 8 symbols
Summary
This release focuses on bug fixes, particularly around cluster connection management and error handling, and removes deprecated attributes from OTel metrics.
Migration Steps
- Remove usage of batch_size and consumer_name attributes from OTel metrics if present.
🐛 Bug Fixes
- Handle connection attributes conditionally for metrics and set connection data on exceptions in cluster error handling.
- Fix error handling of connection buffer purging of closed connections.
- Fix protocol validation: replace finally with else and store parsed int.
- Return copies from _get_free/in_use_connections and fix async _mock.
- Add missing shard channel message types to async PubSub.
- Fix issues with ClusterPipeline connection management.
- Avoid UnicodeDecodeError on reconnect with binary channel names (pubsub).
- Hold references to ClusterNode disconnect task.
Affected Symbols
⚡ Deprecations
- Removed batch_size and consumer_name attributes from OTel metrics.