David Lord
6000e80acf
address mypy strict findings
2024-01-16 10:11:13 -08:00
David Lord
5a48a0fe6b
untag without object_hook ( #5382 )
2024-01-15 07:52:35 -08:00
David Lord
700fc7d928
untag without object_hook
2024-01-15 07:49:02 -08:00
David Lord
c275573147
run typing tests
2023-12-13 16:27:37 -08:00
David Lord
77f6c72cf9
Update docs to address redesigned macOS settings app ( #5355 )
2023-12-13 15:13:22 -08:00
Ben Huebscher
8a66990c61
Update docs to address redesigned macOS settings app
2023-12-13 15:10:47 -08:00
David Lord
05eebe36ab
fix missing quote in --key error message ( #5344 )
2023-12-13 15:06:37 -08:00
lizard
1d5abfadd7
Fixing issue 5342: 'The double quote is missing in the string'
2023-12-13 15:05:03 -08:00
David Lord
b97165db75
type hint fix for flask.send_file ( #5336 )
2023-11-15 12:55:43 -08:00
Daniel Isaac
4104f29956
type hint fix for flask.send_file
2023-11-15 12:53:22 -08:00
David Lord
66743d4f9d
start version 3.0.1
2023-11-15 12:50:46 -08:00
David Lord
5308db0637
update pre-commit hooks
2023-11-15 12:47:41 -08:00
David Lord
59fd6aa104
use pip-compile instead of pip-compile-multi
2023-11-15 12:44:20 -08:00
David Lord
560383fe14
update python version matrix
...
(cherry picked from commit 6ee5dcc0ec )
2023-11-15 12:19:59 -08:00
David Lord
6277036567
update read the docs env
...
(cherry picked from commit 29f1bd22d7 )
2023-11-15 12:19:59 -08:00
David Lord
54e05a2824
use ruff linter and formatter
2023-11-15 12:14:37 -08:00
pgjones
14232513fd
Release version 3.0.0
2023-09-30 15:37:24 +01:00
pgjones
3252f2bc54
Bump Werkzeug 3.0.0
2023-09-30 15:37:24 +01:00
pgjones
438edcdf01
Allow self as an argument to url_for
...
This makes the Flask.url_for self argument positional only (Flask
supports Python 3.8+) thereby restoring the ability to pass self as a
value argument to url_for.
2023-09-30 15:25:31 +01:00
nick2202
b7c1290528
Fix wrong spelling of JS method .innerHTML
2023-09-24 15:58:22 +01:00
David Lord
8037487165
Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 ( #5248 )
2023-09-05 14:02:38 -07:00
David Lord
e8076d9114
Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0 ( #5247 )
2023-09-05 14:02:28 -07:00
David Lord
ecc4a38b7c
Bump actions/checkout from 3.5.3 to 3.6.0 ( #5246 )
2023-09-05 14:01:15 -07:00
dependabot[bot]
24c6508d39
Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.8 to 1.8.10.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](f8c70e705f...b7f401de30 )
---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 16:30:35 +00:00
dependabot[bot]
98cef9fcca
Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0
...
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator ) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases )
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.7.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 16:30:31 +00:00
dependabot[bot]
0c97a411b4
Bump actions/checkout from 3.5.3 to 3.6.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...f43a0e5ff2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 16:30:27 +00:00
David Lord
faef9a0fce
deprecate __version__ attribute ( #5242 )
2023-08-29 06:09:59 -07:00
David Lord
293041a290
deprecate __version__ attribute
2023-08-29 06:03:11 -07:00
David Lord
153433f612
Merge remote-tracking branch 'origin/2.3.x'
2023-08-27 09:21:54 -07:00
pgjones
65271c105f
Remove print left in by accident
...
This was added as per 0ec7f713d6 by
mistake.
2023-08-27 07:12:04 -07:00
David Lord
a6007373b5
release version 2.3.3 ( #5232 )
2023-08-21 12:52:54 -07:00
David Lord
3205b53c7c
release version 2.3.3
2023-08-21 10:25:35 -07:00
David Lord
9f9550247a
bump werkzeug 2.3.7
...
use importlib.metadata.version
2023-08-21 10:12:54 -07: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
David Lord
1d8b53f782
Split the App and Blueprint into Sansio and IO parts ( #5127 )
2023-08-20 09:32:09 -07:00
pgjones
bc5dd3894b
Add a changelog for the sans-io changes
2023-08-19 19:25:36 +01:00
pgjones
318592511c
Add a brief README to the sansio
...
This should hopefully explain what it is used for and why certain code
cannot be present in it.
2023-08-19 18:35:15 +01:00
pgjones
80cf589a26
Correct the error handler typing
...
It may also be awaitable, as invocations are wrapped in ensure_sync.
2023-08-19 18:35:15 +01:00
pgjones
cc80a47f5b
Widen the response typing
...
Whilst not strictly true for Flask, it is true for Flask and Quart and
hence makes it much easier for Quart to extend Flask classes. The
alternatives are generic usage in the sansio codebase or mixed usage
within Flask. I think this is a good compromise.
2023-08-19 18:35:15 +01:00
pgjones
3f6b243cec
Support async template context processors
...
This is useful as there is contextual information that could be loaded
via IO e.g. information from a database. This also matches Quart and
hence makes the shared signature easier to manage.
2023-08-19 18:35:15 +01:00
pgjones
72c85e80c8
Provide an extendable merge blueprint funcs method
...
This allows a Blueprint implementation that has additional funcs, such
as Quart with its before_websocket_funcs (as example), to extend the
merge method to also merge these functions.
2023-08-19 18:35:15 +01:00
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
0e0e8ddcdc
remove deprecated code ( #5223 )
2023-08-16 15:08:52 -07: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
9e9acfb3fe
Merge branch '2.3.x'
2023-08-16 14:30:03 -07:00
David Lord
0273664009
Update dispatch by path example ( #5217 )
2023-08-16 14:29:39 -07:00
David Lord
a887e179b8
clean up
2023-08-16 14:25:53 -07:00