Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit a597849

Browse files
committed
Write release notes for 2.0.0 release and added upgrade instructions for the release
1 parent c46913b commit a597849

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

docs/release-notes.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
Release Notes
22
=============
33

4+
2.0.0 (Aug 12, 2019)
5+
6+
Specific changes to redis-py-cluster is mentioned below here.
7+
8+
* Update entire code base to now support all redis-py version in the 3.0.x version line. Any future redis-py version will be supported at a later time.
9+
* Major update to all tests to mirror the code of the same tests from redis-py
10+
* Dropped support for the 2.10.6 redis-py release.
11+
* Add pythoncodestyle lint validation check to travis-ci runs to check for proper linting before accepting PR:s
12+
* Class StrictRedisCluster was renamed to RedisCluster
13+
* Class StrictRedis has been removed to mirror upstream class structure
14+
* Class StrictClusterPipeline was renamed to ClusterPipeline
15+
* Fixed travis-ci tests not running properly on python 3.7
16+
* Fixed documentation regarding threads in pipelines
17+
* Update lit of command callbacks and parsers. Added in "CLIENT ID"
18+
* Removed custom implementation of SORT and revert back to use same-slot mechanism for that command.
19+
* Added better exception message to get_master_node_by_slot command to help the user understand the error.
20+
* Improved the exception object message parsing when running on python3
21+
22+
423
1.3.6 (Nov 16, 2018)
524
--------------------
625

docs/upgrading.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ Upgrading redis-py-cluster
33

44
This document describes what must be done when upgrading between different versions to ensure that code still works.
55

6+
1.3.x --> 2.0.0
7+
---------------
8+
9+
Redis-py upstream package dependency has now been updated to be any of the releases in the major version line 3.0.x. This means that you must upgrade your dependency from 2.10.6 to the latest version. Several internal components have been updated to reflect the code from 3.0.x.
10+
11+
Class StrictRedisCluster was renamed to RedisCluster. All usages of this class must be updated.
12+
13+
Class StrictRedis has been removed to mirror upstream class structure.
14+
15+
Class StrictClusterPipeline was renamed to ClusterPipeline.
16+
17+
Method SORT has been changed back to only allow to be executed if keys is in the same slot. No more client side parsing and handling of the keys and values.
18+
19+
620
1.3.2 --> Next Release
721
----------------------
822

0 commit comments

Comments
 (0)