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 <https://channels.readthedocs.io/en/latest/releases/4.1.0.html>_ for full
details.
4.0.0 (2022-10-15)
Channels 4 is the next major version of the Channels package. Together with the
matching Daphne v4 and channels-redis v4 releases, it updates dependencies,
fixes issues, and removes outdated code. It so provides the foundation for
Channels development going forward.
In most cases, you can update now by updating channels, daphne, and
channels-redis as appropriate, with pip, and by adding daphne at
the top of your INSTALLED_APPS setting.
First pip::
pip install -U 'channels[daphne]' channels-redis
Then in your Django settings file::
INSTALLED_APPS = [
"daphne",
...
]
Again, this is a major version change. Amongst other changes, large amounts of
the Django-wrapping code deprecated in Channels v3 has now been removed, in
favour of Django's own ASGI handling, and the runserver command has been
moved into the Daphne package.
Please ensure to review the Version 4.0.0 release notes <https://channels.readthedocs.io/en/latest/releases/4.0.0.html>_ for full
details.
3.0.5 (2022-06-24)
Channels 3.0.5 is a bugfix release in the 3.0 series.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updates the requirements on channels to permit the latest version.
Changelog
Sourced from channels's changelog.
... (truncated)
Commits
d017e31
Preparing v4.1 release. (#2087)30ec8f5
Make Django 4.2 the minimum supported version. (#2086)de88e03
Updated websocket consumers for newer ASGI spec versions. (#2002)82c26f2
Fixed URLRouter root_path handling. (#1954)ecbf353
Fixed URLRouter compatibility with Django main, pre-5.1 (#2085)acc9169
deploying.rst: Fix typo (#2083)b6dc8c1
Import consumers after AppRegistry is populated in tutorial step 2. (#2068)a6d7f71
Bump actions/setup-python from 4 to 5 (#2064)e99ef8a
Prevented HttpConsumer from hiding exceptions (#1951)7254186
Adjusted contributing instructions to note Daphne dependency. (#2023)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show