From ce3e7f6156a29a3604ca0130ddaed488fbd2eeda Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Fri, 16 May 2025 16:44:28 +0200 Subject: [PATCH] Bumped version and changelog for v4.2 release. (#556) --- CHANGELOG.txt | 23 +++++++++++++++++++---- daphne/__init__.py | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 40e6e3f..4714b06 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,13 +1,28 @@ -4.2.0 (to be released) +4.2.0 (2025-05-16) ------------------ +Daphne 4.2 is a maintenance release in the 4.x series. + * Added support for Python 3.13. -* Drop support for EOL Python 3.8. +* Dropped support for EOL Python 3.8. -* Removed unused pytest-runner +* Updated pyupgrade configuration to target Python 3.9. -* Fixed sdist file to ensure it includes all tests +* Added a `load_asgi_app` hook to CLI class, useful for compiled or frozen + applications. + +* Allowed assigning a port in the DaphneProcess test helper, useful for live + server test cases, such as that provided by Channels. + +* Added --nostatic and --insecure args to runserver command to match Django's + built-in command. + +* Moved metadata to use pyproject.toml. + +* Updated sdist file to include tests and changelog. + +* Removed unused pytest-runner. 4.1.2 (2024-04-11) ------------------ diff --git a/daphne/__init__.py b/daphne/__init__.py index 2a21298..659d4d8 100755 --- a/daphne/__init__.py +++ b/daphne/__init__.py @@ -1,6 +1,6 @@ import sys -__version__ = "4.1.3" +__version__ = "4.2.0" # Windows on Python 3.8+ uses ProactorEventLoop, which is not compatible with