Channels

Latest version: v4.1.0

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

Scan your dependencies

Page 6 of 14

2.1.1

Not secure
------------------

* The scope["user"] object is no longer a lazy object, as this conflicts with
any async-based consumers.

2.1.0

Not secure
------------------

* Async HTTP Consumers and WebSocket Consumers both gained new functionality
(groups, subprotocols, and an async HTTP variant)

* URLRouters now allow nesting

* Async login and logout functions for sessions

* Expiry and groups in the in-memory channel layer

* Improved Live Server test case

* More powerful OriginValidator

* Other small changes and fixes in the full release notes.

2.0.3

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

* Don't allow connection pools from other event loops to be re-used (fixes
various RuntimeErrors seen previously)

* channel_capacity is compiled in the constructor and now works again

2.0.2

Not secure
------------------

* SyncConsumer now terminates old database connections, and there is a new
database_sync_to_async wrapper to allow async connections to do the same.

2.0.1

Not secure
------------------

* AsyncWebsocketConsumer and AsyncJsonWebsocketConsumer classes added

* OriginValidator and AllowedHostsOriginValidator ASGI middleware is now available

* URLRouter now correctly resolves long lists of URLs

2.0.0

Not secure
------------------

* Major backwards-incompatible rewrite to move to an asyncio base and remove
the requirement to transport data over the network, as well as overhauled
generic consumers, test helpers, routing and more.

Page 6 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.