Change8

3.1.1

📦 flaskView on GitHub →
🐛 4 fixes🔧 4 symbols

Summary

Flask 3.1.1 is a bug-fix release that corrects signing-key selection, improves CLI type hints, ensures the help command loads the app, and updates sans-io typing for async iterables.

🐛 Bug Fixes

  • 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` (issue #5645).
  • `flask --help` now loads the app and plugins first to ensure all commands are displayed (issue #5673).
  • Mark the sans-io base class as able to handle views returning `AsyncIterable` to improve typing for Quart (issue #5659).

🔧 Affected Symbols

SECRET_KEY_FALLBACKScli_runner.invokeflask.clisansio.base