David Lord
47af817c8f
release version 2.2.5
2023-05-02 07:35:27 -07:00
David Lord
8646edca6f
set Vary: Cookie header consistently for session
2023-05-02 07:14:15 -07:00
David Lord
3fbfbad79f
werkzeug 2.3.3 compatibility
2023-05-02 07:09:36 -07:00
David Lord
726d3f4fa9
start version 2.2.5
2023-05-02 06:56:08 -07:00
David Lord
74e0329820
release version 2.2.4
2023-04-25 11:41:10 -06:00
David Lord
04c21387db
update test cookie handling for Werkzeug 2.3
2023-04-12 10:55:00 -07:00
David Lord
c4b39ba2f3
replace werkzeug.urls with urllib.parse
2023-03-11 08:19:22 -08:00
David Lord
c4c7f504be
update dependencies
2023-02-16 06:27:25 -08:00
David Lord
41d4f62909
release version 2.2.3
2023-02-15 14:33:32 -08:00
David Lord
ab93222bd6
point to app-scoped blueprint methods
2023-02-10 10:38:44 -08:00
Bhushan Mohanraj
a748770199
clarify View.as_view docstring
2023-01-09 11:07:49 -08:00
Grey Li
bd26928fdb
Prefer flask run --debug in docs
2022-12-24 15:24:49 -07:00
Grey Li
4bc0e4943d
Add --debug option to flask run
2022-12-24 15:04:48 -07:00
Jonah Lawrence
79032ca5f1
Add .svg to select_jinja_autoescape ( #4840 )
...
As SVG files are a type of XML file and are similar in nearly
all aspects to XML, .svg should also be autoescaped.
2022-12-24 11:27:20 -07:00
Maxim G. Ivanov
09112cfc47
template_folder type allows pathlib
2022-12-24 11:17:52 -07:00
David Lord
d178653b5f
update requirements
2022-11-25 07:39:54 -08:00
Isaac Woodruff
e7b2ce9a50
Add missing .dev to version ( #4801 )
2022-09-02 08:52:13 -07:00
David Lord
212b72a1fe
start version 2.2.3
2022-08-22 09:00:33 -07:00
Thomas Rhines
746455d103
Fix misrendered docstring
...
The API reference for `flask.Config.from_mapping` needs a newline to separate
the summary from the return description. I also wrapped the docstring at 72
characters as suggested in CONTRIBUTING.rst.
2022-08-21 10:24:03 -04:00
Philipp Rohde
00b07c863e
fix typo
...
fixes #4756
2022-08-09 09:48:02 +02:00
David Lord
43d2fff317
release version 2.2.2
2022-08-08 16:21:40 -07:00
David Lord
de16718b39
require werkzeug >= 2.2.2
2022-08-08 16:14:00 -07:00
David Lord
e3df23374c
remove env from shell banner
2022-08-05 11:29:39 -07:00
David Lord
a6a7a57380
fix default value of app.env
2022-08-04 07:24:20 -07:00
David Lord
4984753dbf
start version 2.2.2
2022-08-04 07:21:17 -07:00
David Lord
52c54b2ce1
release version 2.2.1
2022-08-03 16:40:28 -07:00
David Lord
714ccefeca
show deprecation warning on json_encoder/decoder access
2022-08-03 09:22:03 -07:00
David Lord
9a1b25fce4
start version 2.2.1
2022-08-03 06:47:31 -07:00
David Lord
292c7e5c5d
release version 2.2.0
2022-08-01 17:09:49 -07:00
David Lord
bfdd37110c
deprecate config attributes
2022-08-01 16:58:55 -07:00
David Lord
ef95998d79
deprecate FLASK_ENV
2022-08-01 15:11:21 -07:00
David Lord
7d53a129cf
remove __traceback_hide__
2022-08-01 10:52:12 -07:00
David Lord
5d8e35653f
refactor lazy loading
...
Remove the `--eager-loading/--lazy-loading` options and the
`DispatchingApp` middleware. The `run` command handles loading
exceptions directly. The reloader always prints out tracebacks
immediately and always defers raising the error.
2022-08-01 10:34:13 -07:00
David Lord
095651be9e
fix has_app_context and has_request_context
2022-07-25 07:35:17 -07:00
Matthijs van der Vleuten
4bf7415a96
allow TypedDict as a response value
2022-07-14 14:15:05 -07:00
David Lord
48fe96588c
Merge branch '2.1.x'
2022-07-13 13:58:07 -07:00
David Lord
134aebe601
release version 2.1.3
2022-07-13 13:51:42 -07:00
Yourun-Proger
58f3536a8f
error for render_template outside app context
2022-07-13 13:45:42 -07:00
David Lord
69f9845ef2
add json provider interface
2022-07-13 07:42:52 -07:00
pgjones
91044c4d76
Change _cv_req -> _cv_request
...
This is a clearer name for the variable.
2022-07-09 13:41:35 +01:00
David Lord
e0dad45481
update docs about contexts
2022-07-08 11:13:09 -07:00
David Lord
82c2e0366c
remove uses of LocalStack
2022-07-08 11:13:09 -07:00
David Lord
d597db67de
contexts no longer use LocalStack
2022-07-08 11:13:09 -07:00
David Lord
0b2f809f9b
access names as proxies directly
2022-07-08 11:13:09 -07:00
Phil Jones
9b44bf2818
Improve decorator typing ( #4676 )
...
* Add a missing setupmethod decorator
* Improve the decorator typing
This will allow type checkers to understand that the decorators return
the same function signature as passed as an argument. This follows the
guidelines from
https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators .
I've chosen to keep a TypeVar per module and usage as I think
encouraged by PEP 695, which I hope is accepted as the syntax is much
nicer.
2022-07-06 14:05:20 -07:00
Ties Jan Hefting
9dfcb90c92
Document serialization of Decimal in JSONEncoder
...
The Flask JSONEncoder serializes Decimal types to strings, but this
behavior is missing from the docs. The docs are updated accordingly.
2022-07-06 11:47:50 +02:00
David Lord
60b845ebab
update typing tests for json
2022-07-02 21:41:37 -07:00
David Lord
f8cb0b0dd5
update docs about json
2022-07-02 21:41:37 -07:00
Grey Li
ca2bfbb0ac
Support returning list as JSON
2022-07-02 21:41:32 -07:00
David Lord
c2810ffdd2
remove deprecated send_file argument names
2022-07-01 13:59:44 -07:00