Flask v1.0.3 Release Notes
Release Date: 2019-07-09 // almost 5 years ago-
🚀 Released 2019-05-17
- :func:
send_file
encodes filenames as ASCII instead of Latin-1 (ISO-8859-1). This fixes compatibility with Gunicorn, which is stricter about header encodings than PEP 3333. :issue:2766
- Allow custom CLIs using
FlaskGroup
to set the debug flag without it always being overwritten based on environment variables. :pr:2765
-
flask --version
outputs Werkzeug's version and simplifies the Python version. :pr:2825
- :func:
send_file
handles anattachment_filename
that is a native Python 2 string (bytes) with UTF-8 coded bytes. :issue:2933
- A catch-all error handler registered for
HTTPException
will not handleRoutingException
, which is used internally during routing. This fixes the unexpected behavior that had been introduced in 1.0. :pr:2986
- ✅ Passing the
json
argument toapp.test_client
does not push/pop an extra app context. :issue:2900
- :func: