question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Planning Channels v4.0

See original GitHub issue

🚨 Testing wanted: see the comment below 🚨

I’ve begun work on the next major version, which will be v4.0. I’m looking to release early-September 2022.

The main highlights will be:

  • Removal of the old AsgiHandler, and related code. All of this now lives in Django, and you should be using that.
  • Removal of support for ASGI v2 double-callables. Your apps should all be ASGI v3 single-callables by now.
  • A move of the runserver command to Daphne, so that folks using other ASGI servers don’t have that import overhead to use Channels.
  • And then various tidy-ups and other fixes that we’ve got time for.

The hope is this leaves Channels nice and tight as the Consumers, Channel Layer stuff, and not too much else. The use-case is: “I want to do Websockets, or lower-level ASGI with my Django app” It should be that we can evolve through point-releases for a while from now after this. 🤞

Matching updates to Daphne and channels_redis will come at the same time.

See the recent additions to Closed Pull Requests and the WIP CHANGELOG until I can draft the full release announcements for the details.

I’ve begun with the code changes. You’ll need to install the repos from main in order to test (e.g. the runserver move) Any feedback appreciated.

Next up, I want to go through the docs and tutorials and get those into place, then I’ll look at updating the packaging, and we’ll see where we’re at.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:29
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
carltongibsoncommented, Sep 18, 2022

Great thanks @DmytroLitvinov.

I had a slight delay this week but am working on the releases and they’ll be out shortly. (It’s DjangoCon this week coming up so I should have a moment to sit down and do it at some point. 😜)

8reactions
carltongibsoncommented, Aug 25, 2022

OK, I’ve released a beta 4.0.0b1, and there’s matching betas for Daphne and channels-redis too:

Testing this is appreciated, particularly with the new optional daphne dependency:

pip install 'channels[daphne]==4.0.0b1'

… and adding daphne to INSTALLED_APPS for the runserver implementation:

    INSTALLED_APPS = [
        'daphne',
        ...
    ]

As well as running without Daphne, for those of you who wanted that.

Please see the above comment for the links to changes, and the closed PRs.

Goal now is to pick up any issues, knock off a few extras, and do final releases for ≈14th Sept.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remember to Rescan | Federal Communications Commission
You do not need to rescan if you are a subscriber to cable or satellite TV. Your provider will update your local channels...
Read more >
Quiz One, Digital Channels - DMI Specialist
Improve Your Digital Knowledge today! Get Your Free Brochure. x. Exam Preparation Resources / Practice Exam Questions. Digital Channels Quiz One.
Read more >
Fios TV Channel Comparison | Verizon TV Support
View your current Verizon Fios TV Channel Plan and compare your channel lineup with other available packages. Verizon Fios TV Channel Plan Comparison....
Read more >
Plan your New Youtube Channel - YouTube
Creating a Channel Plan for your new Youtube Channel. - A guide to help you when you're just starting a youtube channel in...
Read more >
Planner for Private Channels - Microsoft Tech Community
Hello all, Does anyone have any information on when Private Channels will get ... any news about availability of MS Planner in a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found