Fixes a regression in 3.8.0 affecting nested task cancellation inside
sync_to_async.
3.8.0 (2024-03-20)
Adds support for Python 3.12.
Drops support for (end-of-life) Python 3.7.
Fixes task cancellation propagation to subtasks when using synchronous Django
middleware.
Allows nesting sync_to_async via asyncio.wait_for.
Corrects WSGI adapter handling of root path.
Handles case where "client" is None in WsgiToAsgi adapter.
3.7.2 (2023-05-27)
The type annotations for SyncToAsync and AsyncToSync have been changed to
more accurately reflect the kind of callables they return.
3.7.1 (2023-05-24)
On Python 3.10 and below, the version of the "typing_extensions" package
is now constrained to be at least version 4 (as we depend on functionality
in that version and above)
3.7.0 (2023-05-23)
Contextvars are now required for the implementation of sync as Python 3.6
is now no longer a supported version.
sync_to_async and async_to_sync now pass-through
Debug and Lifespan State extensions have resulted in a typing change for some
request and response types. This change should be backwards-compatible.
asgiref frames will now be hidden in Django tracebacks by default.
Raw performance and garbage collection improvements in Local, SyncToAsync,
and AsyncToSync.
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 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)
Bumps asgiref from 3.2.10 to 3.8.1.
Changelog
Sourced from asgiref's changelog.
... (truncated)
Commits
e38d3c3
Releasing 3.8.18769434
Raise exception if exec_coro is done.852344e
Add tox.ini to MANIFEST.inf710647
Fix a rST problem in the pathsend extension documentation4c28385
Releasing 3.8.04209b6c
Correct WSGI adapter handling of root path.8cf847a
Update error-on-send text in main spec8108512
Move variable initialization in AsyncToSync from init to call (#440)6f02daa
Clarify send error behaviour more clearly0503c2c
Fix task cancellation propagation to subtasks when using sync middleware (#435)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 show