diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9e904b6e..513abfd2 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,19 @@ Full release notes, with more details and upgrade information, are available at: https://channels.readthedocs.io/en/latest/releases +4.1.0 (2024-04-03) +------------------ + +Channels 4.1 is maintenance release in the 4.x series. + +The main change is an update in the required Python and Django version. +Python 3.8, and Django 4.2 are now the minimum required versions. + +There are a number of other small bugfixes. Please ensure to review the +`Version 4.1.0 release notes +`_ for full +details. + 4.0.0 (2022-10-15) ------------------ diff --git a/channels/__init__.py b/channels/__init__.py index bd33320d..ae5610fd 100644 --- a/channels/__init__.py +++ b/channels/__init__.py @@ -1,4 +1,4 @@ -__version__ = "4.0.0" +__version__ = "4.1.0" DEFAULT_CHANNEL_LAYER = "default" diff --git a/docs/releases/4.1.0.rst b/docs/releases/4.1.0.rst new file mode 100644 index 00000000..b01cf608 --- /dev/null +++ b/docs/releases/4.1.0.rst @@ -0,0 +1,34 @@ +4.1.0 Release Notes +=================== + +Channels 4.1 is maintenance release in the 4.x series. + + +Python and Django support +------------------------- + +* A Python version of 3.8 or higher is required. + +* Django 4.2 is now the minimum supported version. + + +Bugfixes & Small Changes +------------------------ + +* Exceptions in ``HttpConsumer`` are now correctly propagated. + + Thanks to Adam Johnson. + +* URLRouter is updated for compatibility with in-development changes in Django. + + Thanks to Adam Johnson. + +* URLRouter is updated to correctly handle ``root_path``. + + Thanks to Alejandro R. Sedeño. + +* Websocket consumers are updated for newer ASGI spec versions, adding the + ``headers`` parameter for the ``accept`` event, and ``reason`` for the + ``close`` event. + + Thanks to Kristján Valur Jónsson. diff --git a/docs/releases/index.rst b/docs/releases/index.rst index 8c0f2bba..6c2ed298 100644 --- a/docs/releases/index.rst +++ b/docs/releases/index.rst @@ -4,6 +4,7 @@ Release Notes .. toctree:: :maxdepth: 1 + 4.1.0 4.0.0 3.0.5 3.0.4