Quart

Latest version: v0.19.6

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

Scan your dependencies

Page 2 of 11

0.19.0

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

* Remove Flask-Patch. It has been replaced with the Quart-Flask-Patch
extension.
* Remove references to first request, as per Flask.
* Await the background tasks before calling the after serving funcs.
* Don't copy the app context into the background task.
* Allow background tasks a grace period to complete during shutdown.
* Base Quart on Flask, utilising Flask code where possible. This
introduces a dependency on Flask.
* Bugfix trailing slash issue in URL concatenation for empty 'path'
* Bugfix Issue 219. Use only CR in SSE documentation.
* Bugfix typing for websocket to accept auth data.
* Bugfix ensure subdomains apply to nested blueprints.
* Bugfix ensure make_response errors if the value is incorrect.
* Bugfix propagated exception handling.
* Bugfix ensure exceptions propagate before logging.
* Bugfix cope with scope extension value being None.
* Bugfix ensure the conditional 304 response is empty.
* Bugfix handle empty path in URL concatenation.
* Bugfix corrected typing hint for abort method at helpers.py.
* Bugfix root_path usage.
* Fix Werkzeug deprecation warnings.
* Add svg's to jinja's autoescaping.
* Improve the WebsocketResponse error, by including the response.
* Add a file mode parameter to the config.from_file method.
* Show the subdomain or host in the routes command output.
* Upgrade to blinker 1.6.
* Require Werkzeug 3.0.0 and Flask 3.0.0.
* Use tomllib rather than toml.

0.18.4

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

* Restrict blinker to < 1.6 for 0.18.x versions to ensure it works
with Quart's implementation.

0.18.3

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

* Fixed Issue 206. Corrected quart.json.loads type annotation.
* Bugfix signal handling on Windows.
* Bugfix add missing globals to Flask-Patch.

0.18.2

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

* Bugfix use add_signal_handler not signal.signal.

0.18.1

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

* Bugfix static hosting with resource path escaping the root.
* Bugfix adopt the Werkzeug/Flask make_conditional API/functionality.
* Bugfix restore the reloader to Quart.
* Bugfix support subdomains when testing.
* Bugfix the signal handling to work on Windows.

0.18.0

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

* Remove Quart's safe_join, use Werkzeug's version instead.
* Drop toml dependency, as it isn't required in Quart (use
config.from_file as desired).
* Change websocket.send_json to match jsonify's options.
* Allow while serving decorators on blueprints.
* Support synchronous background tasks, they will be run on a thread.
* Follow Flask's API an allow empty argument Response construction.
* Add get_root_path to helpers to match Flask.
* Support silent argument in config.from_envvar.
* Adopt Flask's logging setup.
* Add stream_template and stream_template_string functions to stream a
large template in parts.
* Switch to Flask's top level name exportion style.
* Add aborter object to app to allow for abort customisation.
* Add redirect method to app to allow for redirect customisation.
* Remove usage of LocalStacks, using ContextVars more directly. This
should improve performance, but introduces backwards
incompatibility. _*_ctx_stack globals are removed, use *_context
instead. Extensions should store on ``g`` as appropriate. Requires
Werkzeug >= 2.2.0.
* Returned lists are now jsonified.
* Move url_for to the app to allow for url_for customisation.
* Remove config from_json use from_file instead.
* Match the Flask views classes and API.
* Adopt the Flask cli code adding ``--app``, ``--env``, and ``-debug``
options to the CLI.
* Adopt the Flask JSON provider interface, use instead of JSON
encoders and decoders.
* Switch to being a Pallets project.
* Requires at least v8 of click.

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.