From 58bafe478f0d77d3c7a77a0533d2b11fcd1d1c9b Mon Sep 17 00:00:00 2001 From: Grokzen Date: Sat, 24 Apr 2021 17:23:35 +0200 Subject: [PATCH] Prepare for 2.1.3 release --- docs/conf.py | 4 ++-- docs/release-notes.rst | 7 +++++++ rediscluster/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index a180ced3..9daff1aa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,9 +59,9 @@ # built documents. # # The short X.Y version. -version = u'2.1.2' +version = u'2.1.3' # The full version, including alpha/beta/rc tags. -release = u'2.1.2' +release = u'2.1.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/release-notes.rst b/docs/release-notes.rst index a8786083..a5a87fc8 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -1,6 +1,13 @@ Release Notes ============= +2.1.3 (Apr 24 2021) +------------------- + + * Add example script pipelin-readonly-replica.py to show how to use replica nodes to offload read commands from primary node + * max_connection now defaults to 50 in ClusterBlockingConnectionPool to avoid issue with infinite loop in queue mechanism + * Using read replica for read commands inside pipeline is now better supported. Feature might be unstable to use as own risk. + 2.1.2 (Apr 18 2021) ------------------- diff --git a/rediscluster/__init__.py b/rediscluster/__init__.py index e22e3e86..4380d3a7 100644 --- a/rediscluster/__init__.py +++ b/rediscluster/__init__.py @@ -33,7 +33,7 @@ def int_or_str(value): # Major, Minor, Fix version -__version__ = '2.1.2' +__version__ = '2.1.3' VERSION = tuple(map(int_or_str, __version__.split('.'))) __all__ = [ diff --git a/setup.py b/setup.py index d88b1354..d9fdc0e6 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( name="redis-py-cluster", - version="2.1.2", + version="2.1.3", description="Library for communicating with Redis Clusters. Built on top of redis-py lib", long_description=readme + '\n\n' + history, long_description_content_type="text/markdown",