diff --git a/LICENSE b/LICENSE index 130e281a..c3591721 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014-2020 Johan Andersson +Copyright (c) 2014-2021 Johan Andersson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/README.md b/README.md index d12b5b52..5b73e740 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ True ## License & Authors -Copyright (c) 2013-2020 Johan Andersson +Copyright (c) 2013-2021 Johan Andersson MIT (See docs/License.txt file) diff --git a/docs/conf.py b/docs/conf.py index d64b91fe..547dda77 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,9 +59,9 @@ # built documents. # # The short X.Y version. -version = u'2.1.0' +version = u'2.1.1' # The full version, including alpha/beta/rc tags. -release = u'2.1.0' +release = u'2.1.1' # 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 e3590f34..50795eef 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -1,7 +1,17 @@ Release Notes ============= -2.1.0 (May **, 2020) +2.1.1 (Apr 18 2021) + + * ClusterPipeline is now exposed when doing "from rediscluster import *" + * Fix issue where connection would be None in some cases when connection pool fails to initialize + * Ported in a fix from redis-py where it now checks if a connection is ready or not before returning the connection for usage + * ClusterFailover command option is no longer mandatory but optional as it is intended + * Fixed "SLOWLOG GET" kwarg command where it failed on decode_responses + * BaseException is now caught when executing commands and it will disconnect and the connection before raising the exception. + * Logging exception on ReseponseError when doing the initial connection to the startup_nodes instances + +2.1.0 (Sept 26, 2020) -------------------- * Add new config option for Client and Pipeline classes to controll how many attempts will be made before bailing out from a ClusterDownError. diff --git a/rediscluster/__init__.py b/rediscluster/__init__.py index 85a1dd4c..103cc122 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.0' +__version__ = '2.1.1' VERSION = tuple(map(int_or_str, __version__.split('.'))) __all__ = [ diff --git a/setup.py b/setup.py index f58c7f17..a49ca2ba 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( name="redis-py-cluster", - version="2.1.0", + version="2.1.1", 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",