mirror of
https://github.com/django/daphne.git
synced 2025-02-06 11:40:33 +03:00
Updated change log and version for v4.0 release.
This commit is contained in:
parent
12e543750b
commit
060202f491
|
@ -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)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user