Commit graph

292 commits

Author SHA1 Message Date
pgjones
cabda59353 Ensure that blueprint subdomains suffix-chain
This ensures that a child's subdomain prefixs any parent subdomain
such that the full domain is child.parent.domain.tld and onwards with
further nesting. This makes the most sense to users and mimics how
url_prefixes work (although subdomains suffix).
2023-01-04 18:06:04 +00:00
David Lord
910179f9b0
Merge branch '2.2.x' 2022-12-24 15:31:07 -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
David Lord
7464e17c5e
Merge branch '2.2.x' 2022-12-24 11:21:59 -07:00
Maxim G. Ivanov
09112cfc47
template_folder type allows pathlib 2022-12-24 11:17:52 -07:00
Jonah Lawrence
cc66213e57
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-10-30 14:55:51 +00:00
David Lord
73b9bacbf7
Merge branch '2.2.x' 2022-08-27 06:04:55 -07:00
David Lord
212b72a1fe
start version 2.2.3 2022-08-22 09:00:33 -07:00
David Lord
36af821edf
Merge branch '2.2.x' 2022-08-08 16:28:50 -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
c779ac4f5f
Merge branch '2.2.x' 2022-08-08 10:28:08 -07:00
David Lord
6ab3cb8d0c
fix issue number 2022-08-08 10:27:57 -07:00
David Lord
795d3e25aa
Merge branch '2.2.x' 2022-08-04 07:33:17 -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
21aaf0ef9a
Merge branch '2.2.x' 2022-08-03 17:09:43 -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
01dec18891
start version 2.3.0 2022-08-01 17:46:38 -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