Iztok Fister Jr
541bc8dfc2
examples/javascript: replace obsolete link ( #5287 )
2023-10-06 17:36:39 -07:00
Akinola Abiodun Emmanuel
3652ecd9e0
Update index.rst ( #5291 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-06 16:37:42 -07: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
pavithra
aa6d4c3e92
update dispatch-by-path example
2023-08-16 14:25:36 -07:00
David Lord
6d49a1e4b7
Merge branch '2.3.x'
2023-08-16 13:38:05 -07:00
David Lord
826514b8eb
fix flake8 bugbear findings
2023-08-16 13:37:56 -07:00
David Lord
c49ce2e1eb
fix flake8 bugbear findings
2023-08-16 13:37:26 -07:00
David Lord
3237fff4b8
Merge branch '2.3.x'
2023-08-16 13:35:46 -07:00
David Lord
6d266f6363
Pass maxsplit via kwarg to re.split ( #5215 )
2023-08-16 13:35:13 -07:00
hauntsaninja
17e146ad94
Pass maxsplit via kwarg to re.split
2023-08-16 13:33:13 -07:00
David Lord
80ae10f402
update dev requirements
2023-08-16 13:30:18 -07:00
David Lord
7d399e80c3
Merge branch '2.3.x'
2023-08-16 13:29:25 -07:00
David Lord
b1385919be
Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8 ( #5213 )
2023-08-01 09:59:06 -07:00
David Lord
6a5277d341
Bump actions/setup-python from 4.6.1 to 4.7.0 ( #5212 )
2023-08-01 09:58:55 -07:00
dependabot[bot]
dcc86ebfce
Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8
...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish ) from 1.8.7 to 1.8.8.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases )
- [Commits](f5622bde02...f8c70e705f )
---
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-08-01 16:56:22 +00:00
dependabot[bot]
180ff8853c
Bump actions/setup-python from 4.6.1 to 4.7.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](bd6b4b6205...61a6322f88 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 16:56:18 +00:00
David Lord
8a72b74161
[pre-commit.ci] pre-commit autoupdate ( #5211 )
2023-08-01 09:17:47 -07:00