The new version for the Python language implements API support
NGINX Unit automatically determines which interface (ASGI or WSGI) is used in a Python application. The ASGI configuration is similar to the previously suggested settings for WSGI.
Other changes:
- A built-in WebSocket server has been added to the Python module that can be used in applications that are compliant with the ASGI Message Format 2.1 specification.
- PHP module initialization is now performed before it is placed in chroot, which allows loading all add-ons available in the system.
- Added AVIF and APNG images to the list of supported MIME types.
- The test suite has been migrated to use pytest.
- Automatic mounting of isolated FS /tmp in chroot environments is provided.
- The $host variable provides access to the normalized value of the "Host" header from the request.
- Added "callable" option to set the callable names of Python applications.
- Made compatible with PHP 8 RC 1.
- Added "automount" option to "isolation" object to disable automatic mounting of dependencies for language support modules.
Source: opennet.ru