Change8

Migrating to Redis Python v6.1.0

Version v6.1.0 introduces 1 breaking change. This guide details how to update your code.

Released: 5/13/2025

1
Breaking Changes
2
Migration Steps
5
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

RedisClusterRedisSSLContextRetryBackoffClusterPipeline

Breaking Changes

Issue #1

The default value for the `check_hostname` field of `RedisSSLContext` was changed, which may cause SSL verification behavior differences. Update code to explicitly set `check_hostname` as needed or upgrade to version 6.2.0 where the change is reverted.

Migration Steps

  1. 1
    If your code relied on the previous default of `RedisSSLContext.check_hostname`, explicitly set the desired value when creating the SSL context.
  2. 2
    Upgrade to version 6.2.0 to obtain the reverted default behavior if you prefer the old semantics.

Release Summary

The release adds RedisCluster transaction support and makes Retry/backoff classes comparable and hashable, while fixing several SSL, runtime, and pipeline bugs; it also includes a breaking change to RedisSSLContext's default `check_hostname`.

Need More Details?

View the full release notes and all changes for Redis Python v6.1.0.

View Full Changelog