From 1209b3e29312716b881105c47d0843339a96674b Mon Sep 17 00:00:00 2001 From: Felipe Benevides Date: Tue, 24 Jan 2023 14:49:33 -0300 Subject: [PATCH] Prepare 3.3.1 (#199) * Prepare 3.3.1 * Bump to version 3.3.1 Co-authored-by: Pusher CI --- CHANGELOG.md | 5 +++++ pusher/util.py | 2 -- pusher/version.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53db479..0b9a36b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 3.3.1 + +- [ADDED] Allow Client to accept float as a timeout +- [CHANGED] the maximum event payload size permitted by this library has been increased. This change affects the library only: the Channels API still maintains a 10kb size limit and will return an error if the payload is too large. + ## 3.3.0 - [ADDED] terminate_user_connections method diff --git a/pusher/util.py b/pusher/util.py index 93af74a..733daa4 100644 --- a/pusher/util.py +++ b/pusher/util.py @@ -17,13 +17,11 @@ pusher_url_re = re.compile(r'\A(http|https)://(.*):(.*)@(.*)/apps/([0-9]+)\Z') socket_id_re = re.compile(r'\A\d+\.\d+\Z') - if sys.version_info < (3,): text = 'a unicode string' else: text = 'a string' - if sys.version_info < (3,): byte_type = 'a python2 str' else: diff --git a/pusher/version.py b/pusher/version.py index d57ce9a..9e601c7 100644 --- a/pusher/version.py +++ b/pusher/version.py @@ -1,2 +1,2 @@ # Don't change the format of this line: the version is extracted by ../setup.py -VERSION = '3.3.0' +VERSION = '3.3.1'