From 8b4ed2d3b03a03dc792ee80142e891efabb5bbd6 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Tue, 28 Mar 2023 19:50:22 +0200 Subject: [PATCH] Bumped version and change notes for v4.1.0 release. --- CHANGELOG.txt | 21 +++++++++++++++++---- channels_redis/__init__.py | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index aa4ea53..d2e282f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,9 +1,22 @@ -UNRELEASED ----------- +4.1.0 (2023-03-28) +------------------ + +* Adjusted the way Redis connections are handled: + + * Connection handling is now shared between the two, core and pub-sub, layers. + + * Both layers now ensure that connections are closed when an event loop shuts down. -* Pinned redis-py version to 4.3.5 in order to avoid difficult to diagnose - issues occurring with redis-py 4.4+ (to 4.5.2 currently). + In particular, redis-py 4.x requires that connections are manually closed. + In 4.0 that wasn't done by the core layer, which led to warnings for people + using `async_to_sync()`, without closing connections when updating from + 3.x. +* Updated the minimum redis-py version to 4.5.3 because of a security release there. + Note that this is not a security issue in channels-redis: installing an + earlier version will still use the latest redis-py, but by bumping the + dependency we make sure you'll get redis-py too, when you install the update + here. 4.0.0 (2022-10-07) ------------------ diff --git a/channels_redis/__init__.py b/channels_redis/__init__.py index ce1305b..7039708 100644 --- a/channels_redis/__init__.py +++ b/channels_redis/__init__.py @@ -1 +1 @@ -__version__ = "4.0.0" +__version__ = "4.1.0"