flask 3.1.2
This is the Flask 3.1.2 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.2/ Changes: https://flask.palletsprojects.com/page/changes/#version-3-1-2 Milestone: https://github.com/pallets/flask/milestone/38?closed=1
stream_with_contextdoes not fail inside async views. #5774- When using
follow_redirectsin the test client, the final state ofsessionis correct. #5786 - Relax type hint for passing bytes IO to
send_file. #5776