Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump daphne from 3.0.1 to 4.0.0 #22

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 7, 2022

Bumps daphne from 3.0.1 to 4.0.0.

Changelog

Sourced from daphne's changelog.

4.0.0 (2022-10-07)

Major versioning targeting use with Channels 4.0 and beyond. Except where 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.

  • Updated dependencies to the latest versions.

    Previously a range of Twisted versions have been supported. Recent Twisted releases (22.2, 22.4) have issued security fixes, so those are now the minimum supported version. Given the stability of Twisted, supporting a range of versions does not represent a good use of maintainer time. Going forward the latest Twisted version will be required.

  • Set daphne as default Server header.

    This can be configured with the --server-name CLI argument.

    Added the new --no-server-name CLI argument to disable the Server header, which is equivalent to ``--server-name=` (an empty name).

  • Added --log-fmt CLI argument.

  • Added support for ASGI_THREADS environment variable, setting the maximum number of workers used by a SyncToAsync thread-pool executor.

    Set e.g. ASGI_THREADS=4 daphne ... when running to limit the number of workers.

  • Removed deprecated --ws_protocols CLI option.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [daphne](https://github.com/django/daphne) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/django/daphne/releases)
- [Changelog](https://github.com/django/daphne/blob/main/CHANGELOG.txt)
- [Commits](django/daphne@3.0.1...4.0.0)

---
updated-dependencies:
- dependency-name: daphne
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants