David Lord
900e11850a
Merge pull request #4695 from zr40/allow-typeddict-as-responsevalue
...
Allow TypedDict as a ResponseValue
2022-07-14 14:17:38 -07:00
Matthijs van der Vleuten
4bf7415a96
allow TypedDict as a response value
2022-07-14 14:15:05 -07:00
David Lord
76a6b4f2b5
Merge branch '2.1.x'
2022-07-13 14:03:01 -07:00
David Lord
4f01c68a4b
fix issue link
2022-07-13 14:02:50 -07:00
David Lord
48fe96588c
Merge branch '2.1.x'
2022-07-13 13:58:07 -07:00
David Lord
187d7179f6
Merge pull request #4694 from pallets/release-2.1.3
...
release version 2.1.3
2022-07-13 13:54:33 -07:00
David Lord
134aebe601
release version 2.1.3
2022-07-13 13:51:42 -07:00
David Lord
a7859c6947
Merge pull request #4693 from Yourun-proger/msg_app_ctx
...
error message for `render_template` outside app context
2022-07-13 13:50:05 -07:00
Yourun-Proger
58f3536a8f
error for render_template outside app context
2022-07-13 13:45:42 -07:00
David Lord
7096b2c4b1
update requirements
2022-07-13 13:39:51 -07:00
David Lord
67310ab496
Merge pull request #4692 from pallets/json-provider
...
add JSON provider interface
2022-07-13 09:55:00 -07:00
David Lord
69f9845ef2
add json provider interface
2022-07-13 07:42:52 -07:00
David Lord
c356c6da5f
Merge pull request #4687 from Jalkhov/patch-1
...
Fix CHANGES.rst typo
2022-07-11 16:50:10 -07:00
Pedro Torcatt
03b410066b
Fix docs/CHANGES.rst typo
2022-07-11 18:02:00 -04:00
David Lord
4696156278
Merge pull request #4686 from Jalkhov/main
...
Small grammatical suggestion
2022-07-10 04:36:55 -07:00
Pedro Torcatt
58ecacd271
Change Roll back by Rever
2022-07-10 07:22:56 -04:00
David Lord
5775d1e9b1
Merge pull request #4685 from pgjones/name
...
Change _cv_req -> _cv_request
2022-07-09 05:44:52 -07:00
pgjones
91044c4d76
Change _cv_req -> _cv_request
...
This is a clearer name for the variable.
2022-07-09 13:41:35 +01:00
David Lord
979e0adbac
fix pr link
2022-07-08 12:02:18 -07:00
David Lord
cbebdae698
Merge pull request #4682 from pallets/refactor-context-stack
...
remove use of `LocalStack`
2022-07-08 11:58:44 -07:00
David Lord
e0dad45481
update docs about contexts
2022-07-08 11:13:09 -07:00
David Lord
82c2e0366c
remove uses of LocalStack
2022-07-08 11:13:09 -07:00
David Lord
d597db67de
contexts no longer use LocalStack
2022-07-08 11:13:09 -07:00
David Lord
0b2f809f9b
access names as proxies directly
2022-07-08 11:13:09 -07:00
David Lord
89463cb77c
require Werkzeug 2.2
2022-07-08 11:13:09 -07:00
David Lord
94233fc8c0
Merge pull request #4681 from earlruby/patch-1
...
New URL for the Quart project
2022-07-08 10:28:01 -07:00
Earl C. Ruby III
6751f68560
New URL for the Quart project
...
The Quart project moved from Gitlab (https://gitlab.com/pgjones/quart ) to Github (https://github.com/pallets/quart ). There is a message at the top of the Gitlab page announcing the move.
2022-07-08 10:21:42 -07:00
David Lord
c757882808
Merge pull request #4680 from pgjones/typing-test
...
Add further typing tests
2022-07-08 06:41:56 -07:00
pgjones
2f1d1d6256
Add further typing tests
...
This should help ensure the app decorators are correctly typed.
2022-07-08 14:33:20 +01:00
Phil Jones
9b44bf2818
Improve decorator typing ( #4676 )
...
* Add a missing setupmethod decorator
* Improve the decorator typing
This will allow type checkers to understand that the decorators return
the same function signature as passed as an argument. This follows the
guidelines from
https://mypy.readthedocs.io/en/stable/generics.html#declaring-decorators .
I've chosen to keep a TypeVar per module and usage as I think
encouraged by PEP 695, which I hope is accepted as the syntax is much
nicer.
2022-07-06 14:05:20 -07:00
David Lord
cafe68e1ed
Merge pull request #4675 from tiesjan/2.1.x
...
Document serialization of Decimal in JSONEncoder
2022-07-06 05:33:05 -07:00
Ties Jan Hefting
9dfcb90c92
Document serialization of Decimal in JSONEncoder
...
The Flask JSONEncoder serializes Decimal types to strings, but this
behavior is missing from the docs. The docs are updated accordingly.
2022-07-06 11:47:50 +02:00
David Lord
d7482cd765
Merge branch '2.1.x'
2022-07-04 17:03:08 -07:00
David Lord
e4c4fd5771
Merge pull request #4674 from pallets/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-04 15:55:54 -07:00
pre-commit-ci[bot]
e9d0000fc1
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0 )
- [github.com/asottile/reorder_python_imports: v3.1.0 → v3.3.0](https://github.com/asottile/reorder_python_imports/compare/v3.1.0...v3.3.0 )
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0 )
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0 )
2022-07-04 22:37:19 +00:00
David Lord
50df54e4c7
explain workflow
2022-07-04 08:35:36 -07:00
David Lord
559a8458c4
Merge pull request #4672 from greyli/return-list
...
Allow to return list as JSON
2022-07-02 21:48:06 -07:00
David Lord
60b845ebab
update typing tests for json
2022-07-02 21:41:37 -07:00
David Lord
f8cb0b0dd5
update docs about json
2022-07-02 21:41:37 -07:00
Grey Li
ca2bfbb0ac
Support returning list as JSON
2022-07-02 21:41:32 -07:00
David Lord
1626aff602
Merge branch '2.1.x'
2022-07-02 21:03:09 -07:00
David Lord
ab6a8b0330
relax routes cli match order
2022-07-02 21:02:00 -07:00
David Lord
c99f07d3e4
Merge pull request #4667 from pallets/remove-deprecated-code
...
Remove deprecated code
2022-07-01 14:14:37 -07:00
David Lord
c2810ffdd2
remove deprecated send_file argument names
2022-07-01 13:59:44 -07:00
David Lord
9e686d93b6
remove deprecated RequestContext.g
2022-07-01 13:44:31 -07:00
David Lord
96d39c87a8
Merge remote-tracking branch 'origin/2.1.x'
2022-07-01 13:32:50 -07:00
David Lord
6916697a98
Merge pull request #4666 from pallets/debug-context
...
new preserve context implementation
2022-07-01 12:35:24 -07:00
David Lord
84c722044a
new debug/test preserve context implementation
2022-07-01 12:01:44 -07:00
David Lord
57a95e82b7
Merge pull request #4665 from pallets/dependabot/github_actions/actions/setup-python-4
...
Bump actions/setup-python from 3 to 4
2022-07-01 09:45:43 -07:00
dependabot[bot]
2589328485
Bump actions/setup-python from 3 to 4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 16:05:52 +00:00