Quart

Latest version: v0.20.0

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

Scan your dependencies

Page 4 of 11

0.16.2

Not secure
Released 2021-12-14

- Await background task shutdown after shutdown functions.
- Use the before websocket not request functions.

0.16.1

Not secure
Released 2021-11-17

- Add missing serving exception handling.

0.16.0

Not secure
Released 2021-11-09

- Support an `auth` argument in the test client.
- Support Python 3.10.
- Utilise `ensure_async` in the copy context functions.
- Add support for background tasks via `app.add_background_task`.
- Give a clearer error for invalid response types.
- Make `open_resource` and `open_instance_resource` async.
- Allow `save_session` to accept None as a response value.
- Rename errors to have an `Error` suffix.
- Fix typing of before (first) request callables.
- Support view sync handlers.
- Fix import of method `redirect` from Flask.
- Fix registering a blueprint twice with differing names.
- Support `ctx.pop()` without passing `exc` explicitly.
- A request timeout error should be raised on timeout.
- Remove Jinja warnings.
- Use the websocket context in the websocket method.
- Raise any lifespan startup failures when testing.
- Fix handler call order based on blueprint nesting.
- Allow for generators that yield strings to be used.
- Reorder acceptance to prevent race conditions.
- Prevent multiple task form body parsing via a lock.

0.15.1

Not secure
Released 2021-05-24

- Improve the `g` `AppGlobals` typing.
- Fix nested blueprint `url_prefixes`.
- Ensure the session is created before url matching.
- Fix Flask Patch sync wrapping async.
- Don't try to parse the form data multiple times.
- Fix blueprint naming allowing blueprints to be registered with a
different name.
- Fix teardown callable typing.

0.15.0

Not secure
Released 2021-05-11

- Add the `quart routes` to output the routes in the app.
- Add the ability to close websocket connections with a reason if supported by
the server.
- Revert `AppContext` lifespan interaction change in 0.14. It is not possible to
introduce this and match Flask's `g` usage.
- Add syntactic sugar for route registration allowing `app.get`, `app.post`,
etc. for app and blueprint instances.
- Support handlers returning a Werkzeug `Response`.
- Remove Quart's exceptions and use Werkzeug's. This may cause incompatibility
to fix import from `werkzeug.exceptions` instead of `quart.exceptions`.
- Switch to Werkzeug's locals and Sans-IO wrappers.
- Allow for files to be sent via test client, via a `files` argument.
- Make the `NoAppException` clearer.
- Support nested blueprints.
- Support `while_serving` functionality.
- Correct routing host case matching.
- Cache flashed message on `request.flashes`.
- Fix debug defaults and overrides using `run`.
- Adopt Werkzeug's timestamp parsing.
- Only show the traceback response if propagating exceptions.
- Fix unhandled exception handling.
- Support `url_for` in websocket contexts.
- Fix cookie jar handling in test client.
- Support `SERVER_NAME` configuration for the `run` method.
- Correctly support `root_paths`.
- Support str and bytes streamed responses.
- Match Flask and consume the raw data when form parsing.

0.14.1

Not secure
Released 2020-12-13

- Add missing receive to test request connection and docs.
- Add the `templates_auto_reload` API.
- Setting the `debug` property on the app now also sets the auto reloading for
the Jinja environment.

Page 4 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.