Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Apr 6, 2021

This PR updates asgiref from 3.2.10 to 3.3.4.

Changelog

3.3.4

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

* The async_to_sync type error is now a warning due the high false negative
rate when trying to detect coroutine-returning callables in Python.

3.3.3

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

* The sync conversion functions now correctly detect functools.partial and other
wrappers around async functions on earlier Python releases.

3.3.2

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

* SyncToAsync now takes an optional "executor" argument if you want to supply
your own executor rather than using the built-in one.

* async_to_sync and sync_to_async now check their arguments are functions of
the correct type.

* Raising CancelledError inside a SyncToAsync function no longer stops a future
call from functioning.

* ThreadSensitive now provides context hooks/override options so it can be
made to be sensitive in a unit smaller than threads (e.g. per request)

3.3.1

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

* Updated StatelessServer to use ASGI v3 single-callable applications.

3.3.0

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

* sync_to_async now defaults to thread-sensitive mode being on
* async_to_sync now works inside of forked processes
* WsgiToAsgi now correctly clamps its response body when Content-Length is set
Links

@pyup-bot pyup-bot mentioned this pull request Apr 6, 2021
@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #1830

@pyup-bot pyup-bot closed this Jun 27, 2021
@renzon renzon deleted the pyup-update-asgiref-3.2.10-to-3.3.4 branch June 27, 2021 23:49
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