Commit graph

253 commits

Author SHA1 Message Date
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
dzcode
eb5dd9f5ef
add aborter object to app 2022-05-12 13:29:54 -07:00
Tim Hoagland
fdab801fbb
add redirect method to app 2022-05-10 11:02:24 -07:00
Qingpeng Li
1e5dd43022
refactor error checks in register_error_handler
Co-authored-by: David Lord <davidism@gmail.com>
2022-05-03 11:52:11 -06:00
David Lord
f976d5bb88
Merge branch '2.1.x' 2022-04-28 10:48:05 -07:00
David Lord
7b28a9057d
release version 2.1.2 2022-04-28 10:44:02 -07:00
David Lord
cb4f742543
Merge branch '2.1.x' 2022-04-24 10:14:53 -07:00
James Warne
5050a18a00
evaluate --cert before --key 2022-04-24 10:01:40 -07:00
Rafael Zimmer
eede1a3685
fix annotation for json.loads 2022-04-24 09:53:10 -07:00
David Lord
69f71b4d94
start version 2.1.2 2022-04-24 09:50:55 -07:00
David Lord
45fc77d926
Merge branch '2.1.x' 2022-03-30 14:39:31 -07:00
David Lord
c419931f55
release version 2.1.1 2022-03-30 14:28:18 -07:00
David Lord
d023d94371
set importlib_metadata minimum version 2022-03-30 14:10:12 -07:00
David Lord
5589915b38
start version 2.1.1 2022-03-30 14:01:10 -07:00
David Lord
b109b092a9
start version 2.2.0 2022-03-28 12:17:25 -07:00
David Lord
7d264d7dc5
release version 2.1.0 2022-03-28 12:09:35 -07:00
David Lord
4eb5e9455b
more from_prefixed_env features
* support nested dict access with "__" separator
* don't specify separator in prefix
* catch exceptions for any loads function
2022-03-25 11:54:45 -07:00
David Lord
81c7ff7f8d
update tests for relative redirects 2022-03-25 11:48:26 -07:00
David Lord
faaa5594b2
accurate type for __exit__ 2022-03-15 08:44:09 -07:00
David Lord
8886328822
relax errorhandler function arg type 2022-03-15 08:32:15 -07:00
uedvt359
b707bf443a
Preserve HttpOnly flag when deleting session cookie
fixes #4485
2022-03-15 06:35:29 -07:00
David Lord
aa13521d42
lazy loading preserves click context 2022-02-22 19:04:03 -08:00
David Lord
b6a8ccd2cf
Merge branch '2.0.x' 2022-02-14 12:06:57 -08:00
David Lord
702d973b1f
release version 2.0.3 2022-02-14 11:34:37 -08:00
Mickaël Guérin
beae1249f7
add exclude-patterns option to flask run 2022-02-09 12:44:03 -08:00
David Lord
1be65b1b69
overriding FlaskClient.open works with redirects 2022-02-09 11:13:03 -08:00
David Lord
694eb84f41
reword changelog for importlib.resources 2022-02-08 10:26:21 -08:00
K900
751d85f3de cli: use importlib.metadata instead of pkg_resources 2022-01-17 19:36:57 +03:00
David Lord
aab064fee1
remove deprecated as_tuple parameter from test_client 2022-01-14 09:34:07 -08:00
David Lord
0fb5c2f034
Merge branch '2.0.x' 2021-12-22 20:02:52 -07:00