Quart

Latest version: v0.20.0

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

Scan your dependencies

Page 5 of 11

0.14.0

Not secure
Released 2020-12-05

- Add `user_agent` property to requests/websockets to easily extract the user
agent using Werkzeug's `UserAgent` class.
- Set the content length when using send file instead of using chunked
transfer encoding.
- Introduce a `test_app` method, this should be used to ensure that the startup
& shutdown functions are run during testing.
- Prevent local data sharing.
- Officially support Python 3.9.
- Add send and receive json to the test websocket client, allows a simpler way
for json to be sent and received using the app's encoder and decoder.
- Add signals for websocket message receipt and sending, specifically the
`websocket_received` and `websocket_sent` signals.
- Add `dump` and `load` functions to the json module, as matching Flask.
- Enhance the dev server output.
- Change `AppContext` lifespan interaction - this pushes the app context on
startup and pops on shutdown meaning `g` is available throughout without being
cleared.
- Major refactor of the testing system - this ensures that any middleware and
lifespans are correctly tested. It also introduces a`request` method on the
test client for a request connection (like the websocket connection) for
testing streaming.

0.13.1

Not secure
Released 2020-09-09

- Add the `data` property to the patched request attributes.
- Fix WebSocket ASGI rejection (for servers that don't support the ASGI
WebSocket response extension).
- Don't wrap commands in `with_appcontext` by default.
- Fix CSP parsing for the report-only header.
- Wait for tasks to complete when cancelled.
- Clean up the generator when the response exits.
- Fix request data handling with Flask-Patch.

0.13.0

Not secure
Released 2020-07-14

- Set cookies from the testing jar for websockets.
- Restore Flask-Patch sync handling to pre 0.11. This means that sync route
handlers, before request, and more, are **not** run in a thread if Flask-Patch
is used. This restores Flask-SQLAlchemy support (with Flask-Patch).
- Accept additional attributes to the delete cookie.

0.12.0

Not secure
Released 2020-05-21

- Add `certfile` and `keyfile` arguments to cli.
- `Request.host` value returns an empty string rather than `None` for HTTP/1.0
requests without a `Host` header.
- Fix type of query string argument to Werkzeug `Map` fixing a `TypeError`.
- Add ASGI `scope` dictionary to `request`.
- Ensure that `FlaskGroup` exists when using `flask_patch` by patching the
`flask.cli` module from quart.
- Add `quart.cli.with_appcontext` matching the Flask API.
- Make `quart.Blueprint` registration compatible with `flask.Blueprint`.
- Make the `add_url_rule` API match the Flask API.
- Resolve error handlers by most specific first (matches Flask).
- Support test sessions and context preservation when testing.
- Add `lookup_app` and `lookup_request` to Flask patch globals.
- Make `quart.Blueprint` constructor fully compatible with `flask.Blueprint`.
- Ensure url defaults aren't copied between blueprint routes.

0.11.5

Not secure
Released 2020-03-31

- Ensure any exceptions are raised in the ASGI handling code.
- Support url defaults in the blueprint API.

0.11.4

Not secure
Released 2020-03-29

- Add a testing patch to ensure `FlaskClient` exists.
- Security fix for the `htmlsafe` function.
- Default to the map's strict slashes setting.
- Fix host normalisation for route matching.
- Add subdomain to the blueprint API.

Page 5 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.