Commit graph

340 commits

Author SHA1 Message Date
pgjones
d8262aa58c Pass the request ctx rather than use the globals in the app
The globals have a performance penalty which can be justified for the
convinience in user code. In the app however the ctx can easily be
passed through the method calls thereby reducing the performance
penalty.

This may affect extensions if they have subclassed the app and
overridden these methods.
2023-08-27 10:18:08 +01:00
David Lord
90967ccb9a
bump werkzeug 2.3.7 (#5231) 2023-08-21 09:42:21 -07:00
David Lord
5bb30270d2
bump werkzeug 2.3.7
use importlib.metadata.version
2023-08-21 09:39:10 -07:00
pgjones
bc5dd3894b Add a changelog for the sans-io changes 2023-08-19 19:25:36 +01:00
David Lord
04994df59f
remove deprecated code 2023-08-16 15:00:49 -07:00
David Lord
6a12b191f7
start version 3.0.0 2023-08-16 14:41:57 -07:00
David Lord
6b9acd565c
switch docs to flit 2023-06-27 14:13:56 -07:00
David Lord
f38f3a745a
switch to flit build backend 2023-06-27 14:13:56 -07:00
David Lord
8e33b7b3e2
update werkzeug requirement 2023-06-09 09:41:17 -07:00
David Lord
bda295d37f
fix use of importlib.util.find_spec 2023-06-09 09:34:42 -07:00
David Lord
ed8ddb6a3a
update werkzeug to 2.3.5 2023-06-07 13:18:49 -07:00
David Lord
84e11a1e82
use importlib instead of pkgutil 2023-06-07 13:13:41 -07:00
David Lord
367e1df785
start version 2.3.3 2023-06-07 13:10:39 -07:00
David Lord
97c830190f
Merge branch '2.2.x' into 2.3.x 2023-05-02 07:50:30 -07:00
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
0afeb1d11c
fix release date 2023-05-01 09:01:40 -07:00
David Lord
f3b8f57054
release version 2.3.2 2023-05-01 08:35:10 -07:00
David Lord
e1aedecdc6
update werkzeug 2023-05-01 08:18:03 -07:00
David Lord
37badc3ce8
update changelog 2023-05-01 08:13:12 -07:00
David Lord
0bc7356ce1
start version 2.3.2 2023-05-01 08:02:46 -07:00
David Lord
721abdc381
release version 2.3.1 2023-04-25 14:08:38 -06:00
Lucas Werkmeister
0ec9192cf2
fix importing Markup from flask 2023-04-25 13:50:43 -06:00
David Lord
345f18442c
start version 2.3.1 2023-04-25 13:48:16 -06:00
David Lord
8728c3e4cd
release version 2.3.0 2023-04-25 12:35:06 -06:00
David Lord
79ebf6c39c
update minimum requirements 2023-04-25 12:28:59 -06:00
David Lord
73739a29f4
Merge branch '2.2.x' 2023-04-25 11:55:41 -06:00
David Lord
74e0329820
release version 2.2.4 2023-04-25 11:41:10 -06:00
David Lord
2e8fe7b2f2
drop support for python 3.7 2023-04-20 11:09:55 -07:00
David Lord
44ffe6c6d6
add __future__ annotations 2023-04-20 09:24:44 -07:00
David Lord
84c007d34f
show subdomain or host in routes output 2023-04-14 09:43:00 -07:00
pgjones
8239765a44
allow async signal receivers 2023-04-13 08:05:42 -07:00
David Lord
9cb1a7a52d
blinker is required, signals are always available 2023-04-13 07:39:24 -07:00
David Lord
c24f8c8199
no cookie domain by default 2023-04-12 12:38:22 -07:00
Evgeny Mozhaev
b8b410014d
require a non-empty name for blueprints 2023-03-11 08:26:36 -08:00
David Lord
7ee9ceb71e
Merge branch '2.2.x' 2023-03-11 08:23:08 -08:00
David Lord
c4b39ba2f3
replace werkzeug.urls with urllib.parse 2023-03-11 08:19:22 -08:00
AntoineMath
b10b6d4af1
add text parameter to config.from_file 2023-02-23 11:10:21 -08:00
David Lord
4256fc6304
deprecate locked_cached_property 2023-02-23 10:05:57 -08:00
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
ed5b240417
Merge branch '2.2.x' 2023-02-15 14:48:09 -08:00
David Lord
41d4f62909
release version 2.2.3 2023-02-15 14:33:32 -08:00
David Lord
6d6d986fc5
switch to pyproject.toml 2023-01-18 10:32:51 -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
David Lord
910179f9b0
Merge branch '2.2.x' 2022-12-24 15:31:07 -07:00