This is the Flask 3.1.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/Flask/3.1.1/
Changes: https://flask.palletsprojects.com/en/stable/changes/#version-3-1-1
Milestone https://github.com/pallets/flask/milestone/36?closed=1
- Fix signing key selection order when key rotation is enabled via
SECRET_KEY_FALLBACKS
. GHSA-4grg-w6v8-c28g - Fix type hint for
cli_runner.invoke
. #5645 flask --help
loads the app and plugins first to make sure all commands are shown. #5673- Mark sans-io base class as being able to handle views that return
AsyncIterable
. This is not accurate for Flask, but makes typing easier for Quart. #5659