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
212b72a1fe
start version 2.2.3
2022-08-22 09:00:33 -07: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
6ab3cb8d0c
fix issue number
2022-08-08 10:27:57 -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
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
02a0851252
Merge branch '2.1.x'
2022-07-24 19:37:30 -07:00
David Lord
363be75e84
remove reference links from changelog
2022-07-24 19:36:31 -07:00
David Lord
add53e190c
require Werkzeug 2.2
2022-07-24 18:42:11 -07:00
Matthijs van der Vleuten
4bf7415a96
allow TypedDict as a response value
2022-07-14 14:15:05 -07:00
David Lord
76a6b4f2b5
Merge branch '2.1.x'
2022-07-13 14:03:01 -07:00
David Lord
4f01c68a4b
fix issue link
2022-07-13 14:02:50 -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
Pedro Torcatt
03b410066b
Fix docs/CHANGES.rst typo
2022-07-11 18:02:00 -04:00
Pedro Torcatt
58ecacd271
Change Roll back by Rever
2022-07-10 07:22:56 -04:00
David Lord
979e0adbac
fix pr link
2022-07-08 12:02:18 -07:00
David Lord
d597db67de
contexts no longer use LocalStack
2022-07-08 11:13:09 -07:00
David Lord
f8cb0b0dd5
update docs about json
2022-07-02 21:41:37 -07:00
David Lord
c2810ffdd2
remove deprecated send_file argument names
2022-07-01 13:59:44 -07:00
David Lord
9e686d93b6
remove deprecated RequestContext.g
2022-07-01 13:44:31 -07:00
David Lord
84c722044a
new debug/test preserve context implementation
2022-07-01 12:01:44 -07:00
pgjones
46433e9807
add generate_template and generate_template_string functions
2022-06-18 12:20:53 -07:00
pgjones
762382e436
view functions can return generators as responses directly
2022-06-18 11:25:05 -07:00
Kevin Kirsche
ed42e92928
session expiration datetime is UTC timezone-aware
2022-06-17 12:01:48 -07:00
David Lord
c9e000b9ce
with_appcontext lasts for the lifetime of the click context
2022-06-17 11:52:01 -07:00
David Lord
99fa3c36ab
add --app, --env, --debug, and --env-file CLI options
2022-06-17 08:19:55 -07:00
David Lord
aa801c431a
FlaskGroup can be nested
2022-06-15 14:09:56 -07:00
David Lord
6e23239567
add View.init_every_request attribute
2022-06-06 15:11:01 -07:00
David Lord
96c97dec09
deprecate before_first_request
2022-06-06 10:04:05 -07:00
David Lord
7a2d5fb6df
Merge branch '2.1.x'
2022-06-06 09:30:30 -07:00
Evgeny Prigorodov
88bcf78439
instance_path for namespace packages uses path closest to submodule
2022-06-06 08:16:00 -07:00
David Lord
9e2e1de2fc
Merge branch '2.1.x'
2022-06-01 11:27:08 -07:00
Justin Bull
8cb950671f
use bound typevar to accept Flask and Werkzeug Response classes
2022-05-23 13:21:22 -07:00
David Lord
a4f63e0390
start version 2.1.3
2022-05-23 10:54:02 -07:00
Chris Hallacy
eb36135cfe
always warn on blueprint setupmethod after registration
2022-05-23 09:09:12 -07:00
David Lord
69e2300608
use app.url_for as template global
...
avoid extra call from helpers.url_for
update changelog for method moves
2022-05-15 08:48:30 -07:00
David Lord
fac630379d
update app.redirect docs
2022-05-12 16:33:40 -07:00