diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7fba70136..f35f2c127 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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) ------------------ diff --git a/channels/__init__.py b/channels/__init__.py index 0348a6691..3f074e844 100644 --- a/channels/__init__.py +++ b/channels/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.3.1" +__version__ = "2.4.0" default_app_config = "channels.apps.ChannelsConfig" DEFAULT_CHANNEL_LAYER = "default" diff --git a/docs/releases/2.4.0.rst b/docs/releases/2.4.0.rst new file mode 100644 index 000000000..46f57a975 --- /dev/null +++ b/docs/releases/2.4.0.rst @@ -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. + diff --git a/docs/releases/index.rst b/docs/releases/index.rst index e0afb1047..c90afe4c9 100644 --- a/docs/releases/index.rst +++ b/docs/releases/index.rst @@ -28,3 +28,4 @@ Release Notes 2.1.7 2.2.0 2.3.0 + 2.4.0