Bulb-channels

Latest version: v2.4.0.1

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

Scan your dependencies

Page 2 of 9

2.1.5

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

* Django middleware caching now works on Django 1.11 and Django 2.0.
The previous release only ran on 2.1.

2.1.4

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

* Django middleware is now cached rather than instantiated per request
resulting in a significant speed improvement

* ChannelServerLiveTestCase now serves static files again

* Improved error message resulting from bad Origin headers

* runserver logging now goes through the Django logging framework

* Generic consumers can now have non-default channel layers

* Improved error when accessing scope['user'] before it's ready

2.1.3

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

* An ALLOWED_ORIGINS value of "*" will now also allow requests without a Host
header at all (especially important for tests)

* The request.path value is now correct in cases when a server has SCRIPT_NAME
set

* Errors that happen inside channel listeners inside a runworker or Worker
class are now raised rather than suppressed

2.1.2

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

* AsyncHttpConsumer now has a disconnect() method you can override

* Session and authentication middleware is now non-blocking.

* URL routing context now includes default arguments from the URLconf.

* The FORCE_SCRIPT_NAME setting is now respected in ASGI mode.

* ALLOWED_HOSTS is now set correctly during LiveServerTests.

2.1.1

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

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

2.1.0

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

* 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.

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.