Migrating to Redis Python v8.0.0b2
Version v8.0.0b2 introduces 2 breaking changes. This guide details how to update your code.
Released: 4/17/2026
Breaking Changes
●Issue #1
The response types for commands across RESP2 and RESP3 protocols have been unified. This means commands now return the same Python type regardless of the protocol version, which breaks compatibility with previous versions where protocol-specific types were returned.
●Issue #2
The default protocol for all Redis clients and connections has been changed from RESP2 to RESP3. Applications relying on RESP2 behavior or types by default will now receive RESP3 responses.
Migration Steps
- 1If you require the previous default protocol configuration (RESP2), explicitly set `protocol=2` when creating your client or connection.
- 2Review the migration guide at `specs/resp2_resp3_migration_guide.md` and the list of affected commands in `docs/resp_unification.rst` to update application code that relied on protocol-specific response types.
Release Summary
This release unifies command response types across RESP2 and RESP3 protocols and changes the default protocol configuration from RESP2 to RESP3, introducing richer native types and improved performance.
Need More Details?
View the full release notes and all changes for Redis Python v8.0.0b2.
View Full Changelog