🐛 Preserve traceback when an exception is raised in sync dependency with yield. PR #5823 by @sombek.
Refactors
♻️ Update tests and internals for compatibility with Pydantic >=2.10. PR #12971 by @tamird.
Docs
📝 Update includes format in docs with an automated script. PR #12950 by @tiangolo.
📝 Update includes for docs/de/docs/advanced/using-request-directly.md. PR #12685 by @alissadb.
📝 Update includes for docs/de/docs/how-to/conditional-openapi.md. PR #12689 by @alissadb.
Translations
🌐 Add Traditional Chinese translation for docs/zh-hant/docs/async.md. PR #12990 by @ILoveSorasakiHina.
🌐 Add Traditional Chinese translation for docs/zh-hant/docs/tutorial/query-param-models.md. PR #12932 by @Vincy1230.
🌐 Add Korean translation for docs/ko/docs/advanced/testing-dependencies.md. PR #12992 by @Limsunoh.
🌐 Add Korean translation for docs/ko/docs/advanced/websockets.md. PR #12991 by @kwang1215.
🌐 Add Portuguese translation for docs/pt/docs/tutorial/response-model.md. PR #12933 by @AndreBBM.
🌐 Add Korean translation for docs/ko/docs/advanced/middlewares.md. PR #12753 by @nahyunkeem.
🌐 Add Korean translation for docs/ko/docs/advanced/openapi-webhooks.md. PR #12752 by @saeye.
🌐 Add Chinese translation for docs/zh/docs/tutorial/query-param-models.md. PR #12931 by @Vincy1230.
🌐 Add Russian translation for docs/ru/docs/tutorial/query-param-models.md. PR #12445 by @gitgernit.
🌐 Add Korean translation for docs/ko/docs/tutorial/query-param-models.md. PR #12940 by @jts8257.
🔥 Remove obsolete tutorial translation to Chinese for docs/zh/docs/tutorial/sql-databases.md, it references files that are no longer on the repo. PR #12949 by @tiangolo.
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [fastapi](https://github.com/fastapi/fastapi) ([changelog](https://fastapi.tiangolo.com/release-notes/)) | minor | `==0.114.0` -> `==0.115.8` |
---
### Release Notes
<details>
<summary>fastapi/fastapi (fastapi)</summary>
### [`v0.115.8`](https://github.com/fastapi/fastapi/releases/tag/0.115.8)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.7...0.115.8)
##### Fixes
- 🐛 Fix `OAuth2PasswordRequestForm` and `OAuth2PasswordRequestFormStrict` fixed `grant_type` "password" RegEx. PR [#​9783](https://github.com/fastapi/fastapi/pull/9783) by [@​skarfie123](https://github.com/skarfie123).
##### Refactors
- ✅ Simplify tests for body_multiple_params . PR [#​13237](https://github.com/fastapi/fastapi/pull/13237) by [@​alejsdev](https://github.com/alejsdev).
- ♻️ Move duplicated code portion to a static method in the `APIKeyBase` super class. PR [#​3142](https://github.com/fastapi/fastapi/pull/3142) by [@​ShahriyarR](https://github.com/ShahriyarR).
- ✅ Simplify tests for request_files. PR [#​13182](https://github.com/fastapi/fastapi/pull/13182) by [@​alejsdev](https://github.com/alejsdev).
##### Docs
- 📝 Change the word "unwrap" to "unpack" in `docs/en/docs/tutorial/extra-models.md`. PR [#​13061](https://github.com/fastapi/fastapi/pull/13061) by [@​timothy-jeong](https://github.com/timothy-jeong).
- 📝 Update Request Body's `tutorial002` to deal with `tax=0` case. PR [#​13230](https://github.com/fastapi/fastapi/pull/13230) by [@​togogh](https://github.com/togogh).
- 👥 Update FastAPI People - Experts. PR [#​13269](https://github.com/fastapi/fastapi/pull/13269) by [@​tiangolo](https://github.com/tiangolo).
##### Translations
- 🌐 Add Japanese translation for `docs/ja/docs/environment-variables.md`. PR [#​13226](https://github.com/fastapi/fastapi/pull/13226) by [@​k94-ishi](https://github.com/k94-ishi).
- 🌐 Add Russian translation for `docs/ru/docs/advanced/async-tests.md`. PR [#​13227](https://github.com/fastapi/fastapi/pull/13227) by [@​Rishat-F](https://github.com/Rishat-F).
- 🌐 Update Russian translation for `docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#​13252](https://github.com/fastapi/fastapi/pull/13252) by [@​Rishat-F](https://github.com/Rishat-F).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/bigger-applications.md`. PR [#​13154](https://github.com/fastapi/fastapi/pull/13154) by [@​alv2017](https://github.com/alv2017).
##### Internal
- ⬆️ Add support for Python 3.13. PR [#​13274](https://github.com/fastapi/fastapi/pull/13274) by [@​tiangolo](https://github.com/tiangolo).
- ⬆️ Upgrade AnyIO max version for tests, new range: `>=3.2.1,<5.0.0`. PR [#​13273](https://github.com/fastapi/fastapi/pull/13273) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update Sponsors badges. PR [#​13271](https://github.com/fastapi/fastapi/pull/13271) by [@​tiangolo](https://github.com/tiangolo).
- ♻️ Fix `notify_translations.py` empty env var handling for PR label events vs workflow_dispatch. PR [#​13272](https://github.com/fastapi/fastapi/pull/13272) by [@​tiangolo](https://github.com/tiangolo).
- ♻️ Refactor and move `scripts/notify_translations.py`, no need for a custom GitHub Action. PR [#​13270](https://github.com/fastapi/fastapi/pull/13270) by [@​tiangolo](https://github.com/tiangolo).
- 🔨 Update FastAPI People Experts script, refactor and optimize data fetching to handle rate limits. PR [#​13267](https://github.com/fastapi/fastapi/pull/13267) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4. PR [#​13251](https://github.com/fastapi/fastapi/pull/13251) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
### [`v0.115.7`](https://github.com/fastapi/fastapi/releases/tag/0.115.7)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.6...0.115.7)
##### Upgrades
- ⬆️ Upgrade `python-multipart` to >=0.0.18. PR [#​13219](https://github.com/fastapi/fastapi/pull/13219) by [@​DanielKusyDev](https://github.com/DanielKusyDev).
- ⬆️ Bump Starlette to allow up to 0.45.0: `>=0.40.0,<0.46.0`. PR [#​13117](https://github.com/fastapi/fastapi/pull/13117) by [@​Kludex](https://github.com/Kludex).
- ⬆️ Upgrade `jinja2` to >=3.1.5. PR [#​13194](https://github.com/fastapi/fastapi/pull/13194) by [@​DanielKusyDev](https://github.com/DanielKusyDev).
##### Refactors
- ✅ Simplify tests for websockets. PR [#​13202](https://github.com/fastapi/fastapi/pull/13202) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for request_form_models . PR [#​13183](https://github.com/fastapi/fastapi/pull/13183) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for separate_openapi_schemas. PR [#​13201](https://github.com/fastapi/fastapi/pull/13201) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for security. PR [#​13200](https://github.com/fastapi/fastapi/pull/13200) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for schema_extra_example. PR [#​13197](https://github.com/fastapi/fastapi/pull/13197) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for request_model. PR [#​13195](https://github.com/fastapi/fastapi/pull/13195) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for request_forms_and_files. PR [#​13185](https://github.com/fastapi/fastapi/pull/13185) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for request_forms. PR [#​13184](https://github.com/fastapi/fastapi/pull/13184) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for path_query_params. PR [#​13181](https://github.com/fastapi/fastapi/pull/13181) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for path_operation_configurations. PR [#​13180](https://github.com/fastapi/fastapi/pull/13180) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for header_params. PR [#​13179](https://github.com/fastapi/fastapi/pull/13179) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for extra_models. PR [#​13178](https://github.com/fastapi/fastapi/pull/13178) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for extra_data_types. PR [#​13177](https://github.com/fastapi/fastapi/pull/13177) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for cookie_params. PR [#​13176](https://github.com/fastapi/fastapi/pull/13176) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for dependencies. PR [#​13174](https://github.com/fastapi/fastapi/pull/13174) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for body_updates. PR [#​13172](https://github.com/fastapi/fastapi/pull/13172) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for body_nested_models. PR [#​13171](https://github.com/fastapi/fastapi/pull/13171) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for body_multiple_params. PR [#​13170](https://github.com/fastapi/fastapi/pull/13170) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for body_fields. PR [#​13169](https://github.com/fastapi/fastapi/pull/13169) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for body. PR [#​13168](https://github.com/fastapi/fastapi/pull/13168) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for bigger_applications. PR [#​13167](https://github.com/fastapi/fastapi/pull/13167) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for background_tasks. PR [#​13166](https://github.com/fastapi/fastapi/pull/13166) by [@​alejsdev](https://github.com/alejsdev).
- ✅ Simplify tests for additional_status_codes. PR [#​13149](https://github.com/fastapi/fastapi/pull/13149) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- ✏️ Update Strawberry integration docs. PR [#​13155](https://github.com/fastapi/fastapi/pull/13155) by [@​kinuax](https://github.com/kinuax).
- 🔥 Remove unused Peewee tutorial files. PR [#​13158](https://github.com/fastapi/fastapi/pull/13158) by [@​alejsdev](https://github.com/alejsdev).
- 📝 Update image in body-nested-model docs. PR [#​11063](https://github.com/fastapi/fastapi/pull/11063) by [@​untilhamza](https://github.com/untilhamza).
- 📝 Update `fastapi-cli` UI examples in docs. PR [#​13107](https://github.com/fastapi/fastapi/pull/13107) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 👷 Add new GitHub Action to update contributors, translators, and translation reviewers. PR [#​13136](https://github.com/fastapi/fastapi/pull/13136) by [@​tiangolo](https://github.com/tiangolo).
- ✏️ Fix typo in `docs/en/docs/virtual-environments.md`. PR [#​13124](https://github.com/fastapi/fastapi/pull/13124) by [@​tiangolo](https://github.com/tiangolo).
- ✏️ Fix error in `docs/en/docs/contributing.md`. PR [#​12899](https://github.com/fastapi/fastapi/pull/12899) by [@​kingsubin](https://github.com/kingsubin).
- 📝 Minor corrections in `docs/en/docs/tutorial/sql-databases.md`. PR [#​13081](https://github.com/fastapi/fastapi/pull/13081) by [@​alv2017](https://github.com/alv2017).
- 📝 Update includes in `docs/ru/docs/tutorial/query-param-models.md`. PR [#​12994](https://github.com/fastapi/fastapi/pull/12994) by [@​alejsdev](https://github.com/alejsdev).
- ✏️ Fix typo in README installation instructions. PR [#​13011](https://github.com/fastapi/fastapi/pull/13011) by [@​dave-hay](https://github.com/dave-hay).
- 📝 Update docs for `fastapi-cli`. PR [#​13031](https://github.com/fastapi/fastapi/pull/13031) by [@​tiangolo](https://github.com/tiangolo).
##### Translations
- 🌐 Update Portuguese Translation for `docs/pt/docs/tutorial/request-forms.md`. PR [#​13216](https://github.com/fastapi/fastapi/pull/13216) by [@​Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
- 🌐 Update Portuguese translation for `docs/pt/docs/advanced/settings.md`. PR [#​13209](https://github.com/fastapi/fastapi/pull/13209) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/security/oauth2-jwt.md`. PR [#​13205](https://github.com/fastapi/fastapi/pull/13205) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Indonesian translation for `docs/id/docs/index.md`. PR [#​13191](https://github.com/fastapi/fastapi/pull/13191) by [@​gerry-sabar](https://github.com/gerry-sabar).
- 🌐 Add Indonesian translation for `docs/id/docs/tutorial/static-files.md`. PR [#​13092](https://github.com/fastapi/fastapi/pull/13092) by [@​guspan-tanadi](https://github.com/guspan-tanadi).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/security/get-current-user.md`. PR [#​13188](https://github.com/fastapi/fastapi/pull/13188) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Remove Wrong Portuguese translations location for `docs/pt/docs/advanced/benchmarks.md`. PR [#​13187](https://github.com/fastapi/fastapi/pull/13187) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Update Portuguese translations. PR [#​13156](https://github.com/fastapi/fastapi/pull/13156) by [@​nillvitor](https://github.com/nillvitor).
- 🌐 Update Russian translation for `docs/ru/docs/tutorial/security/first-steps.md`. PR [#​13159](https://github.com/fastapi/fastapi/pull/13159) by [@​Yarous](https://github.com/Yarous).
- ✏️ Delete unnecessary backspace in `docs/ja/docs/tutorial/path-params-numeric-validations.md`. PR [#​12238](https://github.com/fastapi/fastapi/pull/12238) by [@​FakeDocument](https://github.com/FakeDocument).
- 🌐 Update Chinese translation for `docs/zh/docs/fastapi-cli.md`. PR [#​13102](https://github.com/fastapi/fastapi/pull/13102) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Add new Spanish translations for all docs with new LLM-assisted system using PydanticAI. PR [#​13122](https://github.com/fastapi/fastapi/pull/13122) by [@​tiangolo](https://github.com/tiangolo).
- 🌐 Update existing Spanish translations using the new LLM-assisted system using PydanticAI. PR [#​13118](https://github.com/fastapi/fastapi/pull/13118) by [@​tiangolo](https://github.com/tiangolo).
- 🌐 Update Chinese translation for `docs/zh/docs/advanced/security/oauth2-scopes.md`. PR [#​13110](https://github.com/fastapi/fastapi/pull/13110) by [@​ChenPu2002](https://github.com/ChenPu2002).
- 🌐 Add Indonesian translation for `docs/id/docs/tutorial/path-params.md`. PR [#​13086](https://github.com/fastapi/fastapi/pull/13086) by [@​gerry-sabar](https://github.com/gerry-sabar).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/sql-databases.md`. PR [#​13093](https://github.com/fastapi/fastapi/pull/13093) by [@​GeumBinLee](https://github.com/GeumBinLee).
- 🌐 Update Chinese translation for `docs/zh/docs/async.md`. PR [#​13095](https://github.com/fastapi/fastapi/pull/13095) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Add Chinese translation for `docs/zh/docs/advanced/openapi-webhooks.md`. PR [#​13091](https://github.com/fastapi/fastapi/pull/13091) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Add Chinese translation for `docs/zh/docs/advanced/async-tests.md`. PR [#​13074](https://github.com/fastapi/fastapi/pull/13074) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Add Ukrainian translation for `docs/uk/docs/fastapi-cli.md`. PR [#​13020](https://github.com/fastapi/fastapi/pull/13020) by [@​ykertytsky](https://github.com/ykertytsky).
- 🌐 Add Chinese translation for `docs/zh/docs/advanced/events.md`. PR [#​12512](https://github.com/fastapi/fastapi/pull/12512) by [@​ZhibangYue](https://github.com/ZhibangYue).
- 🌐 Add Russian translation for `/docs/ru/docs/tutorial/sql-databases.md`. PR [#​13079](https://github.com/fastapi/fastapi/pull/13079) by [@​alv2017](https://github.com/alv2017).
- 🌐 Update Chinese translation for `docs/zh/docs/advanced/testing-dependencies.md`. PR [#​13066](https://github.com/fastapi/fastapi/pull/13066) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#​13075](https://github.com/fastapi/fastapi/pull/13075) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Chinese translation for `docs/zh/docs/tutorial/sql-databases.md`. PR [#​13051](https://github.com/fastapi/fastapi/pull/13051) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params-str-validations.md`. PR [#​12928](https://github.com/fastapi/fastapi/pull/12928) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Chinese translation for `docs/zh/docs/tutorial/header-param-models.md`. PR [#​13040](https://github.com/fastapi/fastapi/pull/13040) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Update Chinese translation for `docs/zh/docs/tutorial/path-params.md`. PR [#​12926](https://github.com/fastapi/fastapi/pull/12926) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Update Chinese translation for `docs/zh/docs/tutorial/first-steps.md`. PR [#​12923](https://github.com/fastapi/fastapi/pull/12923) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Update Russian translation for `docs/ru/docs/deployment/docker.md`. PR [#​13048](https://github.com/fastapi/fastapi/pull/13048) by [@​anklav24](https://github.com/anklav24).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/generate-clients.md`. PR [#​13030](https://github.com/fastapi/fastapi/pull/13030) by [@​vitumenezes](https://github.com/vitumenezes).
- 🌐 Add Indonesian translation for `docs/id/docs/tutorial/first-steps.md`. PR [#​13042](https://github.com/fastapi/fastapi/pull/13042) by [@​gerry-sabar](https://github.com/gerry-sabar).
- 🌐 Add Chinese translation for `docs/zh/docs/tutorial/cookie-param-models.md`. PR [#​13038](https://github.com/fastapi/fastapi/pull/13038) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Add Chinese translation for `docs/zh/docs/tutorial/request-form-models.md`. PR [#​13045](https://github.com/fastapi/fastapi/pull/13045) by [@​Zhongheng-Cheng](https://github.com/Zhongheng-Cheng).
- 🌐 Add Russian translation for `docs/ru/docs/virtual-environments.md`. PR [#​13026](https://github.com/fastapi/fastapi/pull/13026) by [@​alv2017](https://github.com/alv2017).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/testing.md`. PR [#​12968](https://github.com/fastapi/fastapi/pull/12968) by [@​jts8257](https://github.com/jts8257).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/async-test.md`. PR [#​12918](https://github.com/fastapi/fastapi/pull/12918) by [@​icehongssii](https://github.com/icehongssii).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/security/oauth2-jwt.md`. PR [#​10601](https://github.com/fastapi/fastapi/pull/10601) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/security/simple-oauth2.md`. PR [#​10599](https://github.com/fastapi/fastapi/pull/10599) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/security/get-current-user.md`. PR [#​10594](https://github.com/fastapi/fastapi/pull/10594) by [@​AlertRED](https://github.com/AlertRED).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/features.md`. PR [#​12441](https://github.com/fastapi/fastapi/pull/12441) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/virtual-environments.md`. PR [#​12791](https://github.com/fastapi/fastapi/pull/12791) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/templates.md`. PR [#​12726](https://github.com/fastapi/fastapi/pull/12726) by [@​Heumhub](https://github.com/Heumhub).
- 🌐 Add Russian translation for `docs/ru/docs/fastapi-cli.md`. PR [#​13041](https://github.com/fastapi/fastapi/pull/13041) by [@​alv2017](https://github.com/alv2017).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/cookie-param-models.md`. PR [#​13000](https://github.com/fastapi/fastapi/pull/13000) by [@​hard-coders](https://github.com/hard-coders).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/header-param-models.md`. PR [#​13001](https://github.com/fastapi/fastapi/pull/13001) by [@​hard-coders](https://github.com/hard-coders).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/request-form-models.md`. PR [#​13002](https://github.com/fastapi/fastapi/pull/13002) by [@​hard-coders](https://github.com/hard-coders).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/request-forms.md`. PR [#​13003](https://github.com/fastapi/fastapi/pull/13003) by [@​hard-coders](https://github.com/hard-coders).
- 🌐 Add Korean translation for `docs/ko/docs/resources/index.md`. PR [#​13004](https://github.com/fastapi/fastapi/pull/13004) by [@​hard-coders](https://github.com/hard-coders).
- 🌐 Add Korean translation for `docs/ko/docs/how-to/configure-swagger-ui.md`. PR [#​12898](https://github.com/fastapi/fastapi/pull/12898) by [@​nahyunkeem](https://github.com/nahyunkeem).
- 🌐 Add Korean translation to `docs/ko/docs/advanced/additional-status-codes.md`. PR [#​12715](https://github.com/fastapi/fastapi/pull/12715) by [@​nahyunkeem](https://github.com/nahyunkeem).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/tutorial/first-steps.md`. PR [#​12467](https://github.com/fastapi/fastapi/pull/12467) by [@​codingjenny](https://github.com/codingjenny).
##### Internal
- 🔧 Add Pydantic 2 trove classifier. PR [#​13199](https://github.com/fastapi/fastapi/pull/13199) by [@​johnthagen](https://github.com/johnthagen).
- 👥 Update FastAPI People - Sponsors. PR [#​13231](https://github.com/fastapi/fastapi/pull/13231) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Refactor FastAPI People Sponsors to use 2 tokens. PR [#​13228](https://github.com/fastapi/fastapi/pull/13228) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Update token for FastAPI People - Sponsors. PR [#​13225](https://github.com/fastapi/fastapi/pull/13225) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Add independent CI automation for FastAPI People - Sponsors. PR [#​13221](https://github.com/fastapi/fastapi/pull/13221) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Add retries to Smokeshow. PR [#​13151](https://github.com/fastapi/fastapi/pull/13151) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Update Speakeasy sponsor graphic. PR [#​13147](https://github.com/fastapi/fastapi/pull/13147) by [@​chailandau](https://github.com/chailandau).
- 👥 Update FastAPI GitHub topic repositories. PR [#​13146](https://github.com/fastapi/fastapi/pull/13146) by [@​tiangolo](https://github.com/tiangolo).
- 👷♀️ Add script for GitHub Topic Repositories and update External Links. PR [#​13135](https://github.com/fastapi/fastapi/pull/13135) by [@​alejsdev](https://github.com/alejsdev).
- 👥 Update FastAPI People - Contributors and Translators. PR [#​13145](https://github.com/fastapi/fastapi/pull/13145) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump markdown-include-variants from 0.0.3 to 0.0.4. PR [#​13129](https://github.com/fastapi/fastapi/pull/13129) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump inline-snapshot from 0.14.0 to 0.18.1. PR [#​13132](https://github.com/fastapi/fastapi/pull/13132) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump mkdocs-macros-plugin from 1.0.5 to 1.3.7. PR [#​13133](https://github.com/fastapi/fastapi/pull/13133) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 🔨 Add internal scripts to generate language translations with PydanticAI, include Spanish prompt. PR [#​13123](https://github.com/fastapi/fastapi/pull/13123) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump astral-sh/setup-uv from 4 to 5. PR [#​13096](https://github.com/fastapi/fastapi/pull/13096) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 🔧 Update sponsors: rename CryptAPI to BlockBee. PR [#​13078](https://github.com/fastapi/fastapi/pull/13078) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3. PR [#​13055](https://github.com/fastapi/fastapi/pull/13055) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump types-ujson from 5.7.0.1 to 5.10.0.20240515. PR [#​13018](https://github.com/fastapi/fastapi/pull/13018) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump black from 24.3.0 to 24.10.0. PR [#​13014](https://github.com/fastapi/fastapi/pull/13014) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump inline-snapshot from 0.13.0 to 0.14.0. PR [#​13017](https://github.com/fastapi/fastapi/pull/13017) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump dirty-equals from 0.6.0 to 0.8.0. PR [#​13015](https://github.com/fastapi/fastapi/pull/13015) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump cloudflare/wrangler-action from 3.12 to 3.13. PR [#​12996](https://github.com/fastapi/fastapi/pull/12996) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump astral-sh/setup-uv from 3 to 4. PR [#​12982](https://github.com/fastapi/fastapi/pull/12982) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 🔧 Remove duplicate actions/checkout in `notify-translations.yml`. PR [#​12915](https://github.com/fastapi/fastapi/pull/12915) by [@​tinyboxvk](https://github.com/tinyboxvk).
- 🔧 Update team members. PR [#​13033](https://github.com/fastapi/fastapi/pull/13033) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update sponsors: remove Codacy. PR [#​13032](https://github.com/fastapi/fastapi/pull/13032) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.115.6`](https://github.com/fastapi/fastapi/releases/tag/0.115.6)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.5...0.115.6)
##### Fixes
- 🐛 Preserve traceback when an exception is raised in sync dependency with `yield`. PR [#​5823](https://github.com/fastapi/fastapi/pull/5823) by [@​sombek](https://github.com/sombek).
##### Refactors
- ♻️ Update tests and internals for compatibility with Pydantic >=2.10. PR [#​12971](https://github.com/fastapi/fastapi/pull/12971) by [@​tamird](https://github.com/tamird).
##### Docs
- 📝 Update includes format in docs with an automated script. PR [#​12950](https://github.com/fastapi/fastapi/pull/12950) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes for `docs/de/docs/advanced/using-request-directly.md`. PR [#​12685](https://github.com/fastapi/fastapi/pull/12685) by [@​alissadb](https://github.com/alissadb).
- 📝 Update includes for `docs/de/docs/how-to/conditional-openapi.md`. PR [#​12689](https://github.com/fastapi/fastapi/pull/12689) by [@​alissadb](https://github.com/alissadb).
##### Translations
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/async.md`. PR [#​12990](https://github.com/fastapi/fastapi/pull/12990) by [@​ILoveSorasakiHina](https://github.com/ILoveSorasakiHina).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/tutorial/query-param-models.md`. PR [#​12932](https://github.com/fastapi/fastapi/pull/12932) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-dependencies.md`. PR [#​12992](https://github.com/fastapi/fastapi/pull/12992) by [@​Limsunoh](https://github.com/Limsunoh).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/websockets.md`. PR [#​12991](https://github.com/fastapi/fastapi/pull/12991) by [@​kwang1215](https://github.com/kwang1215).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/response-model.md`. PR [#​12933](https://github.com/fastapi/fastapi/pull/12933) by [@​AndreBBM](https://github.com/AndreBBM).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/middlewares.md`. PR [#​12753](https://github.com/fastapi/fastapi/pull/12753) by [@​nahyunkeem](https://github.com/nahyunkeem).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/openapi-webhooks.md`. PR [#​12752](https://github.com/fastapi/fastapi/pull/12752) by [@​saeye](https://github.com/saeye).
- 🌐 Add Chinese translation for `docs/zh/docs/tutorial/query-param-models.md`. PR [#​12931](https://github.com/fastapi/fastapi/pull/12931) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Russian translation for `docs/ru/docs/tutorial/query-param-models.md`. PR [#​12445](https://github.com/fastapi/fastapi/pull/12445) by [@​gitgernit](https://github.com/gitgernit).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/query-param-models.md`. PR [#​12940](https://github.com/fastapi/fastapi/pull/12940) by [@​jts8257](https://github.com/jts8257).
- 🔥 Remove obsolete tutorial translation to Chinese for `docs/zh/docs/tutorial/sql-databases.md`, it references files that are no longer on the repo. PR [#​12949](https://github.com/fastapi/fastapi/pull/12949) by [@​tiangolo](https://github.com/tiangolo).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12954](https://github.com/fastapi/fastapi/pull/12954) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
### [`v0.115.5`](https://github.com/fastapi/fastapi/releases/tag/0.115.5)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.4...0.115.5)
##### Refactors
- ♻️ Update internal checks to support Pydantic 2.10. PR [#​12914](https://github.com/fastapi/fastapi/pull/12914) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- 📝 Update includes for `docs/en/docs/tutorial/body.md`. PR [#​12757](https://github.com/fastapi/fastapi/pull/12757) by [@​gsheni](https://github.com/gsheni).
- 📝 Update includes in `docs/en/docs/advanced/testing-dependencies.md`. PR [#​12647](https://github.com/fastapi/fastapi/pull/12647) by [@​AyushSinghal1794](https://github.com/AyushSinghal1794).
- 📝 Update includes for `docs/en/docs/tutorial/metadata.md`. PR [#​12773](https://github.com/fastapi/fastapi/pull/12773) by [@​Nimitha-jagadeesha](https://github.com/Nimitha-jagadeesha).
- 📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#​12045](https://github.com/fastapi/fastapi/pull/12045) by [@​xuvjso](https://github.com/xuvjso).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/global-dependencies.md`. PR [#​12653](https://github.com/fastapi/fastapi/pull/12653) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/body-updates.md`. PR [#​12712](https://github.com/fastapi/fastapi/pull/12712) by [@​davioc](https://github.com/davioc).
- 📝 Remove mention of Celery in the project generators. PR [#​12742](https://github.com/fastapi/fastapi/pull/12742) by [@​david-caro](https://github.com/david-caro).
- 📝 Update includes in `docs/en/docs/tutorial/header-param-models.md`. PR [#​12814](https://github.com/fastapi/fastapi/pull/12814) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update `contributing.md` docs, include note to not translate this page. PR [#​12841](https://github.com/fastapi/fastapi/pull/12841) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes in `docs/en/docs/tutorial/request-forms.md`. PR [#​12648](https://github.com/fastapi/fastapi/pull/12648) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes in `docs/en/docs/tutorial/request-form-models.md`. PR [#​12649](https://github.com/fastapi/fastapi/pull/12649) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes in `docs/en/docs/tutorial/security/oauth2-jwt.md`. PR [#​12650](https://github.com/fastapi/fastapi/pull/12650) by [@​OCE1960](https://github.com/OCE1960).
- 📝 Update includes in `docs/vi/docs/tutorial/first-steps.md`. PR [#​12754](https://github.com/fastapi/fastapi/pull/12754) by [@​MxPy](https://github.com/MxPy).
- 📝 Update includes for `docs/pt/docs/advanced/wsgi.md`. PR [#​12769](https://github.com/fastapi/fastapi/pull/12769) by [@​Nimitha-jagadeesha](https://github.com/Nimitha-jagadeesha).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#​12815](https://github.com/fastapi/fastapi/pull/12815) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [#​12813](https://github.com/fastapi/fastapi/pull/12813) by [@​handabaldeep](https://github.com/handabaldeep).
- ✏️ Fix error in `docs/en/docs/tutorial/middleware.md`. PR [#​12819](https://github.com/fastapi/fastapi/pull/12819) by [@​alejsdev](https://github.com/alejsdev).
- 📝 Update includes for `docs/en/docs/tutorial/security/get-current-user.md`. PR [#​12645](https://github.com/fastapi/fastapi/pull/12645) by [@​OCE1960](https://github.com/OCE1960).
- 📝 Update includes for `docs/en/docs/tutorial/security/first-steps.md`. PR [#​12643](https://github.com/fastapi/fastapi/pull/12643) by [@​OCE1960](https://github.com/OCE1960).
- 📝 Update includes in `docs/de/docs/advanced/additional-responses.md`. PR [#​12821](https://github.com/fastapi/fastapi/pull/12821) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/advanced/generate-clients.md`. PR [#​12642](https://github.com/fastapi/fastapi/pull/12642) by [@​AyushSinghal1794](https://github.com/AyushSinghal1794).
- 📝 Fix admonition double quotes with new syntax. PR [#​12835](https://github.com/fastapi/fastapi/pull/12835) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes in `docs/zh/docs/advanced/additional-responses.md`. PR [#​12828](https://github.com/fastapi/fastapi/pull/12828) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/tutorial/path-params-numeric-validations.md`. PR [#​12825](https://github.com/fastapi/fastapi/pull/12825) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes for `docs/en/docs/advanced/testing-websockets.md`. PR [#​12761](https://github.com/fastapi/fastapi/pull/12761) by [@​hamidrasti](https://github.com/hamidrasti).
- 📝 Update includes for `docs/en/docs/advanced/using-request-directly.md`. PR [#​12760](https://github.com/fastapi/fastapi/pull/12760) by [@​hamidrasti](https://github.com/hamidrasti).
- 📝 Update includes for `docs/advanced/wsgi.md`. PR [#​12758](https://github.com/fastapi/fastapi/pull/12758) by [@​hamidrasti](https://github.com/hamidrasti).
- 📝 Update includes in `docs/de/docs/tutorial/middleware.md`. PR [#​12729](https://github.com/fastapi/fastapi/pull/12729) by [@​paintdog](https://github.com/paintdog).
- 📝 Update includes for `docs/en/docs/tutorial/schema-extra-example.md`. PR [#​12822](https://github.com/fastapi/fastapi/pull/12822) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes in `docs/fr/docs/advanced/additional-responses.md`. PR [#​12634](https://github.com/fastapi/fastapi/pull/12634) by [@​fegmorte](https://github.com/fegmorte).
- 📝 Update includes in `docs/fr/docs/advanced/path-operation-advanced-configuration.md`. PR [#​12633](https://github.com/fastapi/fastapi/pull/12633) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/advanced/response-directly.md`. PR [#​12632](https://github.com/fastapi/fastapi/pull/12632) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes for `docs/en/docs/tutorial/header-params.md`. PR [#​12640](https://github.com/fastapi/fastapi/pull/12640) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes in `docs/en/docs/tutorial/cookie-param-models.md`. PR [#​12639](https://github.com/fastapi/fastapi/pull/12639) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/extra-models.md`. PR [#​12638](https://github.com/fastapi/fastapi/pull/12638) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/cors.md`. PR [#​12637](https://github.com/fastapi/fastapi/pull/12637) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/sub-dependencies.md`. PR [#​12810](https://github.com/fastapi/fastapi/pull/12810) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes in `docs/en/docs/tutorial/body-nested-models.md`. PR [#​12812](https://github.com/fastapi/fastapi/pull/12812) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/tutorial/path-operation-configuration.md`. PR [#​12809](https://github.com/fastapi/fastapi/pull/12809) by [@​AlexWendland](https://github.com/AlexWendland).
- 📝 Update includes in `docs/en/docs/tutorial/request-files.md`. PR [#​12818](https://github.com/fastapi/fastapi/pull/12818) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes for `docs/en/docs/tutorial/query-param-models.md`. PR [#​12817](https://github.com/fastapi/fastapi/pull/12817) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes in `docs/en/docs/tutorial/path-params.md`. PR [#​12811](https://github.com/fastapi/fastapi/pull/12811) by [@​AlexWendland](https://github.com/AlexWendland).
- 📝 Update includes in `docs/en/docs/tutorial/response-model.md`. PR [#​12621](https://github.com/fastapi/fastapi/pull/12621) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/en/docs/advanced/websockets.md`. PR [#​12606](https://github.com/fastapi/fastapi/pull/12606) by [@​vishnuvskvkl](https://github.com/vishnuvskvkl).
- 📝 Updates include for `docs/en/docs/tutorial/cookie-params.md`. PR [#​12808](https://github.com/fastapi/fastapi/pull/12808) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes in `docs/en/docs/tutorial/middleware.md`. PR [#​12807](https://github.com/fastapi/fastapi/pull/12807) by [@​AlexWendland](https://github.com/AlexWendland).
- 📝 Update includes in `docs/en/docs/advanced/sub-applications.md`. PR [#​12806](https://github.com/fastapi/fastapi/pull/12806) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/advanced/response-headers.md`. PR [#​12805](https://github.com/fastapi/fastapi/pull/12805) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes in `docs/fr/docs/tutorial/first-steps.md`. PR [#​12594](https://github.com/fastapi/fastapi/pull/12594) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/en/docs/advanced/response-cookies.md`. PR [#​12804](https://github.com/fastapi/fastapi/pull/12804) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/advanced/path-operation-advanced-configuration.md`. PR [#​12802](https://github.com/fastapi/fastapi/pull/12802) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes for `docs/en/docs/advanced/response-directly.md`. PR [#​12803](https://github.com/fastapi/fastapi/pull/12803) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes in `docs/zh/docs/tutorial/background-tasks.md`. PR [#​12798](https://github.com/fastapi/fastapi/pull/12798) by [@​zhaohan-dong](https://github.com/zhaohan-dong).
- 📝 Update includes for `docs/de/docs/tutorial/body-multiple-params.md`. PR [#​12699](https://github.com/fastapi/fastapi/pull/12699) by [@​alissadb](https://github.com/alissadb).
- 📝 Update includes in `docs/em/docs/tutorial/body-updates.md`. PR [#​12799](https://github.com/fastapi/fastapi/pull/12799) by [@​AlexWendland](https://github.com/AlexWendland).
- 📝 Update includes `docs/en/docs/advanced/response-change-status-code.md`. PR [#​12801](https://github.com/fastapi/fastapi/pull/12801) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes `docs/en/docs/advanced/openapi-callbacks.md`. PR [#​12800](https://github.com/fastapi/fastapi/pull/12800) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes in `docs/fr/docs/tutorial/body-multiple-params.md`. PR [#​12598](https://github.com/fastapi/fastapi/pull/12598) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/en/docs/tutorial/body-multiple-params.md`. PR [#​12593](https://github.com/fastapi/fastapi/pull/12593) by [@​Tashanam-Shahbaz](https://github.com/Tashanam-Shahbaz).
- 📝 Update includes in `docs/pt/docs/tutorial/background-tasks.md`. PR [#​12736](https://github.com/fastapi/fastapi/pull/12736) by [@​bhunao](https://github.com/bhunao).
- 📝 Update includes for `docs/en/docs/advanced/custom-response.md`. PR [#​12797](https://github.com/fastapi/fastapi/pull/12797) by [@​handabaldeep](https://github.com/handabaldeep).
- 📝 Update includes for `docs/pt/docs/python-types.md`. PR [#​12671](https://github.com/fastapi/fastapi/pull/12671) by [@​ceb10n](https://github.com/ceb10n).
- 📝 Update includes for `docs/de/docs/python-types.md`. PR [#​12660](https://github.com/fastapi/fastapi/pull/12660) by [@​alissadb](https://github.com/alissadb).
- 📝 Update includes for `docs/de/docs/advanced/dataclasses.md`. PR [#​12658](https://github.com/fastapi/fastapi/pull/12658) by [@​alissadb](https://github.com/alissadb).
- 📝 Update includes in `docs/fr/docs/tutorial/path-params.md`. PR [#​12592](https://github.com/fastapi/fastapi/pull/12592) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes for `docs/de/docs/how-to/configure-swagger-ui.md`. PR [#​12690](https://github.com/fastapi/fastapi/pull/12690) by [@​alissadb](https://github.com/alissadb).
- 📝 Update includes in `docs/en/docs/advanced/security/oauth2-scopes.md`. PR [#​12572](https://github.com/fastapi/fastapi/pull/12572) by [@​krishnamadhavan](https://github.com/krishnamadhavan).
- 📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md`. PR [#​12624](https://github.com/fastapi/fastapi/pull/12624) by [@​rabinlamadong](https://github.com/rabinlamadong).
- 📝 Update includes in `docs/en/docs/tutorial/dependencies/index.md`. PR [#​12615](https://github.com/fastapi/fastapi/pull/12615) by [@​bharara](https://github.com/bharara).
- 📝 Update includes in `docs/en/docs/tutorial/response-status-code.md`. PR [#​12620](https://github.com/fastapi/fastapi/pull/12620) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md`. PR [#​12623](https://github.com/fastapi/fastapi/pull/12623) by [@​rabinlamadong](https://github.com/rabinlamadong).
- 📝 Update includes in `docs/en/docs/advanced/openapi-webhooks.md`. PR [#​12605](https://github.com/fastapi/fastapi/pull/12605) by [@​salmantec](https://github.com/salmantec).
- 📝 Update includes in `docs/en/docs/advanced/events.md`. PR [#​12604](https://github.com/fastapi/fastapi/pull/12604) by [@​salmantec](https://github.com/salmantec).
- 📝 Update includes in `docs/en/docs/advanced/dataclasses.md`. PR [#​12603](https://github.com/fastapi/fastapi/pull/12603) by [@​salmantec](https://github.com/salmantec).
- 📝 Update includes in `docs/es/docs/tutorial/cookie-params.md`. PR [#​12602](https://github.com/fastapi/fastapi/pull/12602) by [@​antonyare93](https://github.com/antonyare93).
- 📝 Update includes in `docs/fr/docs/tutorial/path-params-numeric-validations.md`. PR [#​12601](https://github.com/fastapi/fastapi/pull/12601) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/background-tasks.md`. PR [#​12600](https://github.com/fastapi/fastapi/pull/12600) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/en/docs/tutorial/encoder.md`. PR [#​12597](https://github.com/fastapi/fastapi/pull/12597) by [@​tonyjly](https://github.com/tonyjly).
- 📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md`. PR [#​12557](https://github.com/fastapi/fastapi/pull/12557) by [@​philipokiokio](https://github.com/philipokiokio).
- 🎨 Adjust spacing. PR [#​12635](https://github.com/fastapi/fastapi/pull/12635) by [@​alejsdev](https://github.com/alejsdev).
- 📝 Update includes in `docs/en/docs/how-to/custom-request-and-route.md`. PR [#​12560](https://github.com/fastapi/fastapi/pull/12560) by [@​philipokiokio](https://github.com/philipokiokio).
##### Translations
- 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-websockets.md`. PR [#​12739](https://github.com/fastapi/fastapi/pull/12739) by [@​Limsunoh](https://github.com/Limsunoh).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/environment-variables.md`. PR [#​12785](https://github.com/fastapi/fastapi/pull/12785) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Chinese translation for `docs/zh/docs/environment-variables.md`. PR [#​12784](https://github.com/fastapi/fastapi/pull/12784) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Korean translation for `ko/docs/advanced/response-headers.md`. PR [#​12740](https://github.com/fastapi/fastapi/pull/12740) by [@​kwang1215](https://github.com/kwang1215).
- 🌐 Add Chinese translation for `docs/zh/docs/virtual-environments.md`. PR [#​12790](https://github.com/fastapi/fastapi/pull/12790) by [@​Vincy1230](https://github.com/Vincy1230).
- 🌐 Add Korean translation for `/docs/ko/docs/environment-variables.md`. PR [#​12526](https://github.com/fastapi/fastapi/pull/12526) by [@​Tolerblanc](https://github.com/Tolerblanc).
- 🌐 Add Korean translation for `docs/ko/docs/history-design-future.md`. PR [#​12646](https://github.com/fastapi/fastapi/pull/12646) by [@​saeye](https://github.com/saeye).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/advanced-dependencies.md`. PR [#​12675](https://github.com/fastapi/fastapi/pull/12675) by [@​kim-sangah](https://github.com/kim-sangah).
- 🌐 Add Korean translation for `docs/ko/docs/how-to/conditional-openapi.md`. PR [#​12731](https://github.com/fastapi/fastapi/pull/12731) by [@​sptcnl](https://github.com/sptcnl).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/using_request_directly.md`. PR [#​12738](https://github.com/fastapi/fastapi/pull/12738) by [@​kwang1215](https://github.com/kwang1215).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-events.md`. PR [#​12741](https://github.com/fastapi/fastapi/pull/12741) by [@​9zimin9](https://github.com/9zimin9).
- 🌐 Add Korean translation for `docs/ko/docs/security/index.md`. PR [#​12743](https://github.com/fastapi/fastapi/pull/12743) by [@​kim-sangah](https://github.com/kim-sangah).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/path-operation-advanced-configuration.md`. PR [#​12762](https://github.com/fastapi/fastapi/pull/12762) by [@​Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/wsgi.md`. PR [#​12659](https://github.com/fastapi/fastapi/pull/12659) by [@​Limsunoh](https://github.com/Limsunoh).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/websockets.md`. PR [#​12703](https://github.com/fastapi/fastapi/pull/12703) by [@​devfernandoa](https://github.com/devfernandoa).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/security/simple-oauth2.md`. PR [#​12520](https://github.com/fastapi/fastapi/pull/12520) by [@​LidiaDomingos](https://github.com/LidiaDomingos).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/response-directly.md`. PR [#​12674](https://github.com/fastapi/fastapi/pull/12674) by [@​9zimin9](https://github.com/9zimin9).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/middleware.md`. PR [#​12704](https://github.com/fastapi/fastapi/pull/12704) by [@​devluisrodrigues](https://github.com/devluisrodrigues).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/openapi-callbacks.md`. PR [#​12705](https://github.com/fastapi/fastapi/pull/12705) by [@​devfernandoa](https://github.com/devfernandoa).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-files.md`. PR [#​12706](https://github.com/fastapi/fastapi/pull/12706) by [@​devluisrodrigues](https://github.com/devluisrodrigues).
- 🌐 Add Portuguese Translation for `docs/pt/docs/advanced/custom-response.md`. PR [#​12631](https://github.com/fastapi/fastapi/pull/12631) by [@​Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/metadata.md`. PR [#​12538](https://github.com/fastapi/fastapi/pull/12538) by [@​LinkolnR](https://github.com/LinkolnR).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/metadata.md`. PR [#​12541](https://github.com/fastapi/fastapi/pull/12541) by [@​kwang1215](https://github.com/kwang1215).
- 🌐 Add Korean Translation for `docs/ko/docs/advanced/response-cookies.md`. PR [#​12546](https://github.com/fastapi/fastapi/pull/12546) by [@​kim-sangah](https://github.com/kim-sangah).
- 🌐 Add Korean translation for `docs/ko/docs/fastapi-cli.md`. PR [#​12515](https://github.com/fastapi/fastapi/pull/12515) by [@​dhdld](https://github.com/dhdld).
- 🌐 Add Korean Translation for `docs/ko/docs/advanced/response-change-status-code.md`. PR [#​12547](https://github.com/fastapi/fastapi/pull/12547) by [@​9zimin9](https://github.com/9zimin9).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12907](https://github.com/fastapi/fastapi/pull/12907) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
- 🔨 Update docs preview script to show previous version and English version. PR [#​12856](https://github.com/fastapi/fastapi/pull/12856) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump tiangolo/latest-changes from 0.3.1 to 0.3.2. PR [#​12794](https://github.com/fastapi/fastapi/pull/12794) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2. PR [#​12788](https://github.com/fastapi/fastapi/pull/12788) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.0. PR [#​12781](https://github.com/fastapi/fastapi/pull/12781) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump cloudflare/wrangler-action from 3.11 to 3.12. PR [#​12777](https://github.com/fastapi/fastapi/pull/12777) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12766](https://github.com/fastapi/fastapi/pull/12766) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0. PR [#​12721](https://github.com/fastapi/fastapi/pull/12721) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Update pre-commit requirement from <4.0.0,>=2.17.0 to >=2.17.0,<5.0.0. PR [#​12749](https://github.com/fastapi/fastapi/pull/12749) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump typer from 0.12.3 to 0.12.5. PR [#​12748](https://github.com/fastapi/fastapi/pull/12748) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Update flask requirement from <3.0.0,>=1.1.2 to >=1.1.2,<4.0.0. PR [#​12747](https://github.com/fastapi/fastapi/pull/12747) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump pillow from 10.4.0 to 11.0.0. PR [#​12746](https://github.com/fastapi/fastapi/pull/12746) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Update pytest requirement from <8.0.0,>=7.1.3 to >=7.1.3,<9.0.0. PR [#​12745](https://github.com/fastapi/fastapi/pull/12745) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 🔧 Update sponsors: add Render. PR [#​12733](https://github.com/fastapi/fastapi/pull/12733) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12707](https://github.com/fastapi/fastapi/pull/12707) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
### [`v0.115.4`](https://github.com/fastapi/fastapi/releases/tag/0.115.4)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.3...0.115.4)
##### Refactors
- ♻️ Update logic to import and check `python-multipart` for compatibility with newer version. PR [#​12627](https://github.com/fastapi/fastapi/pull/12627) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- 📝 Update includes in `docs/fr/docs/tutorial/body.md`. PR [#​12596](https://github.com/fastapi/fastapi/pull/12596) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/debugging.md`. PR [#​12595](https://github.com/fastapi/fastapi/pull/12595) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/query-params-str-validations.md`. PR [#​12591](https://github.com/fastapi/fastapi/pull/12591) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/query-params.md`. PR [#​12589](https://github.com/fastapi/fastapi/pull/12589) by [@​kantandane](https://github.com/kantandane).
- 📝 Update includes in `docs/en/tutorial/body-fields.md`. PR [#​12588](https://github.com/fastapi/fastapi/pull/12588) by [@​lucaromagnoli](https://github.com/lucaromagnoli).
- 📝 Update includes in `docs/de/docs/tutorial/response-status-code.md`. PR [#​12585](https://github.com/fastapi/fastapi/pull/12585) by [@​abejaranoh](https://github.com/abejaranoh).
- 📝 Update includes in `docs/en/docs/tutorial/body.md`. PR [#​12586](https://github.com/fastapi/fastapi/pull/12586) by [@​lucaromagnoli](https://github.com/lucaromagnoli).
- 📝 Update includes in `docs/en/docs/advanced/behind-a-proxy.md`. PR [#​12583](https://github.com/fastapi/fastapi/pull/12583) by [@​imjuanleonard](https://github.com/imjuanleonard).
- 📝 Update includes syntax for `docs/pl/docs/tutorial/first-steps.md`. PR [#​12584](https://github.com/fastapi/fastapi/pull/12584) by [@​sebkozlo](https://github.com/sebkozlo).
- 📝 Update includes in `docs/en/docs/advanced/middleware.md`. PR [#​12582](https://github.com/fastapi/fastapi/pull/12582) by [@​montanarograziano](https://github.com/montanarograziano).
- 📝 Update includes in `docs/en/docs/advanced/additional-status-codes.md`. PR [#​12577](https://github.com/fastapi/fastapi/pull/12577) by [@​krishnamadhavan](https://github.com/krishnamadhavan).
- 📝 Update includes in `docs/en/docs/advanced/advanced-dependencies.md`. PR [#​12578](https://github.com/fastapi/fastapi/pull/12578) by [@​krishnamadhavan](https://github.com/krishnamadhavan).
- 📝 Update includes in `docs/en/docs/advanced/additional-responses.md`. PR [#​12576](https://github.com/fastapi/fastapi/pull/12576) by [@​krishnamadhavan](https://github.com/krishnamadhavan).
- 📝 Update includes in `docs/en/docs/tutorial/static-files.md`. PR [#​12575](https://github.com/fastapi/fastapi/pull/12575) by [@​lucaromagnoli](https://github.com/lucaromagnoli).
- 📝 Update includes in `docs/en/docs/advanced/async-tests.md`. PR [#​12568](https://github.com/fastapi/fastapi/pull/12568) by [@​krishnamadhavan](https://github.com/krishnamadhavan).
- 📝 Update includes in `docs/pt/docs/advanced/behind-a-proxy.md`. PR [#​12563](https://github.com/fastapi/fastapi/pull/12563) by [@​asmioglou](https://github.com/asmioglou).
- 📝 Update includes in `docs/de/docs/advanced/security/http-basic-auth.md`. PR [#​12561](https://github.com/fastapi/fastapi/pull/12561) by [@​Nimitha-jagadeesha](https://github.com/Nimitha-jagadeesha).
- 📝 Update includes in `docs/en/docs/tutorial/background-tasks.md`. PR [#​12559](https://github.com/fastapi/fastapi/pull/12559) by [@​FarhanAliRaza](https://github.com/FarhanAliRaza).
- 📝 Update includes in `docs/fr/docs/python-types.md`. PR [#​12558](https://github.com/fastapi/fastapi/pull/12558) by [@​Ismailtlem](https://github.com/Ismailtlem).
- 📝 Update includes in `docs/en/docs/how-to/graphql.md`. PR [#​12564](https://github.com/fastapi/fastapi/pull/12564) by [@​philipokiokio](https://github.com/philipokiokio).
- 📝 Update includes in `docs/en/docs/how-to/extending-openapi.md`. PR [#​12562](https://github.com/fastapi/fastapi/pull/12562) by [@​philipokiokio](https://github.com/philipokiokio).
- 📝 Update includes for `docs/en/docs/how-to/configure-swagger-ui.md`. PR [#​12556](https://github.com/fastapi/fastapi/pull/12556) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes for `docs/en/docs/how-to/separate-openapi-schemas.md`. PR [#​12555](https://github.com/fastapi/fastapi/pull/12555) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes for `docs/en/docs/advanced/security/http-basic-auth.md`. PR [#​12553](https://github.com/fastapi/fastapi/pull/12553) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes in `docs/en/docs/tutorial/first-steps.md`. PR [#​12552](https://github.com/fastapi/fastapi/pull/12552) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update includes in `docs/en/docs/python-types.md`. PR [#​12551](https://github.com/fastapi/fastapi/pull/12551) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Fix link in OAuth2 docs. PR [#​12550](https://github.com/fastapi/fastapi/pull/12550) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Add External Link: FastAPI do Zero. PR [#​12533](https://github.com/fastapi/fastapi/pull/12533) by [@​rennerocha](https://github.com/rennerocha).
- 📝 Fix minor typos. PR [#​12516](https://github.com/fastapi/fastapi/pull/12516) by [@​kkirsche](https://github.com/kkirsche).
- 🌐 Fix rendering issue in translations. PR [#​12509](https://github.com/fastapi/fastapi/pull/12509) by [@​alejsdev](https://github.com/alejsdev).
##### Translations
- 📝 Update includes in `docs/de/docs/advanced/async-tests.md`. PR [#​12567](https://github.com/fastapi/fastapi/pull/12567) by [@​imjuanleonard](https://github.com/imjuanleonard).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/sql-databases.md`. PR [#​12530](https://github.com/fastapi/fastapi/pull/12530) by [@​ilacftemp](https://github.com/ilacftemp).
- 🌐 Add Korean translation for `docs/ko/docs/benchmarks.md`. PR [#​12540](https://github.com/fastapi/fastapi/pull/12540) by [@​Limsunoh](https://github.com/Limsunoh).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/separate-openapi-schemas.md`. PR [#​12518](https://github.com/fastapi/fastapi/pull/12518) by [@​ilacftemp](https://github.com/ilacftemp).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/deployment/index.md`. PR [#​12521](https://github.com/fastapi/fastapi/pull/12521) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/deployment/cloud.md`. PR [#​12522](https://github.com/fastapi/fastapi/pull/12522) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/how-to/index.md`. PR [#​12523](https://github.com/fastapi/fastapi/pull/12523) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#​12524](https://github.com/fastapi/fastapi/pull/12524) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/how-to/index.md`. PR [#​12468](https://github.com/fastapi/fastapi/pull/12468) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#​12466](https://github.com/fastapi/fastapi/pull/12466) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/header-param-models.md`. PR [#​12437](https://github.com/fastapi/fastapi/pull/12437) by [@​Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/extending-openapi.md`. PR [#​12470](https://github.com/fastapi/fastapi/pull/12470) by [@​ilacftemp](https://github.com/ilacftemp).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/dataclasses.md`. PR [#​12475](https://github.com/fastapi/fastapi/pull/12475) by [@​leoscarlato](https://github.com/leoscarlato).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/custom-request-and-route.md`. PR [#​12483](https://github.com/fastapi/fastapi/pull/12483) by [@​devfernandoa](https://github.com/devfernandoa).
##### Internal
- ⬆ Bump cloudflare/wrangler-action from 3.9 to 3.11. PR [#​12544](https://github.com/fastapi/fastapi/pull/12544) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- 👷 Update GitHub Action to deploy docs previews to handle missing deploy comments. PR [#​12527](https://github.com/fastapi/fastapi/pull/12527) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12505](https://github.com/fastapi/fastapi/pull/12505) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
### [`v0.115.3`](https://github.com/fastapi/fastapi/releases/tag/0.115.3)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.2...0.115.3)
##### Upgrades
- ⬆️ Upgrade Starlette to `>=0.40.0,<0.42.0`. PR [#​12469](https://github.com/fastapi/fastapi/pull/12469) by [@​defnull](https://github.com/defnull).
##### Docs
- 📝 Fix broken link in docs. PR [#​12495](https://github.com/fastapi/fastapi/pull/12495) by [@​eltonjncorreia](https://github.com/eltonjncorreia).
##### Translations
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/fastapi-cli.md`. PR [#​12444](https://github.com/fastapi/fastapi/pull/12444) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/deployment/index.md`. PR [#​12439](https://github.com/fastapi/fastapi/pull/12439) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/testing-database.md`. PR [#​12472](https://github.com/fastapi/fastapi/pull/12472) by [@​GuilhermeRameh](https://github.com/GuilhermeRameh).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/custom-docs-ui-assets.md`. PR [#​12473](https://github.com/fastapi/fastapi/pull/12473) by [@​devluisrodrigues](https://github.com/devluisrodrigues).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-headers.md`. PR [#​12458](https://github.com/fastapi/fastapi/pull/12458) by [@​leonardopaloschi](https://github.com/leonardopaloschi).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/deployment/cloud.md`. PR [#​12440](https://github.com/fastapi/fastapi/pull/12440) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Update Portuguese translation for `docs/pt/docs/python-types.md`. PR [#​12428](https://github.com/fastapi/fastapi/pull/12428) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Russian translation for `docs/ru/docs/environment-variables.md`. PR [#​12436](https://github.com/fastapi/fastapi/pull/12436) by [@​wisderfin](https://github.com/wisderfin).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/resources/index.md`. PR [#​12443](https://github.com/fastapi/fastapi/pull/12443) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/about/index.md`. PR [#​12438](https://github.com/fastapi/fastapi/pull/12438) by [@​codingjenny](https://github.com/codingjenny).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/query-param-models.md`. PR [#​12414](https://github.com/fastapi/fastapi/pull/12414) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Remove Portuguese translation for `docs/pt/docs/deployment.md`. PR [#​12427](https://github.com/fastapi/fastapi/pull/12427) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/body-updates.md`. PR [#​12381](https://github.com/fastapi/fastapi/pull/12381) by [@​andersonrocha0](https://github.com/andersonrocha0).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-cookies.md`. PR [#​12417](https://github.com/fastapi/fastapi/pull/12417) by [@​Paulofalcao2002](https://github.com/Paulofalcao2002).
##### Internal
- 👷 Update issue manager workflow . PR [#​12457](https://github.com/fastapi/fastapi/pull/12457) by [@​alejsdev](https://github.com/alejsdev).
- 🔧 Update team, include YuriiMotov 🚀. PR [#​12453](https://github.com/fastapi/fastapi/pull/12453) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Refactor label-approved, make it an internal script instead of an external GitHub Action. PR [#​12280](https://github.com/fastapi/fastapi/pull/12280) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Fix smokeshow, checkout files on CI. PR [#​12434](https://github.com/fastapi/fastapi/pull/12434) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Use uv in CI. PR [#​12281](https://github.com/fastapi/fastapi/pull/12281) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Update httpx requirement from <0.25.0,>=0.23.0 to >=0.23.0,<0.28.0. PR [#​11509](https://github.com/fastapi/fastapi/pull/11509) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
### [`v0.115.2`](https://github.com/fastapi/fastapi/releases/tag/0.115.2)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.1...0.115.2)
##### Upgrades
- ⬆️ Upgrade Starlette to `>=0.37.2,<0.41.0`. PR [#​12431](https://github.com/fastapi/fastapi/pull/12431) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.115.1`](https://github.com/fastapi/fastapi/releases/tag/0.115.1)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.115.0...0.115.1)
##### Fixes
- 🐛 Fix openapi generation with responses kwarg. PR [#​10895](https://github.com/fastapi/fastapi/pull/10895) by [@​flxdot](https://github.com/flxdot).
- 🐛 Remove `Required` shadowing from fastapi using Pydantic v2. PR [#​12197](https://github.com/fastapi/fastapi/pull/12197) by [@​pachewise](https://github.com/pachewise).
##### Refactors
- ♻️ Update type annotations for improved `python-multipart`. PR [#​12407](https://github.com/fastapi/fastapi/pull/12407) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- ✨ Add new tutorial for SQL databases with SQLModel. PR [#​12285](https://github.com/fastapi/fastapi/pull/12285) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Add External Link: How to profile a FastAPI asynchronous request. PR [#​12389](https://github.com/fastapi/fastapi/pull/12389) by [@​brouberol](https://github.com/brouberol).
- 🔧 Remove `base_path` for `mdx_include` Markdown extension in MkDocs. PR [#​12391](https://github.com/fastapi/fastapi/pull/12391) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Update link to Swagger UI configuration docs. PR [#​12264](https://github.com/fastapi/fastapi/pull/12264) by [@​makisukurisu](https://github.com/makisukurisu).
- 📝 Adding links for Playwright and Vite in `docs/project-generation.md`. PR [#​12274](https://github.com/fastapi/fastapi/pull/12274) by [@​kayqueGovetri](https://github.com/kayqueGovetri).
- 📝 Fix small typos in the documentation. PR [#​12213](https://github.com/fastapi/fastapi/pull/12213) by [@​svlandeg](https://github.com/svlandeg).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/cookie-param-models.md`. PR [#​12298](https://github.com/fastapi/fastapi/pull/12298) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/graphql.md`. PR [#​12215](https://github.com/fastapi/fastapi/pull/12215) by [@​AnandaCampelo](https://github.com/AnandaCampelo).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/oauth2-scopes.md`. PR [#​12263](https://github.com/fastapi/fastapi/pull/12263) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/concepts.md`. PR [#​12219](https://github.com/fastapi/fastapi/pull/12219) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/conditional-openapi.md`. PR [#​12221](https://github.com/fastapi/fastapi/pull/12221) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-directly.md`. PR [#​12266](https://github.com/fastapi/fastapi/pull/12266) by [@​Joao-Pedro-P-Holanda](https://github.com/Joao-Pedro-P-Holanda).
- 🌐 Update Portuguese translation for `docs/pt/docs/tutorial/cookie-params.md`. PR [#​12297](https://github.com/fastapi/fastapi/pull/12297) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Fix Korean translation for `docs/ko/docs/tutorial/index.md`. PR [#​12278](https://github.com/fastapi/fastapi/pull/12278) by [@​kkotipy](https://github.com/kkotipy).
- 🌐 Update Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#​12275](https://github.com/fastapi/fastapi/pull/12275) by [@​andersonrocha0](https://github.com/andersonrocha0).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/cloud.md`. PR [#​12217](https://github.com/fastapi/fastapi/pull/12217) by [@​marcelomarkus](https://github.com/marcelomarkus).
- ✏️ Fix typo in `docs/es/docs/python-types.md`. PR [#​12235](https://github.com/fastapi/fastapi/pull/12235) by [@​JavierSanchezCastro](https://github.com/JavierSanchezCastro).
- 🌐 Add Dutch translation for `docs/nl/docs/environment-variables.md`. PR [#​12200](https://github.com/fastapi/fastapi/pull/12200) by [@​maxscheijen](https://github.com/maxscheijen).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/manually.md`. PR [#​12210](https://github.com/fastapi/fastapi/pull/12210) by [@​JoaoGustavoRogel](https://github.com/JoaoGustavoRogel).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/server-workers.md`. PR [#​12220](https://github.com/fastapi/fastapi/pull/12220) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/configure-swagger-ui.md`. PR [#​12222](https://github.com/fastapi/fastapi/pull/12222) by [@​marcelomarkus](https://github.com/marcelomarkus).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12396](https://github.com/fastapi/fastapi/pull/12396) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
- 🔨 Add script to generate variants of files. PR [#​12405](https://github.com/fastapi/fastapi/pull/12405) by [@​tiangolo](https://github.com/tiangolo).
- 🔧 Add speakeasy-api to `sponsors_badge.yml`. PR [#​12404](https://github.com/fastapi/fastapi/pull/12404) by [@​tiangolo](https://github.com/tiangolo).
- ➕ Add docs dependency: markdown-include-variants. PR [#​12399](https://github.com/fastapi/fastapi/pull/12399) by [@​tiangolo](https://github.com/tiangolo).
- 📝 Fix extra mdx-base-path paths. PR [#​12397](https://github.com/fastapi/fastapi/pull/12397) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Tweak labeler to not override custom labels. PR [#​12398](https://github.com/fastapi/fastapi/pull/12398) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Update worfkow deploy-docs-notify URL. PR [#​12392](https://github.com/fastapi/fastapi/pull/12392) by [@​tiangolo](https://github.com/tiangolo).
- 👷 Update Cloudflare GitHub Action. PR [#​12387](https://github.com/fastapi/fastapi/pull/12387) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3. PR [#​12386](https://github.com/fastapi/fastapi/pull/12386) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump mkdocstrings\[python] from 0.25.1 to 0.26.1. PR [#​12371](https://github.com/fastapi/fastapi/pull/12371) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ Bump griffe-typingdoc from 0.2.6 to 0.2.7. PR [#​12370](https://github.com/fastapi/fastapi/pull/12370) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12331](https://github.com/fastapi/fastapi/pull/12331) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
- 🔧 Update sponsors, remove Fine.dev. PR [#​12271](https://github.com/fastapi/fastapi/pull/12271) by [@​tiangolo](https://github.com/tiangolo).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12253](https://github.com/fastapi/fastapi/pull/12253) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
- ✏️ Fix docstring typos in http security. PR [#​12223](https://github.com/fastapi/fastapi/pull/12223) by [@​albertvillanova](https://github.com/albertvillanova).
### [`v0.115.0`](https://github.com/fastapi/fastapi/releases/tag/0.115.0)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.114.2...0.115.0)
##### Highlights
Now you can declare `Query`, `Header`, and `Cookie` parameters with Pydantic models. 🎉
##### `Query` Parameter Models
Use Pydantic models for `Query` parameters:
```python
from typing import Annotated, Literal
from fastapi import FastAPI, Query
from pydantic import BaseModel, Field
app = FastAPI()
class FilterParams(BaseModel):
limit: int = Field(100, gt=0, le=100)
offset: int = Field(0, ge=0)
order_by: Literal["created_at", "updated_at"] = "created_at"
tags: list[str] = []
@​app.get("/items/")
async def read_items(filter_query: Annotated[FilterParams, Query()]):
return filter_query
```
Read the new docs: [Query Parameter Models](https://fastapi.tiangolo.com/tutorial/query-param-models/).
##### `Header` Parameter Models
Use Pydantic models for `Header` parameters:
```python
from typing import Annotated
from fastapi import FastAPI, Header
from pydantic import BaseModel
app = FastAPI()
class CommonHeaders(BaseModel):
host: str
save_data: bool
if_modified_since: str | None = None
traceparent: str | None = None
x_tag: list[str] = []
@​app.get("/items/")
async def read_items(headers: Annotated[CommonHeaders, Header()]):
return headers
```
Read the new docs: [Header Parameter Models](https://fastapi.tiangolo.com/tutorial/header-param-models/).
##### `Cookie` Parameter Models
Use Pydantic models for `Cookie` parameters:
```python
from typing import Annotated
from fastapi import Cookie, FastAPI
from pydantic import BaseModel
app = FastAPI()
class Cookies(BaseModel):
session_id: str
fatebook_tracker: str | None = None
googall_tracker: str | None = None
@​app.get("/items/")
async def read_items(cookies: Annotated[Cookies, Cookie()]):
return cookies
```
Read the new docs: [Cookie Parameter Models](https://fastapi.tiangolo.com/tutorial/cookie-param-models/).
##### Forbid Extra Query (Cookie, Header) Parameters
Use Pydantic models to restrict extra values for `Query` parameters (also applies to `Header` and `Cookie` parameters).
To achieve it, use Pydantic's `model_config = {"extra": "forbid"}`:
```python
from typing import Annotated, Literal
from fastapi import FastAPI, Query
from pydantic import BaseModel, Field
app = FastAPI()
class FilterParams(BaseModel):
model_config = {"extra": "forbid"}
limit: int = Field(100, gt=0, le=100)
offset: int = Field(0, ge=0)
order_by: Literal["created_at", "updated_at"] = "created_at"
tags: list[str] = []
@​app.get("/items/")
async def read_items(filter_query: Annotated[FilterParams, Query()]):
return filter_query
```
This applies to `Query`, `Header`, and `Cookie` parameters, read the new docs:
- [Forbid Extra Query Parameters](https://fastapi.tiangolo.com/tutorial/query-param-models/#forbid-extra-query-parameters)
- [Forbid Extra Headers](https://fastapi.tiangolo.com/tutorial/header-param-models/#forbid-extra-headers)
- [Forbid Extra Cookies](https://fastapi.tiangolo.com/tutorial/cookie-param-models/#forbid-extra-cookies)
##### Features
- ✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header`. PR [#​12199](https://github.com/fastapi/fastapi/pull/12199) by [@​tiangolo](https://github.com/tiangolo).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#​12195](https://github.com/fastapi/fastapi/pull/12195) by [@​ceb10n](https://github.com/ceb10n).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12204](https://github.com/fastapi/fastapi/pull/12204) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
### [`v0.114.2`](https://github.com/fastapi/fastapi/releases/tag/0.114.2)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.114.1...0.114.2)
##### Fixes
- 🐛 Fix form field regression with `alias`. PR [#​12194](https://github.com/fastapi/fastapi/pull/12194) by [@​Wurstnase](https://github.com/Wurstnase).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-form-models.md`. PR [#​12175](https://github.com/fastapi/fastapi/pull/12175) by [@​ceb10n](https://github.com/ceb10n).
- 🌐 Add Chinese translation for `docs/zh/docs/project-generation.md`. PR [#​12170](https://github.com/fastapi/fastapi/pull/12170) by [@​waketzheng](https://github.com/waketzheng).
- 🌐 Add Dutch translation for `docs/nl/docs/python-types.md`. PR [#​12158](https://github.com/fastapi/fastapi/pull/12158) by [@​maxscheijen](https://github.com/maxscheijen).
##### Internal
- 💡 Add comments with instructions for Playwright screenshot scripts. PR [#​12193](https://github.com/fastapi/fastapi/pull/12193) by [@​tiangolo](https://github.com/tiangolo).
- ➕ Add inline-snapshot for tests. PR [#​12189](https://github.com/fastapi/fastapi/pull/12189) by [@​tiangolo](https://github.com/tiangolo).
### [`v0.114.1`](https://github.com/fastapi/fastapi/releases/tag/0.114.1)
[Compare Source](https://github.com/fastapi/fastapi/compare/0.114.0...0.114.1)
##### Refactors
- ⚡️ Improve performance in request body parsing with a cache for internal model fields. PR [#​12184](https://github.com/fastapi/fastapi/pull/12184) by [@​tiangolo](https://github.com/tiangolo).
##### Docs
- 📝 Remove duplicate line in docs for `docs/en/docs/environment-variables.md`. PR [#​12169](https://github.com/fastapi/fastapi/pull/12169) by [@​prometek](https://github.com/prometek).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/virtual-environments.md`. PR [#​12163](https://github.com/fastapi/fastapi/pull/12163) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/environment-variables.md`. PR [#​12162](https://github.com/fastapi/fastapi/pull/12162) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/testing.md`. PR [#​12164](https://github.com/fastapi/fastapi/pull/12164) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/debugging.md`. PR [#​12165](https://github.com/fastapi/fastapi/pull/12165) by [@​marcelomarkus](https://github.com/marcelomarkus).
- 🌐 Add Korean translation for `docs/ko/docs/project-generation.md`. PR [#​12157](https://github.com/fastapi/fastapi/pull/12157) by [@​BORA040126](https://github.com/BORA040126).
##### Internal
- ⬆ Bump tiangolo/issue-manager from 0.5.0 to 0.5.1. PR [#​12173](https://github.com/fastapi/fastapi/pull/12173) by [@​dependabot\[bot\]](https://github.com/apps/dependabot).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#​12176](https://github.com/fastapi/fastapi/pull/12176) by [@​pre-commit-ci\[bot\]](https://github.com/apps/pre-commit-ci).
- 👷 Update `issue-manager.yml`. PR [#​12159](https://github.com/fastapi/fastapi/pull/12159) by [@​tiangolo](https://github.com/tiangolo).
- ✏️ Fix typo in `fastapi/params.py`. PR [#​12143](https://github.com/fastapi/fastapi/pull/12143) by [@​surreal30](https://github.com/surreal30).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC40NS4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjgwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
renovate
changed title from Update dependency fastapi to v0.115.7 to Update dependency fastapi to v0.115.82025-02-02 01:59:13 +00:00
renovate
changed title from Update dependency fastapi to v0.115.8 to chore(deps): update dependency fastapi to v0.115.82025-02-08 08:33:57 +00:00
renovate
changed title from chore(deps): update dependency fastapi to v0.115.8 to chore(deps): update dependency fastapi to v0.115.8 - autoclosed2025-02-09 04:02:25 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==0.114.0->==0.115.8Release Notes
fastapi/fastapi (fastapi)
v0.115.8Compare Source
Fixes
OAuth2PasswordRequestFormandOAuth2PasswordRequestFormStrictfixedgrant_type"password" RegEx. PR #9783 by @skarfie123.Refactors
APIKeyBasesuper class. PR #3142 by @ShahriyarR.Docs
docs/en/docs/tutorial/extra-models.md. PR #13061 by @timothy-jeong.tutorial002to deal withtax=0case. PR #13230 by @togogh.Translations
docs/ja/docs/environment-variables.md. PR #13226 by @k94-ishi.docs/ru/docs/advanced/async-tests.md. PR #13227 by @Rishat-F.docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md. PR #13252 by @Rishat-F.docs/ru/docs/tutorial/bigger-applications.md. PR #13154 by @alv2017.Internal
>=3.2.1,<5.0.0. PR #13273 by @tiangolo.notify_translations.pyempty env var handling for PR label events vs workflow_dispatch. PR #13272 by @tiangolo.scripts/notify_translations.py, no need for a custom GitHub Action. PR #13270 by @tiangolo.v0.115.7Compare Source
Upgrades
python-multipartto >=0.0.18. PR #13219 by @DanielKusyDev.>=0.40.0,<0.46.0. PR #13117 by @Kludex.jinja2to >=3.1.5. PR #13194 by @DanielKusyDev.Refactors
Docs
fastapi-cliUI examples in docs. PR #13107 by @Zhongheng-Cheng.docs/en/docs/virtual-environments.md. PR #13124 by @tiangolo.docs/en/docs/contributing.md. PR #12899 by @kingsubin.docs/en/docs/tutorial/sql-databases.md. PR #13081 by @alv2017.docs/ru/docs/tutorial/query-param-models.md. PR #12994 by @alejsdev.fastapi-cli. PR #13031 by @tiangolo.Translations
docs/pt/docs/tutorial/request-forms.md. PR #13216 by @Joao-Pedro-P-Holanda.docs/pt/docs/advanced/settings.md. PR #13209 by @ceb10n.docs/pt/docs/tutorial/security/oauth2-jwt.md. PR #13205 by @ceb10n.docs/id/docs/index.md. PR #13191 by @gerry-sabar.docs/id/docs/tutorial/static-files.md. PR #13092 by @guspan-tanadi.docs/pt/docs/tutorial/security/get-current-user.md. PR #13188 by @ceb10n.docs/pt/docs/advanced/benchmarks.md. PR #13187 by @ceb10n.docs/ru/docs/tutorial/security/first-steps.md. PR #13159 by @Yarous.docs/ja/docs/tutorial/path-params-numeric-validations.md. PR #12238 by @FakeDocument.docs/zh/docs/fastapi-cli.md. PR #13102 by @Zhongheng-Cheng.docs/zh/docs/advanced/security/oauth2-scopes.md. PR #13110 by @ChenPu2002.docs/id/docs/tutorial/path-params.md. PR #13086 by @gerry-sabar.docs/ko/docs/tutorial/sql-databases.md. PR #13093 by @GeumBinLee.docs/zh/docs/async.md. PR #13095 by @Zhongheng-Cheng.docs/zh/docs/advanced/openapi-webhooks.md. PR #13091 by @Zhongheng-Cheng.docs/zh/docs/advanced/async-tests.md. PR #13074 by @Zhongheng-Cheng.docs/uk/docs/fastapi-cli.md. PR #13020 by @ykertytsky.docs/zh/docs/advanced/events.md. PR #12512 by @ZhibangYue./docs/ru/docs/tutorial/sql-databases.md. PR #13079 by @alv2017.docs/zh/docs/advanced/testing-dependencies.md. PR #13066 by @Zhongheng-Cheng.docs/zh-hant/docs/tutorial/index.md. PR #13075 by @codingjenny.docs/zh/docs/tutorial/sql-databases.md. PR #13051 by @Zhongheng-Cheng.docs/zh/docs/tutorial/query-params-str-validations.md. PR #12928 by @Vincy1230.docs/zh/docs/tutorial/header-param-models.md. PR #13040 by @Zhongheng-Cheng.docs/zh/docs/tutorial/path-params.md. PR #12926 by @Vincy1230.docs/zh/docs/tutorial/first-steps.md. PR #12923 by @Vincy1230.docs/ru/docs/deployment/docker.md. PR #13048 by @anklav24.docs/pt/docs/advanced/generate-clients.md. PR #13030 by @vitumenezes.docs/id/docs/tutorial/first-steps.md. PR #13042 by @gerry-sabar.docs/zh/docs/tutorial/cookie-param-models.md. PR #13038 by @Zhongheng-Cheng.docs/zh/docs/tutorial/request-form-models.md. PR #13045 by @Zhongheng-Cheng.docs/ru/docs/virtual-environments.md. PR #13026 by @alv2017.docs/ko/docs/tutorial/testing.md. PR #12968 by @jts8257.docs/ko/docs/advanced/async-test.md. PR #12918 by @icehongssii.docs/ru/docs/tutorial/security/oauth2-jwt.md. PR #10601 by @AlertRED.docs/ru/docs/tutorial/security/simple-oauth2.md. PR #10599 by @AlertRED.docs/ru/docs/tutorial/security/get-current-user.md. PR #10594 by @AlertRED.docs/zh-hant/docs/features.md. PR #12441 by @codingjenny.docs/zh-hant/docs/virtual-environments.md. PR #12791 by @Vincy1230.docs/ko/docs/advanced/templates.md. PR #12726 by @Heumhub.docs/ru/docs/fastapi-cli.md. PR #13041 by @alv2017.docs/ko/docs/tutorial/cookie-param-models.md. PR #13000 by @hard-coders.docs/ko/docs/tutorial/header-param-models.md. PR #13001 by @hard-coders.docs/ko/docs/tutorial/request-form-models.md. PR #13002 by @hard-coders.docs/ko/docs/tutorial/request-forms.md. PR #13003 by @hard-coders.docs/ko/docs/resources/index.md. PR #13004 by @hard-coders.docs/ko/docs/how-to/configure-swagger-ui.md. PR #12898 by @nahyunkeem.docs/ko/docs/advanced/additional-status-codes.md. PR #12715 by @nahyunkeem.docs/zh-hant/docs/tutorial/first-steps.md. PR #12467 by @codingjenny.Internal
notify-translations.yml. PR #12915 by @tinyboxvk.v0.115.6Compare Source
Fixes
yield. PR #5823 by @sombek.Refactors
Docs
docs/de/docs/advanced/using-request-directly.md. PR #12685 by @alissadb.docs/de/docs/how-to/conditional-openapi.md. PR #12689 by @alissadb.Translations
docs/zh-hant/docs/async.md. PR #12990 by @ILoveSorasakiHina.docs/zh-hant/docs/tutorial/query-param-models.md. PR #12932 by @Vincy1230.docs/ko/docs/advanced/testing-dependencies.md. PR #12992 by @Limsunoh.docs/ko/docs/advanced/websockets.md. PR #12991 by @kwang1215.docs/pt/docs/tutorial/response-model.md. PR #12933 by @AndreBBM.docs/ko/docs/advanced/middlewares.md. PR #12753 by @nahyunkeem.docs/ko/docs/advanced/openapi-webhooks.md. PR #12752 by @saeye.docs/zh/docs/tutorial/query-param-models.md. PR #12931 by @Vincy1230.docs/ru/docs/tutorial/query-param-models.md. PR #12445 by @gitgernit.docs/ko/docs/tutorial/query-param-models.md. PR #12940 by @jts8257.docs/zh/docs/tutorial/sql-databases.md, it references files that are no longer on the repo. PR #12949 by @tiangolo.Internal
v0.115.5Compare Source
Refactors
Docs
docs/en/docs/tutorial/body.md. PR #12757 by @gsheni.docs/en/docs/advanced/testing-dependencies.md. PR #12647 by @AyushSinghal1794.docs/en/docs/tutorial/metadata.md. PR #12773 by @Nimitha-jagadeesha.docs/en/docs/tutorial/dependencies/dependencies-with-yield.md. PR #12045 by @xuvjso.docs/en/docs/tutorial/dependencies/global-dependencies.md. PR #12653 by @vishnuvskvkl.docs/en/docs/tutorial/body-updates.md. PR #12712 by @davioc.docs/en/docs/tutorial/header-param-models.md. PR #12814 by @zhaohan-dong.contributing.mddocs, include note to not translate this page. PR #12841 by @tiangolo.docs/en/docs/tutorial/request-forms.md. PR #12648 by @vishnuvskvkl.docs/en/docs/tutorial/request-form-models.md. PR #12649 by @vishnuvskvkl.docs/en/docs/tutorial/security/oauth2-jwt.md. PR #12650 by @OCE1960.docs/vi/docs/tutorial/first-steps.md. PR #12754 by @MxPy.docs/pt/docs/advanced/wsgi.md. PR #12769 by @Nimitha-jagadeesha.docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md. PR #12815 by @handabaldeep.docs/en/docs/tutorial/dependencies/classes-as-dependencies.md. PR #12813 by @handabaldeep.docs/en/docs/tutorial/middleware.md. PR #12819 by @alejsdev.docs/en/docs/tutorial/security/get-current-user.md. PR #12645 by @OCE1960.docs/en/docs/tutorial/security/first-steps.md. PR #12643 by @OCE1960.docs/de/docs/advanced/additional-responses.md. PR #12821 by @zhaohan-dong.docs/en/docs/advanced/generate-clients.md. PR #12642 by @AyushSinghal1794.docs/zh/docs/advanced/additional-responses.md. PR #12828 by @zhaohan-dong.docs/en/docs/tutorial/path-params-numeric-validations.md. PR #12825 by @zhaohan-dong.docs/en/docs/advanced/testing-websockets.md. PR #12761 by @hamidrasti.docs/en/docs/advanced/using-request-directly.md. PR #12760 by @hamidrasti.docs/advanced/wsgi.md. PR #12758 by @hamidrasti.docs/de/docs/tutorial/middleware.md. PR #12729 by @paintdog.docs/en/docs/tutorial/schema-extra-example.md. PR #12822 by @tiangolo.docs/fr/docs/advanced/additional-responses.md. PR #12634 by @fegmorte.docs/fr/docs/advanced/path-operation-advanced-configuration.md. PR #12633 by @kantandane.docs/fr/docs/advanced/response-directly.md. PR #12632 by @kantandane.docs/en/docs/tutorial/header-params.md. PR #12640 by @vishnuvskvkl.docs/en/docs/tutorial/cookie-param-models.md. PR #12639 by @vishnuvskvkl.docs/en/docs/tutorial/extra-models.md. PR #12638 by @vishnuvskvkl.docs/en/docs/tutorial/cors.md. PR #12637 by @vishnuvskvkl.docs/en/docs/tutorial/dependencies/sub-dependencies.md. PR #12810 by @handabaldeep.docs/en/docs/tutorial/body-nested-models.md. PR #12812 by @zhaohan-dong.docs/en/docs/tutorial/path-operation-configuration.md. PR #12809 by @AlexWendland.docs/en/docs/tutorial/request-files.md. PR #12818 by @zhaohan-dong.docs/en/docs/tutorial/query-param-models.md. PR #12817 by @handabaldeep.docs/en/docs/tutorial/path-params.md. PR #12811 by @AlexWendland.docs/en/docs/tutorial/response-model.md. PR #12621 by @kantandane.docs/en/docs/advanced/websockets.md. PR #12606 by @vishnuvskvkl.docs/en/docs/tutorial/cookie-params.md. PR #12808 by @handabaldeep.docs/en/docs/tutorial/middleware.md. PR #12807 by @AlexWendland.docs/en/docs/advanced/sub-applications.md. PR #12806 by @zhaohan-dong.docs/en/docs/advanced/response-headers.md. PR #12805 by @zhaohan-dong.docs/fr/docs/tutorial/first-steps.md. PR #12594 by @kantandane.docs/en/docs/advanced/response-cookies.md. PR #12804 by @zhaohan-dong.docs/en/docs/advanced/path-operation-advanced-configuration.md. PR #12802 by @zhaohan-dong.docs/en/docs/advanced/response-directly.md. PR #12803 by @handabaldeep.docs/zh/docs/tutorial/background-tasks.md. PR #12798 by @zhaohan-dong.docs/de/docs/tutorial/body-multiple-params.md. PR #12699 by @alissadb.docs/em/docs/tutorial/body-updates.md. PR #12799 by @AlexWendland.docs/en/docs/advanced/response-change-status-code.md. PR #12801 by @handabaldeep.docs/en/docs/advanced/openapi-callbacks.md. PR #12800 by @handabaldeep.docs/fr/docs/tutorial/body-multiple-params.md. PR #12598 by @kantandane.docs/en/docs/tutorial/body-multiple-params.md. PR #12593 by @Tashanam-Shahbaz.docs/pt/docs/tutorial/background-tasks.md. PR #12736 by @bhunao.docs/en/docs/advanced/custom-response.md. PR #12797 by @handabaldeep.docs/pt/docs/python-types.md. PR #12671 by @ceb10n.docs/de/docs/python-types.md. PR #12660 by @alissadb.docs/de/docs/advanced/dataclasses.md. PR #12658 by @alissadb.docs/fr/docs/tutorial/path-params.md. PR #12592 by @kantandane.docs/de/docs/how-to/configure-swagger-ui.md. PR #12690 by @alissadb.docs/en/docs/advanced/security/oauth2-scopes.md. PR #12572 by @krishnamadhavan.docs/en/docs/how-to/conditional-openapi.md. PR #12624 by @rabinlamadong.docs/en/docs/tutorial/dependencies/index.md. PR #12615 by @bharara.docs/en/docs/tutorial/response-status-code.md. PR #12620 by @kantandane.docs/en/docs/how-to/custom-docs-ui-assets.md. PR #12623 by @rabinlamadong.docs/en/docs/advanced/openapi-webhooks.md. PR #12605 by @salmantec.docs/en/docs/advanced/events.md. PR #12604 by @salmantec.docs/en/docs/advanced/dataclasses.md. PR #12603 by @salmantec.docs/es/docs/tutorial/cookie-params.md. PR #12602 by @antonyare93.docs/fr/docs/tutorial/path-params-numeric-validations.md. PR #12601 by @kantandane.docs/fr/docs/tutorial/background-tasks.md. PR #12600 by @kantandane.docs/en/docs/tutorial/encoder.md. PR #12597 by @tonyjly.docs/en/docs/how-to/custom-docs-ui-assets.md. PR #12557 by @philipokiokio.docs/en/docs/how-to/custom-request-and-route.md. PR #12560 by @philipokiokio.Translations
docs/ko/docs/advanced/testing-websockets.md. PR #12739 by @Limsunoh.docs/zh-hant/docs/environment-variables.md. PR #12785 by @Vincy1230.docs/zh/docs/environment-variables.md. PR #12784 by @Vincy1230.ko/docs/advanced/response-headers.md. PR #12740 by @kwang1215.docs/zh/docs/virtual-environments.md. PR #12790 by @Vincy1230./docs/ko/docs/environment-variables.md. PR #12526 by @Tolerblanc.docs/ko/docs/history-design-future.md. PR #12646 by @saeye.docs/ko/docs/advanced/advanced-dependencies.md. PR #12675 by @kim-sangah.docs/ko/docs/how-to/conditional-openapi.md. PR #12731 by @sptcnl.docs/ko/docs/advanced/using_request_directly.md. PR #12738 by @kwang1215.docs/ko/docs/advanced/testing-events.md. PR #12741 by @9zimin9.docs/ko/docs/security/index.md. PR #12743 by @kim-sangah.docs/pt/docs/advanced/path-operation-advanced-configuration.md. PR #12762 by @Joao-Pedro-P-Holanda.docs/ko/docs/advanced/wsgi.md. PR #12659 by @Limsunoh.docs/pt/docs/advanced/websockets.md. PR #12703 by @devfernandoa.docs/pt/docs/tutorial/security/simple-oauth2.md. PR #12520 by @LidiaDomingos.docs/ko/docs/advanced/response-directly.md. PR #12674 by @9zimin9.docs/pt/docs/advanced/middleware.md. PR #12704 by @devluisrodrigues.docs/pt/docs/advanced/openapi-callbacks.md. PR #12705 by @devfernandoa.docs/pt/docs/tutorial/request-files.md. PR #12706 by @devluisrodrigues.docs/pt/docs/advanced/custom-response.md. PR #12631 by @Joao-Pedro-P-Holanda.docs/pt/docs/tutorial/metadata.md. PR #12538 by @LinkolnR.docs/ko/docs/tutorial/metadata.md. PR #12541 by @kwang1215.docs/ko/docs/advanced/response-cookies.md. PR #12546 by @kim-sangah.docs/ko/docs/fastapi-cli.md. PR #12515 by @dhdld.docs/ko/docs/advanced/response-change-status-code.md. PR #12547 by @9zimin9.Internal
v0.115.4Compare Source
Refactors
python-multipartfor compatibility with newer version. PR #12627 by @tiangolo.Docs
docs/fr/docs/tutorial/body.md. PR #12596 by @kantandane.docs/fr/docs/tutorial/debugging.md. PR #12595 by @kantandane.docs/fr/docs/tutorial/query-params-str-validations.md. PR #12591 by @kantandane.docs/fr/docs/tutorial/query-params.md. PR #12589 by @kantandane.docs/en/tutorial/body-fields.md. PR #12588 by @lucaromagnoli.docs/de/docs/tutorial/response-status-code.md. PR #12585 by @abejaranoh.docs/en/docs/tutorial/body.md. PR #12586 by @lucaromagnoli.docs/en/docs/advanced/behind-a-proxy.md. PR #12583 by @imjuanleonard.docs/pl/docs/tutorial/first-steps.md. PR #12584 by @sebkozlo.docs/en/docs/advanced/middleware.md. PR #12582 by @montanarograziano.docs/en/docs/advanced/additional-status-codes.md. PR #12577 by @krishnamadhavan.docs/en/docs/advanced/advanced-dependencies.md. PR #12578 by @krishnamadhavan.docs/en/docs/advanced/additional-responses.md. PR #12576 by @krishnamadhavan.docs/en/docs/tutorial/static-files.md. PR #12575 by @lucaromagnoli.docs/en/docs/advanced/async-tests.md. PR #12568 by @krishnamadhavan.docs/pt/docs/advanced/behind-a-proxy.md. PR #12563 by @asmioglou.docs/de/docs/advanced/security/http-basic-auth.md. PR #12561 by @Nimitha-jagadeesha.docs/en/docs/tutorial/background-tasks.md. PR #12559 by @FarhanAliRaza.docs/fr/docs/python-types.md. PR #12558 by @Ismailtlem.docs/en/docs/how-to/graphql.md. PR #12564 by @philipokiokio.docs/en/docs/how-to/extending-openapi.md. PR #12562 by @philipokiokio.docs/en/docs/how-to/configure-swagger-ui.md. PR #12556 by @tiangolo.docs/en/docs/how-to/separate-openapi-schemas.md. PR #12555 by @tiangolo.docs/en/docs/advanced/security/http-basic-auth.md. PR #12553 by @tiangolo.docs/en/docs/tutorial/first-steps.md. PR #12552 by @tiangolo.docs/en/docs/python-types.md. PR #12551 by @tiangolo.Translations
docs/de/docs/advanced/async-tests.md. PR #12567 by @imjuanleonard.docs/pt/docs/tutorial/sql-databases.md. PR #12530 by @ilacftemp.docs/ko/docs/benchmarks.md. PR #12540 by @Limsunoh.docs/pt/docs/how-to/separate-openapi-schemas.md. PR #12518 by @ilacftemp.docs/zh-hant/docs/deployment/index.md. PR #12521 by @codingjenny.docs/zh-hant/docs/deployment/cloud.md. PR #12522 by @codingjenny.docs/zh-hant/docs/how-to/index.md. PR #12523 by @codingjenny.docs/zh-hant/docs/tutorial/index.md. PR #12524 by @codingjenny.docs/zh-hant/docs/how-to/index.md. PR #12468 by @codingjenny.docs/zh-hant/docs/tutorial/index.md. PR #12466 by @codingjenny.docs/pt/docs/tutorial/header-param-models.md. PR #12437 by @Joao-Pedro-P-Holanda.docs/pt/docs/how-to/extending-openapi.md. PR #12470 by @ilacftemp.docs/pt/docs/advanced/dataclasses.md. PR #12475 by @leoscarlato.docs/pt/docs/how-to/custom-request-and-route.md. PR #12483 by @devfernandoa.Internal
v0.115.3Compare Source
Upgrades
>=0.40.0,<0.42.0. PR #12469 by @defnull.Docs
Translations
docs/zh-hant/docs/fastapi-cli.md. PR #12444 by @codingjenny.docs/zh-hant/docs/deployment/index.md. PR #12439 by @codingjenny.docs/pt/docs/how-to/testing-database.md. PR #12472 by @GuilhermeRameh.docs/pt/docs/how-to/custom-docs-ui-assets.md. PR #12473 by @devluisrodrigues.docs/pt/docs/advanced/response-headers.md. PR #12458 by @leonardopaloschi.docs/zh-hant/docs/deployment/cloud.md. PR #12440 by @codingjenny.docs/pt/docs/python-types.md. PR #12428 by @ceb10n.docs/ru/docs/environment-variables.md. PR #12436 by @wisderfin.docs/zh-hant/docs/resources/index.md. PR #12443 by @codingjenny.docs/zh-hant/docs/about/index.md. PR #12438 by @codingjenny.docs/pt/docs/tutorial/query-param-models.md. PR #12414 by @ceb10n.docs/pt/docs/deployment.md. PR #12427 by @ceb10n.docs/pt/docs/tutorial/body-updates.md. PR #12381 by @andersonrocha0.docs/pt/docs/advanced/response-cookies.md. PR #12417 by @Paulofalcao2002.Internal
v0.115.2Compare Source
Upgrades
>=0.37.2,<0.41.0. PR #12431 by @tiangolo.v0.115.1Compare Source
Fixes
Requiredshadowing from fastapi using Pydantic v2. PR #12197 by @pachewise.Refactors
python-multipart. PR #12407 by @tiangolo.Docs
base_pathformdx_includeMarkdown extension in MkDocs. PR #12391 by @tiangolo.docs/project-generation.md. PR #12274 by @kayqueGovetri.Translations
docs/pt/docs/tutorial/cookie-param-models.md. PR #12298 by @ceb10n.docs/pt/docs/how-to/graphql.md. PR #12215 by @AnandaCampelo.docs/pt/docs/advanced/security/oauth2-scopes.md. PR #12263 by @ceb10n.docs/pt/docs/deployment/concepts.md. PR #12219 by @marcelomarkus.docs/pt/docs/how-to/conditional-openapi.md. PR #12221 by @marcelomarkus.docs/pt/docs/advanced/response-directly.md. PR #12266 by @Joao-Pedro-P-Holanda.docs/pt/docs/tutorial/cookie-params.md. PR #12297 by @ceb10n.docs/ko/docs/tutorial/index.md. PR #12278 by @kkotipy.docs/pt/docs/advanced/security/http-basic-auth.md. PR #12275 by @andersonrocha0.docs/pt/docs/deployment/cloud.md. PR #12217 by @marcelomarkus.docs/es/docs/python-types.md. PR #12235 by @JavierSanchezCastro.docs/nl/docs/environment-variables.md. PR #12200 by @maxscheijen.docs/pt/docs/deployment/manually.md. PR #12210 by @JoaoGustavoRogel.docs/pt/docs/deployment/server-workers.md. PR #12220 by @marcelomarkus.docs/pt/docs/how-to/configure-swagger-ui.md. PR #12222 by @marcelomarkus.Internal
sponsors_badge.yml. PR #12404 by @tiangolo.v0.115.0Compare Source
Highlights
Now you can declare
Query,Header, andCookieparameters with Pydantic models. 🎉QueryParameter ModelsUse Pydantic models for
Queryparameters:Read the new docs: Query Parameter Models.
HeaderParameter ModelsUse Pydantic models for
Headerparameters:Read the new docs: Header Parameter Models.
CookieParameter ModelsUse Pydantic models for
Cookieparameters:Read the new docs: Cookie Parameter Models.
Forbid Extra Query (Cookie, Header) Parameters
Use Pydantic models to restrict extra values for
Queryparameters (also applies toHeaderandCookieparameters).To achieve it, use Pydantic's
model_config = {"extra": "forbid"}:This applies to
Query,Header, andCookieparameters, read the new docs:Features
Query,Cookie,Header. PR #12199 by @tiangolo.Translations
docs/pt/docs/advanced/security/http-basic-auth.md. PR #12195 by @ceb10n.Internal
v0.114.2Compare Source
Fixes
alias. PR #12194 by @Wurstnase.Translations
docs/pt/docs/tutorial/request-form-models.md. PR #12175 by @ceb10n.docs/zh/docs/project-generation.md. PR #12170 by @waketzheng.docs/nl/docs/python-types.md. PR #12158 by @maxscheijen.Internal
v0.114.1Compare Source
Refactors
Docs
docs/en/docs/environment-variables.md. PR #12169 by @prometek.Translations
docs/pt/docs/virtual-environments.md. PR #12163 by @marcelomarkus.docs/pt/docs/environment-variables.md. PR #12162 by @marcelomarkus.docs/pt/docs/tutorial/testing.md. PR #12164 by @marcelomarkus.docs/pt/docs/tutorial/debugging.md. PR #12165 by @marcelomarkus.docs/ko/docs/project-generation.md. PR #12157 by @BORA040126.Internal
issue-manager.yml. PR #12159 by @tiangolo.fastapi/params.py. PR #12143 by @surreal30.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
5300ee0e61to5652dc3e7aUpdate dependency fastapi to v0.115.0to Update dependency fastapi to v0.115.25652dc3e7ato667271c6c8Update dependency fastapi to v0.115.2to Update dependency fastapi to v0.115.3667271c6c8to91802b4bdeUpdate dependency fastapi to v0.115.3to Update dependency fastapi to v0.115.491802b4bdeto6ae072d312Update dependency fastapi to v0.115.4to Update dependency fastapi to v0.115.56ae072d312toe5fe2586a7Update dependency fastapi to v0.115.5to Update dependency fastapi to v0.115.6e5fe2586a7to88ecb846a0Update dependency fastapi to v0.115.6to Update dependency fastapi to v0.115.788ecb846a0tof9519f9d80Update dependency fastapi to v0.115.7to Update dependency fastapi to v0.115.8Update dependency fastapi to v0.115.8to chore(deps): update dependency fastapi to v0.115.8chore(deps): update dependency fastapi to v0.115.8to chore(deps): update dependency fastapi to v0.115.8 - autoclosedPull request closed