From aaf499e1d32b4a15d09d52bc9d9c53b944349b3c Mon Sep 17 00:00:00 2001 From: Petya Slavova Date: Mon, 27 Oct 2025 10:18:04 +0200 Subject: [PATCH 1/2] Adding info about Multi-database client in README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 97afa2f9bc..5af52f1d09 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,16 @@ By default, the client now overrides the server-side dialect with version 2, aut You can find further details in the [query dialect documentation](https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/dialects/). +### Multi-database client (Active-Active) + +The multi-database client allows your application to connect to multiple Redis databases, which are typically replicas of each other. It is designed to work with Redis Software and Redis Cloud Active-Active setups. The client continuously monitors database health, detects failures, and automatically fails over to the next healthy database using a configurable strategy. When the original database becomes healthy again, the client can automatically switch back to it.
+This is useful when: + +1. You have more than one Redis deployment. This might include two independent Redis servers or two or more Redis databases replicated across multiple [active-active Redis Enterprise](https://redis.io/docs/latest/operate/rs/databases/active-active/) clusters. +2. You want your application to connect to one deployment at a time and to fail over to the next available deployment if the first deployment becomes unavailable. + +For the complete failover configuration options and examples, see the [Multi-database client docs](https://redis.readthedocs.io/en/latest/multi_database.html). + --------------------------------------------- ### Author From bb2717c8c6c8a81da9a16c113ed10775466ed3b8 Mon Sep 17 00:00:00 2001 From: Petya Slavova Date: Wed, 29 Oct 2025 12:56:26 +0200 Subject: [PATCH 2/2] Adding changes in README.md pushed to 7.0 into master. Updating lib version to the stable version - 7.0.1 --- README.md | 7 ++++--- redis/__init__.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5af52f1d09..614f79f592 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,9 @@ The Python interface to the Redis key-value store. --------------------------------------------- -**Note:** redis-py 5.0 will be the last version of redis-py to support Python 3.7, as it has reached [end of life](https://devguide.python.org/versions/). redis-py 5.1 will support Python 3.8+. -**Note:** redis-py 6.1.0 will be the last version of redis-py to support Python 3.8, as it has reached [end of life](https://devguide.python.org/versions/). redis-py 6.2.0 will support Python 3.9+. +**Note:** redis-py 5.0 is the last version of redis-py that supports Python 3.7, as it has reached [end of life](https://devguide.python.org/versions/). redis-py 5.1 supports Python 3.8+.
+**Note:** redis-py 6.1.0 is the last version of redis-py that supports Python 3.8, as it has reached [end of life](https://devguide.python.org/versions/). redis-py 6.2.0 supports Python 3.9+. + --------------------------------------------- ## How do I Redis? @@ -59,7 +60,7 @@ Looking for a high-level library to handle object mapping? See [redis-om-python] ## Supported Redis Versions -The most recent version of this library supports Redis version [7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES), [7.4](https://github.com/redis/redis/blob/7.4/00-RELEASENOTES) and [8.0](https://github.com/redis/redis/blob/8.0/00-RELEASENOTES). +The most recent version of this library supports Redis version [7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES), [7.4](https://github.com/redis/redis/blob/7.4/00-RELEASENOTES), [8.0](https://github.com/redis/redis/blob/8.0/00-RELEASENOTES) and [8.2](https://github.com/redis/redis/blob/8.2/00-RELEASENOTES). The table below highlights version compatibility of the most-recent library versions and redis versions. diff --git a/redis/__init__.py b/redis/__init__.py index 67f165d9fe..b5f08975b4 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -46,7 +46,7 @@ def int_or_str(value): return value -__version__ = "6.2.0" +__version__ = "7.0.1" VERSION = tuple(map(int_or_str, __version__.split(".")))