File: 3.0.4.rst

package info (click to toggle)
python-django-channels 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 872 kB
  • sloc: python: 2,394; makefile: 154; sh: 8
file content (27 lines) | stat: -rw-r--r-- 778 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
3.0.4 Release Notes
===================

Channels 3.0.4 is a bugfix release in the 3.0 series.


Bugfixes & Small Changes
------------------------

* Usage of ``urlparse`` in ``OriginValidator`` is corrected to maintain
  compatibility with recent point-releases of Python.

* The import of ``django.contrib.auth.models.AnonymousUser`` in
  ``channels.auth`` is deferred until runtime, in order to avoid errors if
  ``AuthMiddleware`` or ``AuthMiddlewareStack`` were imported before
  ``django.setup()`` was run.

* ``CookieMiddleware`` adds support for the ``samesite`` flag.

* ``WebsocketConsumer.init()`` and ``AsyncWebsocketConsumer.init()`` no longer
  make a bad `super()` call to ``object.init()``.


Backwards Incompatible Changes
------------------------------

None.