Quart

Latest version: v0.19.6

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

Scan your dependencies

Page 6 of 11

0.10.0

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

*This contains all the Bugfixes in the 0.6 branch.*

* Support aborting with a Response argument.
* Fix JSON type hints to match typeshed.
* Update to Hypercorn 0.7.0 as minimum version.
* Bugfix ensure the default response timeout is set.
* Allow returning dictionaries from view functions, this follows a new
addition to Flask.
* Bugfix ensure the response timeout has a default.
* Bugfix correct testing-websocket typing.
* Accept json, data, or form arguments to test_request_context.
* Support send_file sending a BytesIO object.
* Add samesite cookie support (requires Python3.8).
* Add a ContentSecurityPolicy datastructure, this follows a new
addition to Werkzeug.
* Unblock logging I/O by logging in separate threads.
* Support ASGI root_path as a prepended path to all routes.

0.9.1

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

* Bugfix unquote the path in the test client, following the ASGI
standard.
* Bugfix follow Werkzeug LocalProxy name API.
* Bugfix ensure multiple files are correctly loaded.

0.9.0

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

*This contains all the Bugfixes in the 0.6 and 0.8 branches.*

* Highlight the traceback line of code when using the debug system.
* Bugfix ensure debug has an affect when passed to app run.
* Change the test_request_context arguments to match the test client
open arguments.
* Bugfix form data loading limit type.
* Support async Session Interfaces (with continued support for sync
interfaces).
* Added before_app_websocket, and after_app_websocket methods to the
Blueprint.
* Support sending headers on WebSocket acceptance (this requires ASGI
server support, the default Hypercorn supports this).
* Support async teardown functions (with continued support for sync
functions).
* Match the Flask API argument order for send_file adding a mimetype
argument and supporting attachment sending.
* Make the requested subprotocols available via the websocket class,
``websocket.requested_subprotocols``.
* Support session saving with WebSockets (errors for cookie sessions
if the WebSocket connection has been accepted).
* Switch to be an ASGI 3 framework (this requires ASGI server support,
the default Hypercorn supports this).
* Refactor push promise API, the removes the
``response.push_promises`` attribute.
* Aceept Path (types) throughout and switch to Path (types)
internally.

0.8.1

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

* Bugfix make the safe_join function stricter.
* Bugfix parse multipart form data correctly.
* Bugfix add missing await.

0.8.0

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

*This contains all the Bugfixes in the 0.6 and 0.7 branches.*

* Bugfix raise an error if the loaded app is not a Quart instance.
* Remove unused AccessLogAtoms
* Change the Quart::run method interface, this reduces the available
options for simplicity. See hypercorn for an extended set of
deployment configuration.
* Utilise the Hypercorn serve function, requires Hypercorn >= 0.5.0.
* Added list_templates method to DispatchingJinjaLoader.
* Add additional methods to the Accept datastructure, specifically
keyed accessors.
* Expand the abort functionality and signature, to allow for the
description and name to be optionally specified.
* Add a make_push_promise function, to allow for push promises to be
sent at any time during the request handling e.g. pre-emptive
pushes.
* Rethink the Response Body structure to allow for more efficient
handling of file bodies and the ability to extend how files are
managed (for Quart-Trio and others).
* Add the ability to send conditional 206 responses. Optionally a
response can be made conditional by awaiting the make_conditional
method with an argument of the request range.
* Recommend Mangum for serverless deployments.
* Added instance_path and instance_relative_config to allow for an
instance folder to be used.

0.7.2

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

* Fix the url display bug.
* Avoid crash in flask_patch isinstance.
* Cope with absolute paths sent in the scope.

Page 6 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.