Updated change log and version for v4.0 release.

This commit is contained in:
Carlton Gibson 2022-10-07 14:53:16 +02:00
parent 12e543750b
commit 060202f491
2 changed files with 23 additions and 18 deletions

View File

@ -1,8 +1,26 @@
4.0.0b1 (2022-08-25) 4.0.0 (2022-10-07)
-------------------- ------------------
This is a beta release to allow testing compatibility with the upcoming Channels Major versioning targeting use with Channels 4.0 and beyond. Except where
4.0. noted should remain usable with Channels v3 projects, but updating Channels to the latest version is recommended.
* Added a ``runserver`` command to run an ASGI Django development server.
Added ``"daphne"`` to the ``INSTALLED_APPS`` setting, before
``"django.contrib.staticfiles"`` to enable:
INSTALLED_APPS = [
"daphne",
...
]
This replaces the Channels implementation of ``runserver``, which is removed
in Channels 4.0.
* Made the ``DaphneProcess`` tests helper class compatible with the ``spawn``
process start method, which is used on macOS and Windows.
Note that requires Channels v4 if using with ``ChannelsLiveServerTestCase``.
* Dropped support for Python 3.6. * Dropped support for Python 3.6.
@ -29,21 +47,8 @@ This is a beta release to allow testing compatibility with the upcoming Channels
Set e.g. ``ASGI_THREADS=4 daphne ...`` when running to limit the number of Set e.g. ``ASGI_THREADS=4 daphne ...`` when running to limit the number of
workers. workers.
* Added a ``runserver`` command to run an ASGI Django development server.
Added ``"daphne"`` to the ``INSTALLED_APPS`` setting, before
``"django.contrib.staticfiles"`` to enable:
INSTALLED_APPS = [
"daphne",
...
]
* Removed deprecated ``--ws_protocols`` CLI option. * Removed deprecated ``--ws_protocols`` CLI option.
* Made the ``DaphneProcess`` tests helper class compatible with the ``spawn``
process start method, which is used on macOS and Windows.
3.0.2 (2021-04-07) 3.0.2 (2021-04-07)
------------------ ------------------

View File

@ -1,6 +1,6 @@
import sys import sys
__version__ = "4.0.0b1" __version__ = "4.0.0"
# Windows on Python 3.8+ uses ProactorEventLoop, which is not compatible with # Windows on Python 3.8+ uses ProactorEventLoop, which is not compatible with