Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates daphne from 2.3.0 to 3.0.1.

Changelog

3.0.1

------------------

* Fixed a bug where ``asyncio.CancelledError`` was not correctly handled on
Python 3.8+, resulting in incorrect protocol application cleanup.

3.0.0

------------------

* Updates internals to use ASGI v3 throughout. ``asgiref.compatibility`` is
used for older applications.

* Consequently, the `--asgi-protocol` command-line option is removed.

* HTTP request bodies are now read, and passed to the application, in chunks.

* Added support for Python 3.9.

* Dropped support for Python 3.5.

2.5.0

------------------

* Fixes compatability for twisted when running Python 3.8+ on Windows, by
setting ``asyncio.WindowsSelectorEventLoopPolicy`` as the event loop policy
in this case.

* The internal ``daphne.testing.TestApplication`` now requires an addition
``lock`` argument to ``__init__()``. This is expected to be an instance of
``multiprocessing.Lock``.

2.4.1

------------------

* Avoids Twisted using the default event loop, for compatibility with Django
3.0's ``async_unsafe()`` decorator in threaded contexts, such as using the
auto-reloader.

2.4.0

------------------

* Adds CI testing against and support for Python 3.8.

* Adds support for ``raw_path`` in ASGI scope.

* Ensures an error response is sent to the client if the application sends
malformed headers.

* Resolves an asyncio + multiprocessing problem when testing that would cause
the test suite to fail/hang on macOS.

* Requires installing Twisted's TLS extras, via ``install_requires``.

* Adds missing LICENSE to distribution.
Links

@pyup-bot pyup-bot mentioned this pull request Nov 12, 2020
@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Apr 7, 2021

Closing this in favor of #668

@pyup-bot pyup-bot closed this Apr 7, 2021
@samzer samzer deleted the pyup-update-daphne-2.3.0-to-3.0.1 branch April 7, 2021 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants