Itamar Shalev
74890b6c3a
✨ Add support for `app.query()` and `router.query()` (HTTP `QUERY` method)
Add first-class support for `QUERY`, a new HTTP method standardized in
RFC 10008 ("The HTTP QUERY Method", June 2026). `QUERY` is a safe,
idempotent method that carries a request body, so a client can send the
query in the request content instead of encoding it in the URI (like
`GET`, but with a body).
* Add `FastAPI.query()` and `APIRouter.query()` path operation
decorators, mirroring the existing HTTP method decorators
(`get`, `post`, ..., `trace`), registering routes with
`methods=["QUERY"]`.
* Add `QUERY` to `METHODS_WITH_BODY` so the request body is documented
in the generated OpenAPI schema.
* Document `query` in the FastAPI and APIRouter API reference and in the
"First Steps" tutorial alongside the other HTTP methods.
* Add tests covering app- and router-level registration, `add_api_route`,
body parsing, validation errors, 405 on the wrong method, GET/QUERY
coexistence on the same path, and the full generated OpenAPI schema
(via inline_snapshot).
Ref: https://datatracker.ietf.org/doc/rfc10008/
Signed-off-by: Itamar Shalev <[email protected] >
1 month ago
github-actions[bot]
d5494c1f01
📝 Update release notes
[skip ci]
1 month ago
github-actions[bot]
3f28dbe6d8
📝 Update release notes
[skip ci]
1 month ago
github-actions[bot]
219ac634ab
📝 Update release notes
[skip ci]
1 month ago
github-actions[bot]
457f4c705c
📝 Update release notes
[skip ci]
1 month ago
Sebastián Ramírez
29fc8f6166
🔧 Update sponsors: Add TestMu again ( #15830 )
1 month ago
github-actions[bot]
a497a025e7
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
0cb4a8e284
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
4b83b0d409
🔖 Release version 0.138.0 ( #15808 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
041cb0cdfa
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
10393846ed
📝 Fix typo in release notes ( #15807 )
2 months ago
github-actions[bot]
0303491b69
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
17945e5ab7
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
0cd5001d0e
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
9c7eceb00f
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
d176e00b9f
📝 Udpate release notes link ( #15802 )
2 months ago
github-actions[bot]
71e608e00e
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
459a51097b
✏️ Update white space characters in bigger apps ( #15801 )
2 months ago
github-actions[bot]
e12833aaa2
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
4d3dc78b26
✨ Add support for `app.frontend("/", directory="dist")` and `router.frontend("/", directory="dist")` ( #15800 )
2 months ago
github-actions[bot]
f1d750fdda
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
2d00470875
📝 Update release notes
[skip ci]
2 months ago
Yurii Motov
6e6c74fc16
🌐 Enable Hindi docs translations ( #15554 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
1b68e378ef
📝 Update release notes
[skip ci]
2 months ago
Yurii Motov
da9d05bc7a
✏️ Fix grammar, typos, and broken links in docs ( #15694 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected] >
2 months ago
github-actions[bot]
c61384e3d7
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
08321394ab
📝 Tweak wording about deploying to FastAPI Cloud ( #15793 )
2 months ago
github-actions[bot]
c744991f96
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
6a0ba7bb1f
🔖 Release version 0.137.2 ( #15790 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
5d421ae977
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
7feb17f80a
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
d514109e42
🔧 Update sponsors: add BairesDev ( #15787 )
2 months ago
github-actions[bot]
1c1edb9b55
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
32d711f6d2
🔨 Update sponsors script to simplify previews ( #15786 )
2 months ago
github-actions[bot]
202b2d2f5f
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
c66d1c222b
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
627636b617
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
aaf70c196c
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
a62dd75022
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
06074e739b
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
88683944c7
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
2f5ba0d503
📝 Update release notes
[skip ci]
2 months ago
구희찬
44e5b99853
🌐 Fix broken Markdown in Korean custom response docs ( #15774 )
2 months ago
github-actions[bot]
2f836a9e70
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
aa5eeb3652
📝 Update release notes
[skip ci]
2 months ago
github-actions[bot]
090386b10e
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
aeeb29f6d0
🌐 Update translations for fr (update-outdated) ( #15761 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
Sebastián Ramírez
b401cb71c0
🌐 Update translations for zh-hant (update-outdated) ( #15760 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
2 months ago
github-actions[bot]
76008f778b
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
011da093e1
🌐 Update translations for de (update-outdated) ( #15759 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
2 months ago