Grey Li
01e804a6e1
Merge pull request #4184 from pallets/dependabot/pip/sphinx-tabs-3.1.0
...
Bump sphinx-tabs from 3.0.0 to 3.1.0
2021-07-01 18:03:57 +08:00
dependabot[bot]
6fe9235f86
Bump sphinx-tabs from 3.0.0 to 3.1.0
...
Bumps [sphinx-tabs](https://github.com/executablebooks/sphinx-tabs ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/executablebooks/sphinx-tabs/releases )
- [Changelog](https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/executablebooks/sphinx-tabs/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: sphinx-tabs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 08:03:44 +00:00
Grey Li
ba6db2e307
Merge remote-tracking branch 'origin/2.0.x' into main
2021-06-26 23:35:24 +08:00
David Lord
49cbb77528
Merge pull request #4165 from yuxiaoy1/patch-1
...
Change flask.xxx to plain version in testing docs
2021-06-21 10:07:33 -07:00
Frank Yu
35eb582bf3
Change flask.xxx to plain version in testing docs
2021-06-20 23:20:14 +08:00
David Lord
d426b58e57
Merge pull request #4155 from yuxiaoy1/patch-1
...
Fix bad link in templating docs
2021-06-20 06:45:54 -07:00
David Lord
5261aeb7c7
Merge pull request #4156 from yuxiaoy1/patch-4
...
Improve the code example in testing docs
2021-06-20 06:45:37 -07:00
Frank Yu
7b696e076a
Update testing.rst
2021-06-18 22:18:15 +08:00
Frank Yu
5fa7d2efe7
Update templating.rst
2021-06-18 20:15:02 +08:00
Frank Yu
f353d126d1
Update docs of rendering templates ( #4153 )
...
* Update docs of rendering templates
* Improve the grammar
Co-authored-by: Grey Li <withlihui@gmail.com>
2021-06-18 10:10:29 +08:00
Grey Li
f8ca80ce89
Merge pull request #4147 from greyli/update-contributing-guide
...
Update contributing guide
2021-06-15 08:49:29 +08:00
pgjones
a44c722860
Fix registering a blueprint twice with differing names
...
Previously the blueprint recorded aspects (before request, after
request etc) would only be added to the app if it was the first
registration of the blueprint instance. However only the record-once
aspects (app-before requests, app-after request) should be added once
on registration of the instance, whereas everything else should be
added on every unique name registration. This ensures that these
trigger under the new name as well as the old.
2021-06-14 17:18:47 +00:00
Grey Li
34027d8d87
Improve the contributing guide
2021-06-14 14:20:04 +08:00
David Lord
399b851ed7
Merge pull request #4142 from Hugo0/patch-1
...
Update celery.rst
2021-06-08 10:06:35 -07:00
Hugo Montenegro
92bed66194
Update celery.rst
...
small typo
2021-06-08 19:01:07 +02:00
pgjones
63893a427b
Improve the changelog entry
...
The fix to the teardown_request also applies to all teardown_*
methods.
2021-06-06 11:09:03 +01:00
David Lord
aac67289e5
Merge pull request #4122 from pallets/dependabot/pip/requirements/urllib3-1.26.5
...
Bump urllib3 from 1.26.4 to 1.26.5 in /requirements
2021-06-01 19:09:24 -07:00
dependabot[bot]
1b10e085d8
Bump urllib3 from 1.26.4 to 1.26.5 in /requirements
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 1.26.4 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.4...1.26.5 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 01:54:49 +00:00
Pascal Corpet
6a4e7e948d
improve typing for app.errorhandler decorator
2021-06-01 19:25:27 +01:00
pre-commit-ci[bot]
5205cd4ea9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-06-01 18:08:19 +00:00
Miguel Grinberg
270eb2df2a
Support View and MethodView instances with async handlers
2021-06-01 18:08:19 +00:00
laggardkernel
491ea32803
Optimize loop in Flask._find_error_handler()
2021-06-01 15:50:20 +00:00
David Lord
cd0086bc4b
Merge pull request #4121 from pallets/dependabot/pip/pre-commit-2.13.0
...
Bump pre-commit from 2.12.1 to 2.13.0
2021-06-01 06:33:50 -07:00
dependabot[bot]
5d0104f67e
Bump pre-commit from 2.12.1 to 2.13.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.12.1...v2.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 08:04:58 +00:00
laggardkernel
0ce270d1f3
Update doc about minimal Python version for async support
2021-05-30 11:03:49 +00:00
Adrian Moennich
6f5870a791
Merge remote-tracking branch 'upstream/2.0.x'
2021-05-29 20:55:23 +02:00
default-303
8e589daaf2
Fix typing of jinja decorators ( #4109 )
2021-05-29 20:54:35 +02:00
Marat Sharafutdinov
a960236117
Fix type annotation for before_request and before_app_request decorators
2021-05-25 18:29:52 +00:00
Pascal Corpet
f7adb2c813
improve typing for teardown_request
2021-05-24 19:28:57 +00:00
Grey Li
d81aa70106
Merge pull request #4100 from greyli/fix-typo
...
Fix typo in docs/tutorial/index.rst
2021-05-24 16:36:56 +08:00
Grey Li
aa6fbf2f5a
Fix typo in docs/tutorial/index.rst
2021-05-24 16:33:02 +08:00
David Lord
7161776824
Merge branch '2.0.x'
2021-05-21 08:56:18 -07:00
David Lord
e22021d531
start version 2.0.2.dev0
2021-05-21 08:55:31 -07:00
David Lord
bc90801c2a
Merge pull request #4091 from pallets/release-2.0.1
...
release version 2.0.1
2021-05-21 08:52:24 -07:00
David Lord
fe2d744b53
release version 2.0.1
2021-05-21 08:50:31 -07:00
David Lord
9f606a8cbb
Merge pull request #4090 from pallets/stream-type
...
improve typing for `stream_with_context`
2021-05-21 08:48:02 -07:00
David Lord
7ab934f6bc
improve typing for stream_with_context
2021-05-21 08:42:44 -07:00
David Lord
6b1c4e9769
Merge pull request #4087 from greyli/gitignore
...
Add venv and .venv to .gitignore
2021-05-21 07:10:50 -07:00
David Lord
255461d895
Merge pull request #4074 from pgjones/bp
...
blueprints are registered with nested names, can change registered name
2021-05-21 07:09:02 -07:00
pgjones
3257b7574e
Fix blueprint renaming
...
This ensures that if a blueprint is renamed at the time of
registration that name is used when constructing endpoints, as
expected.
2021-05-21 15:04:30 +01:00
pgjones
714b0a467a
Fix blueprint self registration
...
By raising a ValueError if attempted. I don't see a use case that
makes this worth supporting.
2021-05-21 15:04:30 +01:00
David Lord
9409be6e34
warn when registering same blueprint with same name
2021-05-21 15:04:30 +01:00
David Lord
63b306743f
changelog for blueprint registered name
2021-05-21 15:04:30 +01:00
David Lord
67b0b7e30d
cache blueprint path calculation
2021-05-21 15:04:18 +01:00
pgjones
c2920e2bd9
Bugfix allow blueprints to be registered with a different name
...
This allows the same blueprint to be registered multiple times at the
same level, but with differing url_prefixes and names.
2021-05-21 15:04:18 +01:00
pgjones
141fde1d8e
Bugfix blueprint naming
...
Following discussions for Flask we've decided to name blueprints based
on how they are registered. This allows for two different blueprints
to have the same self-name as long as they are registered in different
nested positions. This helps users choose better blueprint names.
2021-05-21 15:04:18 +01:00
pgjones
99afbb277d
Fix blueprint nested url_prefix
...
This ensures that the url_prefix is correctly applied, no matter if
set during the registration override or when constructing the
blueprint.
2021-05-21 15:04:18 +01:00
Grey Li
a541c2ac8b
Fix view decorators docs
2021-05-21 12:11:03 +00:00
Grey Li
36872e7bd4
Add venv and .venv to .gitignore
2021-05-21 16:58:58 +08:00
Alex Hedges
a82cc31af8
Update CHANGES.rst
2021-05-21 08:09:05 +00:00