Rauan
dbb01d23aa
feat: Add support for HTTP QUERY method
...
- Add `QUERY` to `METHODS_WITH_BODY` in `fastapi/openapi/constants.py` to correctly generate OpenAPI schemas for bodies in QUERY requests.
- Add `query()` decorator method to `APIRouter` in `fastapi/routing.py`.
- Add `query()` decorator method to `FastAPI` class in `fastapi/applications.py`.
This allows users to define routes using the HTTP QUERY method (e.g., `@app.query("/search")`), enabling safe, idempotent requests that utilize a request body for complex query parameters, following the IETF HTTP QUERY method draft.
2025-11-26 09:30:01 +05:00
Sebastián Ramírez
5b0625df96
🔖 Release version 0.122.0
2025-11-24 20:14:34 +01:00
Sebastián Ramírez
8732c53478
📝 Updates release notes
2025-11-24 20:12:28 +01:00
github-actions[bot]
a4ef97afd9
📝 Update release notes
...
[skip ci]
2025-11-24 19:03:33 +00:00
Motov Yurii
51ad909ffe
🐛 Use `401` status code in security classes when credentials are missing ( #13786 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-11-24 20:03:06 +01:00
github-actions[bot]
e2354a0a06
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:36 +00:00
github-actions[bot]
cc66dee55c
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:29 +00:00
github-actions[bot]
ecfb752487
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:13 +00:00
github-actions[bot]
8b18522205
📝 Update release notes
...
[skip ci]
2025-11-24 15:00:12 +00:00
github-actions[bot]
a2395e0243
📝 Update release notes
...
[skip ci]
2025-11-24 14:59:55 +00:00
github-actions[bot]
c7d05a903c
📝 Update release notes
...
[skip ci]
2025-11-24 14:58:56 +00:00
Sofie Van Landeghem
ab33b45718
👷 Upgrade `latest-changes` GitHub Action and pin `actions/checkout@v5` ( #14403 )
...
👷 Upgrade latest-changes and pin actions/checkout@v5
2025-11-24 15:58:32 +01:00
Motov Yurii
5265c4f5cb
🔧 Configure labeler to exclude files that start from underscore for `lang-all` label ( #14213 )
2025-11-23 21:10:04 +01:00
Sebastián Ramírez
4f3ff79736
👷 Add pre-commit config with local script for permalinks ( #14398 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-23 18:41:43 +01:00
Sebastián Ramírez
79bc4b9ca0
👷 Add custom pre-commit CI ( #14397 )
2025-11-23 17:36:34 +01:00
Sebastián Ramírez
ae951f6981
💄 Use font Fira Code to fix display of Rich panels in docs in Windows ( #14387 )
2025-11-23 10:27:40 +01:00
dependabot[bot]
cbe5bdb85f
⬆ Bump actions/checkout from 5 to 6 ( #14381 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 14:03:21 +01:00
github-actions[bot]
2909f8a628
📝 Update release notes
...
[skip ci]
2025-11-21 12:49:34 +00:00
Motov Yurii
32b375c5e4
🛠️ Add `add-permalinks` and `add-permalinks-page` to `scripts/docs.py` ( #14033 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-11-21 13:49:11 +01:00
github-actions[bot]
456008a52b
📝 Update release notes
...
[skip ci]
2025-11-20 10:45:39 +00:00
Sebastián Ramírez
be5a6311f5
🔧 Upgrade Material for MkDocs and remove insiders ( #14375 )
2025-11-20 11:45:16 +01:00
Sebastián Ramírez
325fd16d32
🔖 Release version 0.121.3
2025-11-19 17:51:59 +01:00
github-actions[bot]
7659b70da0
📝 Update release notes
...
[skip ci]
2025-11-19 16:50:42 +00:00
Sebastián Ramírez
85701631a0
♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts ( #14372 )
2025-11-19 17:50:18 +01:00
github-actions[bot]
566e3157a5
📝 Update release notes
...
[skip ci]
2025-11-19 11:55:32 +00:00
Ben Beasley
569226e753
⬆️ Bump Starlette to <`0.51.0` ( #14282 )
2025-11-19 12:55:05 +01:00
github-actions[bot]
33a75f4817
📝 Update release notes
...
[skip ci]
2025-11-19 10:12:24 +00:00
Nils-Hero Lindemann
89baa704a9
📝 Add missing hash part ( #14369 )
...
Add missing hash part
Was forgotten in #14359 . I already added it in #14367
2025-11-19 11:12:00 +01:00
github-actions[bot]
827ed1e6a2
📝 Update release notes
...
[skip ci]
2025-11-18 08:30:46 +00:00
Edge-Seven
df83eb7278
📝 Fix typos in code comments ( #14364 )
...
Fix typos in some files
Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
2025-11-18 09:30:20 +01:00
github-actions[bot]
4e84f31694
📝 Update release notes
...
[skip ci]
2025-11-17 19:34:16 +00:00
Sebastián Ramírez
994d6cc912
📝 Add docs for using FastAPI Cloud ( #14359 )
2025-11-17 20:33:53 +01:00
Sebastián Ramírez
02e108d166
🔖 Release version 0.121.2
2025-11-13 18:03:55 +01:00
github-actions[bot]
d3b75974f4
📝 Update release notes
...
[skip ci]
2025-11-13 13:59:34 +00:00
Sebastián Ramírez
5d40dfbc9b
🐛 Fix handling of JSON Schema attributes named "$ref" ( #14349 )
2025-11-13 14:59:07 +01:00
github-actions[bot]
eaf611f9ee
📝 Update release notes
...
[skip ci]
2025-11-13 09:22:06 +00:00
Mia Bajić
004ab1a9d1
📝 Add EuroPython talk & podcast episode with Sebastián Ramírez ( #14260 )
...
Add EuroPython & podcast episode with Sebastián Ramírez
2025-11-13 10:21:43 +01:00
github-actions[bot]
d1be85c728
📝 Update release notes
...
[skip ci]
2025-11-13 07:37:43 +00:00
Motov Yurii
42930fe600
✏️ Fix links and add missing permalink in docs ( #14217 )
...
* Fix link url to match link text
* Add missing permalink in `behind-a-proxy.md`
* Fix link in `advanced-dependencies.md`
2025-11-13 08:37:15 +01:00
github-actions[bot]
9e362d9f6e
📝 Update release notes
...
[skip ci]
2025-11-12 16:24:24 +00:00
Rafael de Oliveira Marques
540a83da65
🌐 Update Portuguese translations with LLM prompt ( #14228 )
...
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* validated llm translation
* fix non-Annotated in llm-prompt
* rerun after a few changes in llm-prompt
* fix non-Annotated
* validated llm translation
* fix llm translation
* update outdated translations
* fix translation for operation IDs
* add header link
* add missing link
* fix line break
* fix diff
* fix llm translation
* fix 'Atualize' to 'Atualizar'
* update alternatives.md
* update async.md
* update fastapi-cli.md
* update features.md
* update help-fastapi.md
* update history-design-future.md
* update index.md
* update advanced/events.md
* update advanced/middleware.md
* update advanced/response-cookies.md
* update advanced/response-headers.md
* update advanced/templates.md
* update advanced/testing-websockets.md
* update advanced/using-request-directly.md
* update advanced/websockets.md
* update advanced/security/oauth2-scopes.md
* update deployment/cloud.md
* update deployment/manually.md
* update how-to/custom-request-and-route.md
* update how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
* update tutorial/background-tasks.md
* update tutorial/first-steps.md
* update tutorial/handling-errors.md
* update tutorial/middleware.md
* update tutorial/request-files.md
* update tutorial/sql-databases.md
* update tutorial/static-files.md
* update tutorial/testing.md
* update tutorial/dependencies/dependencies-with-yield.md
* update advanced/advanced-dependencies.md
---------
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
2025-11-12 17:23:57 +01:00
github-actions[bot]
1a2e4152ed
📝 Update release notes
...
[skip ci]
2025-11-12 15:23:24 +00:00
Rafael de Oliveira Marques
0878361f6b
🔨 Add Portuguese translations LLM prompt ( #14208 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-12 16:22:59 +01:00
github-actions[bot]
6fae64ff49
📝 Update release notes
...
[skip ci]
2025-11-10 20:55:20 +00:00
Motov Yurii
c09ba719ba
🌐 Sync Russian docs ( #14331 )
...
Update outdated\missing pages in Rus translations
2025-11-10 21:54:56 +01:00
github-actions[bot]
409e7b503c
📝 Update release notes
...
[skip ci]
2025-11-10 08:34:48 +00:00
Nils-Hero Lindemann
db488f3220
🌐 Sync German docs ( #14317 )
...
* Sync with #14262
* Sync with #14287
* Two improvements
* "Frühzeitig beenden" -> "Frühes Beenden"
* "Make herum" bold too
2025-11-10 09:34:25 +01:00
Sebastián Ramírez
1c7e2540c2
🔖 Release version 0.121.1
2025-11-08 22:47:00 +01:00
github-actions[bot]
9e5439959a
📝 Update release notes
...
[skip ci]
2025-11-08 21:43:59 +00:00
luzzodev
282f372eda
🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies ( #14301 )
2025-11-08 22:43:30 +01:00