Asgiref

Latest version: v3.8.1

Safety actively analyzes 688775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

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)

* Drop Python 3.5 support.

* Add type annotations.

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

3.2.10

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

* Fixed bugs due to bad WeakRef handling introduced in 3.2.8

3.2.9

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

* Fixed regression with exception handling in 3.2.8 related to the contextvars fix.

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.