Channels

Latest version: v4.1.0

Safety actively analyzes 620848 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 14

4.2.0

------------------

* Dropped support for end-of-life Python 3.7.

* Added support for Python 3.11 and 3.12.

* Upped the minimum version of redis-py to 4.6.

* Added CI testing against redis-py versions 4.6, 5, and the development branch.

* Added CI testing against Channels versions 3, 4, and the development branch.

4.1.0

<https://channels.readthedocs.io/en/latest/releases/4.1.0.html>`_ for full
details.

4.0.0

------------------

Channels 4 is the next major version of the Channels package. Together with the
matching Daphne v4 and channels-redis v4 releases, it updates dependencies,
fixes issues, and removes outdated code. It so provides the foundation for
Channels development going forward.

In most cases, you can update now by updating ``channels``, ``daphne``, and
``channels-redis`` as appropriate, with ``pip``, and by adding ``daphne`` at
the top of your ``INSTALLED_APPS`` setting.

First ``pip``::

pip install -U 'channels[daphne]' channels-redis

Then in your Django settings file::

INSTALLED_APPS = [
"daphne",
...
]

Again, this is a major version change. Amongst other changes, large amounts of
the Django-wrapping code deprecated in Channels v3 has now been removed, in
favour of Django's own ASGI handling, and the ``runserver`` command has been
moved into the Daphne package.

Please ensure to review the `Version 4.0.0 release notes
<https://channels.readthedocs.io/en/latest/releases/4.0.0.html>`_ for full
details.

3.4.1

------------------

* Fixed RuntimeError when checking for stale connections.

3.4.0

------------------

* Dropped support for Python 3.6, which is now end-of-life, and added CI
testing for Python 3.10. (301).

* Added serialize and deserialize hooks to RedisPubSubChannelLayer (281).

* Fixed iscoroutine check for pubsub proxied methods (297).

* Fix workers support when using Redis PubSub layer (298)

3.3.1

------------------

Two bugfixes for the PubSub channel layer:

* Scoped the channel layer per-event loop, in case multiple loops are in play
(262).

* Ensured consistent hashing PubSub was maintained across processes, or process
restarts (274).

Page 1 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.