v6.3.0
📦 redis-pythonView on GitHub →
✨ 4 features🐛 13 fixes⚡ 1 deprecations🔧 12 symbols
Summary
This release adds new BITOP and VAMANA index support, stream commands, and async retry equality, while fixing several bugs and removing a deprecated ClusterPipeline argument.
Migration Steps
- Remove the deprecated argument from all ClusterPipeline calls.
- Update any code that referenced the old docs site (https://redis-py.readthedocs.io/) to use the new site (https://redis.readthedocs.io/).
- Adjust error handling to expect MaxConnectionsError from ConnectionPool.
- Review transaction method signatures in the standalone client for the updated return type hint.
✨ New Features
- Add support for new BITOP operations: DIFF, DIFF1, ANDOR, ONE.
- Support new VAMANA vector index type.
- Add new stream commands.
- Add async Retry __eq__ and __hash__ implementation and fix ExponentialWithJitterBackoff __eq__.
🐛 Bug Fixes
- Fix sentinel command execution to allow returning actual responses when meaningful, controlled by 'return_responses' argument.
- Annotate deprecated_args decorator to preserve wrapped function type signature.
- Fix ConnectionPool to raise MaxConnectionsError instead of generic Connection error.
- Add async Retry __eq__ and __hash__ & fix ExponentialWithJitterBackoff __eq__.
- SentinelManagedConnection searches for new master upon connection failure.
- Avoid instantiating a connection on __repr__.
- Fix return type hint for the transaction method in the standalone client.
- Remove deprecated arg from call to ClusterPipeline.
- TransactionStrategy reset: UNWATCH only when status is watching.
- KeyT for set operations.
- Remove references to old docs site and replace with new docs site URL.
- Remove unnecessary check for tests using AsyncMock.
- Fix compatibility with latest pytest-asyncio version (1.1.0).
Affected Symbols
⚡ Deprecations
- Removed deprecated argument from ClusterPipeline calls.