Skip to content

Commit

Permalink
Releasing 2.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Dec 18, 2019
1 parent dd30456 commit 56bb2b9
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Full release notes, with more details and upgrade information, are available at:
https://channels.readthedocs.io/en/latest/releases

2.4.0 (2019-12-18)
------------------

* Wraps session save calls in ``database_sync_to_async()``, for compatibility
with Django 3.0's ``async_unsafe()`` checks.

* Drops compatibility with all Django versions lower than 2.2.

2.3.1 (2019-10-23)
------------------

Expand Down
2 changes: 1 addition & 1 deletion channels/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.3.1"
__version__ = "2.4.0"

default_app_config = "channels.apps.ChannelsConfig"
DEFAULT_CHANNEL_LAYER = "default"
16 changes: 16 additions & 0 deletions docs/releases/2.4.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
2.4.0 Release Notes
===================

Channels 2.4 brings compatibility with Django 3.0s ``async_unsafe()`` checks.
(Specifically we ensure session save calls are made inside an asgiref
``database_sync_to_async()``.)

If you are using Daphne, it is recommended that you install Daphne version
2.4.1 or later for full compatibility with Django 3.0.

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

In line with the guidance provided by Django's supported versions policy we now
also drop support for all Django versions before 2.2, which is the current LTS.

1 change: 1 addition & 0 deletions docs/releases/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ Release Notes
2.1.7
2.2.0
2.3.0
2.4.0

0 comments on commit 56bb2b9

Please sign in to comment.