Commit graph

377 commits

Author SHA1 Message Date
pgjones
0ec7f713d6 Split the App and Blueprint into Sansio and IO parts
This follows a similar structure in Werkzeug and allows for async
based IO projects, specifically Quart, to base themselves on
Flask.

Note that the globals, and signals are specific to Flask and hence
specific to Flask's IO. This means they cannot be moved to the sansio
part of the codebase.
2023-08-19 18:35:14 +01:00
pgjones
a64588f87a Move file to sansio
This is preperation for refactoring the files so that there are sansio
and flask specific versions. This structure follows the Werkzeug
structure/pattern.
2023-08-19 18:35:00 +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
hauntsaninja
17e146ad94
Pass maxsplit via kwarg to re.split 2023-08-16 13:33:13 -07:00
David Lord
bda295d37f
fix use of importlib.util.find_spec 2023-06-09 09:34:42 -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
pgjones
2abb7513dc Allow for PathLike types for config file variables
This follows the Flask practice elsewhere and makes it clear PathLike
filenames are valid.
2023-05-14 16:09:25 +01:00
David Lord
1d7281fe07
remove egg test
eggs aren't supported, and Python 3.12 removes setuptools
2023-05-02 09:53:31 -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
8705dd39c4
set Vary: Cookie header consistently for session 2023-05-01 08:10:52 -07:00
David Lord
9532cba45d
fix mypy finding 2023-05-01 08:10:25 -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
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
Adam Dangoor
b626a93879
Allow Response subclasses to set default_mimetype as None
This matches the type - see 92c6380248/src/werkzeug/sansio/response.py (L94).
2023-04-12 13:30:28 -07:00
David Lord
c24f8c8199
no cookie domain by default 2023-04-12 12:38:22 -07:00
David Lord
fa0ceb62f2
Merge branch '2.2.x' 2023-04-12 10:57:53 -07:00
David Lord
04c21387db
update test cookie handling for Werkzeug 2.3 2023-04-12 10:55:00 -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
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