David Lord
fc03d0dfab
setup method on registered blueprint is error
2023-02-23 09:29:36 -08:00
David Lord
2a33c17854
deprecate got_first_request property
2023-02-23 09:28:42 -08:00
David Lord
9c02f07f9b
deprecate markupsafe exports
2023-02-23 08:55:01 -08:00
David Lord
6650764e97
remove previously deprecated code
2023-02-23 08:35:16 -08:00
David Lord
604de4b1dc
Merge branch '2.2.x'
2023-02-16 06:27:41 -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
aa040c085c
run latest black format
2023-02-10 15:07:24 -08:00
David Lord
a18ae3d752
Merge branch '2.2.x'
2023-02-10 15:06:38 -08:00
David Lord
ab93222bd6
point to app-scoped blueprint methods
2023-02-10 10:38:44 -08:00
David Lord
ef85270d9a
Merge branch '2.2.x'
2023-01-20 13:50:23 -08:00
Bhushan Mohanraj
a748770199
clarify View.as_view docstring
2023-01-09 11:07:49 -08:00
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
Josh Michael Karamuth
d7b6c1f670
Fix subdomain inheritance for nested blueprints.
...
Fixes #4834
2023-01-04 16:19:52 +00:00
David Lord
910179f9b0
Merge branch '2.2.x'
2022-12-24 15:31:07 -07: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
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
David Lord
066a35dd32
Merge branch '2.2.x'
2022-11-25 07:51:37 -08:00
David Lord
d178653b5f
update requirements
2022-11-25 07:39:54 -08: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
Yang Yang
0d8c8ba71b
Fix docstring of test_request_context ( #4821 )
...
Add missing `app.`.
2022-09-18 04:53:47 -07:00
Isaac Woodruff
e7b2ce9a50
Add missing .dev to version ( #4801 )
2022-09-02 08:52:13 -07: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
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
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
87584e89fe
Merge branch '2.2.x'
2022-08-05 11:35:36 -07:00
David Lord
e3df23374c
remove env from shell banner
2022-08-05 11:29:39 -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
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