fastapi/fastapi (fastapi)
### [`v0.115.5`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.5)
[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.4...0.115.5)
##### Refactors
- ♻️ Update internal checks to support Pydantic 2.10. PR [#12914](https://redirect.github.com/fastapi/fastapi/pull/12914) by [@tiangolo](https://redirect.github.com/tiangolo).
##### Docs
- 📝 Update includes for `docs/en/docs/tutorial/body.md`. PR [#12757](https://redirect.github.com/fastapi/fastapi/pull/12757) by [@gsheni](https://redirect.github.com/gsheni).
- 📝 Update includes in `docs/en/docs/advanced/testing-dependencies.md`. PR [#12647](https://redirect.github.com/fastapi/fastapi/pull/12647) by [@AyushSinghal1794](https://redirect.github.com/AyushSinghal1794).
- 📝 Update includes for `docs/en/docs/tutorial/metadata.md`. PR [#12773](https://redirect.github.com/fastapi/fastapi/pull/12773) by [@Nimitha-jagadeesha](https://redirect.github.com/Nimitha-jagadeesha).
- 📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#12045](https://redirect.github.com/fastapi/fastapi/pull/12045) by [@xuvjso](https://redirect.github.com/xuvjso).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/global-dependencies.md`. PR [#12653](https://redirect.github.com/fastapi/fastapi/pull/12653) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/body-updates.md`. PR [#12712](https://redirect.github.com/fastapi/fastapi/pull/12712) by [@davioc](https://redirect.github.com/davioc).
- 📝 Remove mention of Celery in the project generators. PR [#12742](https://redirect.github.com/fastapi/fastapi/pull/12742) by [@david-caro](https://redirect.github.com/david-caro).
- 📝 Update includes in `docs/en/docs/tutorial/header-param-models.md`. PR [#12814](https://redirect.github.com/fastapi/fastapi/pull/12814) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update `contributing.md` docs, include note to not translate this page. PR [#12841](https://redirect.github.com/fastapi/fastapi/pull/12841) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes in `docs/en/docs/tutorial/request-forms.md`. PR [#12648](https://redirect.github.com/fastapi/fastapi/pull/12648) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes in `docs/en/docs/tutorial/request-form-models.md`. PR [#12649](https://redirect.github.com/fastapi/fastapi/pull/12649) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes in `docs/en/docs/tutorial/security/oauth2-jwt.md`. PR [#12650](https://redirect.github.com/fastapi/fastapi/pull/12650) by [@OCE1960](https://redirect.github.com/OCE1960).
- 📝 Update includes in `docs/vi/docs/tutorial/first-steps.md`. PR [#12754](https://redirect.github.com/fastapi/fastapi/pull/12754) by [@MxPy](https://redirect.github.com/MxPy).
- 📝 Update includes for `docs/pt/docs/advanced/wsgi.md`. PR [#12769](https://redirect.github.com/fastapi/fastapi/pull/12769) by [@Nimitha-jagadeesha](https://redirect.github.com/Nimitha-jagadeesha).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#12815](https://redirect.github.com/fastapi/fastapi/pull/12815) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [#12813](https://redirect.github.com/fastapi/fastapi/pull/12813) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- ✏️ Fix error in `docs/en/docs/tutorial/middleware.md`. PR [#12819](https://redirect.github.com/fastapi/fastapi/pull/12819) by [@alejsdev](https://redirect.github.com/alejsdev).
- 📝 Update includes for `docs/en/docs/tutorial/security/get-current-user.md`. PR [#12645](https://redirect.github.com/fastapi/fastapi/pull/12645) by [@OCE1960](https://redirect.github.com/OCE1960).
- 📝 Update includes for `docs/en/docs/tutorial/security/first-steps.md`. PR [#12643](https://redirect.github.com/fastapi/fastapi/pull/12643) by [@OCE1960](https://redirect.github.com/OCE1960).
- 📝 Update includes in `docs/de/docs/advanced/additional-responses.md`. PR [#12821](https://redirect.github.com/fastapi/fastapi/pull/12821) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/advanced/generate-clients.md`. PR [#12642](https://redirect.github.com/fastapi/fastapi/pull/12642) by [@AyushSinghal1794](https://redirect.github.com/AyushSinghal1794).
- 📝 Fix admonition double quotes with new syntax. PR [#12835](https://redirect.github.com/fastapi/fastapi/pull/12835) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes in `docs/zh/docs/advanced/additional-responses.md`. PR [#12828](https://redirect.github.com/fastapi/fastapi/pull/12828) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/tutorial/path-params-numeric-validations.md`. PR [#12825](https://redirect.github.com/fastapi/fastapi/pull/12825) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes for `docs/en/docs/advanced/testing-websockets.md`. PR [#12761](https://redirect.github.com/fastapi/fastapi/pull/12761) by [@hamidrasti](https://redirect.github.com/hamidrasti).
- 📝 Update includes for `docs/en/docs/advanced/using-request-directly.md`. PR [#12760](https://redirect.github.com/fastapi/fastapi/pull/12760) by [@hamidrasti](https://redirect.github.com/hamidrasti).
- 📝 Update includes for `docs/advanced/wsgi.md`. PR [#12758](https://redirect.github.com/fastapi/fastapi/pull/12758) by [@hamidrasti](https://redirect.github.com/hamidrasti).
- 📝 Update includes in `docs/de/docs/tutorial/middleware.md`. PR [#12729](https://redirect.github.com/fastapi/fastapi/pull/12729) by [@paintdog](https://redirect.github.com/paintdog).
- 📝 Update includes for `docs/en/docs/tutorial/schema-extra-example.md`. PR [#12822](https://redirect.github.com/fastapi/fastapi/pull/12822) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes in `docs/fr/docs/advanced/additional-responses.md`. PR [#12634](https://redirect.github.com/fastapi/fastapi/pull/12634) by [@fegmorte](https://redirect.github.com/fegmorte).
- 📝 Update includes in `docs/fr/docs/advanced/path-operation-advanced-configuration.md`. PR [#12633](https://redirect.github.com/fastapi/fastapi/pull/12633) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/advanced/response-directly.md`. PR [#12632](https://redirect.github.com/fastapi/fastapi/pull/12632) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes for `docs/en/docs/tutorial/header-params.md`. PR [#12640](https://redirect.github.com/fastapi/fastapi/pull/12640) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes in `docs/en/docs/tutorial/cookie-param-models.md`. PR [#12639](https://redirect.github.com/fastapi/fastapi/pull/12639) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/extra-models.md`. PR [#12638](https://redirect.github.com/fastapi/fastapi/pull/12638) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/cors.md`. PR [#12637](https://redirect.github.com/fastapi/fastapi/pull/12637) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Update includes for `docs/en/docs/tutorial/dependencies/sub-dependencies.md`. PR [#12810](https://redirect.github.com/fastapi/fastapi/pull/12810) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes in `docs/en/docs/tutorial/body-nested-models.md`. PR [#12812](https://redirect.github.com/fastapi/fastapi/pull/12812) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/tutorial/path-operation-configuration.md`. PR [#12809](https://redirect.github.com/fastapi/fastapi/pull/12809) by [@AlexWendland](https://redirect.github.com/AlexWendland).
- 📝 Update includes in `docs/en/docs/tutorial/request-files.md`. PR [#12818](https://redirect.github.com/fastapi/fastapi/pull/12818) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes for `docs/en/docs/tutorial/query-param-models.md`. PR [#12817](https://redirect.github.com/fastapi/fastapi/pull/12817) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes in `docs/en/docs/tutorial/path-params.md`. PR [#12811](https://redirect.github.com/fastapi/fastapi/pull/12811) by [@AlexWendland](https://redirect.github.com/AlexWendland).
- 📝 Update includes in `docs/en/docs/tutorial/response-model.md`. PR [#12621](https://redirect.github.com/fastapi/fastapi/pull/12621) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/en/docs/advanced/websockets.md`. PR [#12606](https://redirect.github.com/fastapi/fastapi/pull/12606) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl).
- 📝 Updates include for `docs/en/docs/tutorial/cookie-params.md`. PR [#12808](https://redirect.github.com/fastapi/fastapi/pull/12808) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes in `docs/en/docs/tutorial/middleware.md`. PR [#12807](https://redirect.github.com/fastapi/fastapi/pull/12807) by [@AlexWendland](https://redirect.github.com/AlexWendland).
- 📝 Update includes in `docs/en/docs/advanced/sub-applications.md`. PR [#12806](https://redirect.github.com/fastapi/fastapi/pull/12806) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/advanced/response-headers.md`. PR [#12805](https://redirect.github.com/fastapi/fastapi/pull/12805) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes in `docs/fr/docs/tutorial/first-steps.md`. PR [#12594](https://redirect.github.com/fastapi/fastapi/pull/12594) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/en/docs/advanced/response-cookies.md`. PR [#12804](https://redirect.github.com/fastapi/fastapi/pull/12804) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes in `docs/en/docs/advanced/path-operation-advanced-configuration.md`. PR [#12802](https://redirect.github.com/fastapi/fastapi/pull/12802) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes for `docs/en/docs/advanced/response-directly.md`. PR [#12803](https://redirect.github.com/fastapi/fastapi/pull/12803) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes in `docs/zh/docs/tutorial/background-tasks.md`. PR [#12798](https://redirect.github.com/fastapi/fastapi/pull/12798) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong).
- 📝 Update includes for `docs/de/docs/tutorial/body-multiple-params.md`. PR [#12699](https://redirect.github.com/fastapi/fastapi/pull/12699) by [@alissadb](https://redirect.github.com/alissadb).
- 📝 Update includes in `docs/em/docs/tutorial/body-updates.md`. PR [#12799](https://redirect.github.com/fastapi/fastapi/pull/12799) by [@AlexWendland](https://redirect.github.com/AlexWendland).
- 📝 Update includes `docs/en/docs/advanced/response-change-status-code.md`. PR [#12801](https://redirect.github.com/fastapi/fastapi/pull/12801) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes `docs/en/docs/advanced/openapi-callbacks.md`. PR [#12800](https://redirect.github.com/fastapi/fastapi/pull/12800) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes in `docs/fr/docs/tutorial/body-multiple-params.md`. PR [#12598](https://redirect.github.com/fastapi/fastapi/pull/12598) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/en/docs/tutorial/body-multiple-params.md`. PR [#12593](https://redirect.github.com/fastapi/fastapi/pull/12593) by [@Tashanam-Shahbaz](https://redirect.github.com/Tashanam-Shahbaz).
- 📝 Update includes in `docs/pt/docs/tutorial/background-tasks.md`. PR [#12736](https://redirect.github.com/fastapi/fastapi/pull/12736) by [@bhunao](https://redirect.github.com/bhunao).
- 📝 Update includes for `docs/en/docs/advanced/custom-response.md`. PR [#12797](https://redirect.github.com/fastapi/fastapi/pull/12797) by [@handabaldeep](https://redirect.github.com/handabaldeep).
- 📝 Update includes for `docs/pt/docs/python-types.md`. PR [#12671](https://redirect.github.com/fastapi/fastapi/pull/12671) by [@ceb10n](https://redirect.github.com/ceb10n).
- 📝 Update includes for `docs/de/docs/python-types.md`. PR [#12660](https://redirect.github.com/fastapi/fastapi/pull/12660) by [@alissadb](https://redirect.github.com/alissadb).
- 📝 Update includes for `docs/de/docs/advanced/dataclasses.md`. PR [#12658](https://redirect.github.com/fastapi/fastapi/pull/12658) by [@alissadb](https://redirect.github.com/alissadb).
- 📝 Update includes in `docs/fr/docs/tutorial/path-params.md`. PR [#12592](https://redirect.github.com/fastapi/fastapi/pull/12592) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes for `docs/de/docs/how-to/configure-swagger-ui.md`. PR [#12690](https://redirect.github.com/fastapi/fastapi/pull/12690) by [@alissadb](https://redirect.github.com/alissadb).
- 📝 Update includes in `docs/en/docs/advanced/security/oauth2-scopes.md`. PR [#12572](https://redirect.github.com/fastapi/fastapi/pull/12572) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan).
- 📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md`. PR [#12624](https://redirect.github.com/fastapi/fastapi/pull/12624) by [@rabinlamadong](https://redirect.github.com/rabinlamadong).
- 📝 Update includes in `docs/en/docs/tutorial/dependencies/index.md`. PR [#12615](https://redirect.github.com/fastapi/fastapi/pull/12615) by [@bharara](https://redirect.github.com/bharara).
- 📝 Update includes in `docs/en/docs/tutorial/response-status-code.md`. PR [#12620](https://redirect.github.com/fastapi/fastapi/pull/12620) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md`. PR [#12623](https://redirect.github.com/fastapi/fastapi/pull/12623) by [@rabinlamadong](https://redirect.github.com/rabinlamadong).
- 📝 Update includes in `docs/en/docs/advanced/openapi-webhooks.md`. PR [#12605](https://redirect.github.com/fastapi/fastapi/pull/12605) by [@salmantec](https://redirect.github.com/salmantec).
- 📝 Update includes in `docs/en/docs/advanced/events.md`. PR [#12604](https://redirect.github.com/fastapi/fastapi/pull/12604) by [@salmantec](https://redirect.github.com/salmantec).
- 📝 Update includes in `docs/en/docs/advanced/dataclasses.md`. PR [#12603](https://redirect.github.com/fastapi/fastapi/pull/12603) by [@salmantec](https://redirect.github.com/salmantec).
- 📝 Update includes in `docs/es/docs/tutorial/cookie-params.md`. PR [#12602](https://redirect.github.com/fastapi/fastapi/pull/12602) by [@antonyare93](https://redirect.github.com/antonyare93).
- 📝 Update includes in `docs/fr/docs/tutorial/path-params-numeric-validations.md`. PR [#12601](https://redirect.github.com/fastapi/fastapi/pull/12601) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/background-tasks.md`. PR [#12600](https://redirect.github.com/fastapi/fastapi/pull/12600) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/en/docs/tutorial/encoder.md`. PR [#12597](https://redirect.github.com/fastapi/fastapi/pull/12597) by [@tonyjly](https://redirect.github.com/tonyjly).
- 📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md`. PR [#12557](https://redirect.github.com/fastapi/fastapi/pull/12557) by [@philipokiokio](https://redirect.github.com/philipokiokio).
- 🎨 Adjust spacing. PR [#12635](https://redirect.github.com/fastapi/fastapi/pull/12635) by [@alejsdev](https://redirect.github.com/alejsdev).
- 📝 Update includes in `docs/en/docs/how-to/custom-request-and-route.md`. PR [#12560](https://redirect.github.com/fastapi/fastapi/pull/12560) by [@philipokiokio](https://redirect.github.com/philipokiokio).
##### Translations
- 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-websockets.md`. PR [#12739](https://redirect.github.com/fastapi/fastapi/pull/12739) by [@Limsunoh](https://redirect.github.com/Limsunoh).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/environment-variables.md`. PR [#12785](https://redirect.github.com/fastapi/fastapi/pull/12785) by [@Vincy1230](https://redirect.github.com/Vincy1230).
- 🌐 Add Chinese translation for `docs/zh/docs/environment-variables.md`. PR [#12784](https://redirect.github.com/fastapi/fastapi/pull/12784) by [@Vincy1230](https://redirect.github.com/Vincy1230).
- 🌐 Add Korean translation for `ko/docs/advanced/response-headers.md`. PR [#12740](https://redirect.github.com/fastapi/fastapi/pull/12740) by [@kwang1215](https://redirect.github.com/kwang1215).
- 🌐 Add Chinese translation for `docs/zh/docs/virtual-environments.md`. PR [#12790](https://redirect.github.com/fastapi/fastapi/pull/12790) by [@Vincy1230](https://redirect.github.com/Vincy1230).
- 🌐 Add Korean translation for `/docs/ko/docs/environment-variables.md`. PR [#12526](https://redirect.github.com/fastapi/fastapi/pull/12526) by [@Tolerblanc](https://redirect.github.com/Tolerblanc).
- 🌐 Add Korean translation for `docs/ko/docs/history-design-future.md`. PR [#12646](https://redirect.github.com/fastapi/fastapi/pull/12646) by [@saeye](https://redirect.github.com/saeye).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/advanced-dependencies.md`. PR [#12675](https://redirect.github.com/fastapi/fastapi/pull/12675) by [@kim-sangah](https://redirect.github.com/kim-sangah).
- 🌐 Add Korean translation for `docs/ko/docs/how-to/conditional-openapi.md`. PR [#12731](https://redirect.github.com/fastapi/fastapi/pull/12731) by [@sptcnl](https://redirect.github.com/sptcnl).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/using_request_directly.md`. PR [#12738](https://redirect.github.com/fastapi/fastapi/pull/12738) by [@kwang1215](https://redirect.github.com/kwang1215).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-events.md`. PR [#12741](https://redirect.github.com/fastapi/fastapi/pull/12741) by [@9zimin9](https://redirect.github.com/9zimin9).
- 🌐 Add Korean translation for `docs/ko/docs/security/index.md`. PR [#12743](https://redirect.github.com/fastapi/fastapi/pull/12743) by [@kim-sangah](https://redirect.github.com/kim-sangah).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/path-operation-advanced-configuration.md`. PR [#12762](https://redirect.github.com/fastapi/fastapi/pull/12762) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/wsgi.md`. PR [#12659](https://redirect.github.com/fastapi/fastapi/pull/12659) by [@Limsunoh](https://redirect.github.com/Limsunoh).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/websockets.md`. PR [#12703](https://redirect.github.com/fastapi/fastapi/pull/12703) by [@devfernandoa](https://redirect.github.com/devfernandoa).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/security/simple-oauth2.md`. PR [#12520](https://redirect.github.com/fastapi/fastapi/pull/12520) by [@LidiaDomingos](https://redirect.github.com/LidiaDomingos).
- 🌐 Add Korean translation for `docs/ko/docs/advanced/response-directly.md`. PR [#12674](https://redirect.github.com/fastapi/fastapi/pull/12674) by [@9zimin9](https://redirect.github.com/9zimin9).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/middleware.md`. PR [#12704](https://redirect.github.com/fastapi/fastapi/pull/12704) by [@devluisrodrigues](https://redirect.github.com/devluisrodrigues).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/openapi-callbacks.md`. PR [#12705](https://redirect.github.com/fastapi/fastapi/pull/12705) by [@devfernandoa](https://redirect.github.com/devfernandoa).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-files.md`. PR [#12706](https://redirect.github.com/fastapi/fastapi/pull/12706) by [@devluisrodrigues](https://redirect.github.com/devluisrodrigues).
- 🌐 Add Portuguese Translation for `docs/pt/docs/advanced/custom-response.md`. PR [#12631](https://redirect.github.com/fastapi/fastapi/pull/12631) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/metadata.md`. PR [#12538](https://redirect.github.com/fastapi/fastapi/pull/12538) by [@LinkolnR](https://redirect.github.com/LinkolnR).
- 🌐 Add Korean translation for `docs/ko/docs/tutorial/metadata.md`. PR [#12541](https://redirect.github.com/fastapi/fastapi/pull/12541) by [@kwang1215](https://redirect.github.com/kwang1215).
- 🌐 Add Korean Translation for `docs/ko/docs/advanced/response-cookies.md`. PR [#12546](https://redirect.github.com/fastapi/fastapi/pull/12546) by [@kim-sangah](https://redirect.github.com/kim-sangah).
- 🌐 Add Korean translation for `docs/ko/docs/fastapi-cli.md`. PR [#12515](https://redirect.github.com/fastapi/fastapi/pull/12515) by [@dhdld](https://redirect.github.com/dhdld).
- 🌐 Add Korean Translation for `docs/ko/docs/advanced/response-change-status-code.md`. PR [#12547](https://redirect.github.com/fastapi/fastapi/pull/12547) by [@9zimin9](https://redirect.github.com/9zimin9).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12907](https://redirect.github.com/fastapi/fastapi/pull/12907) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
- 🔨 Update docs preview script to show previous version and English version. PR [#12856](https://redirect.github.com/fastapi/fastapi/pull/12856) by [@tiangolo](https://redirect.github.com/tiangolo).
- ⬆ Bump tiangolo/latest-changes from 0.3.1 to 0.3.2. PR [#12794](https://redirect.github.com/fastapi/fastapi/pull/12794) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2. PR [#12788](https://redirect.github.com/fastapi/fastapi/pull/12788) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.0. PR [#12781](https://redirect.github.com/fastapi/fastapi/pull/12781) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump cloudflare/wrangler-action from 3.11 to 3.12. PR [#12777](https://redirect.github.com/fastapi/fastapi/pull/12777) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12766](https://redirect.github.com/fastapi/fastapi/pull/12766) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0. PR [#12721](https://redirect.github.com/fastapi/fastapi/pull/12721) by [@dependabot\[bot\]](https://redirect.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://redirect.github.com/fastapi/fastapi/pull/12749) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump typer from 0.12.3 to 0.12.5. PR [#12748](https://redirect.github.com/fastapi/fastapi/pull/12748) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Update flask requirement from <3.0.0,>=1.1.2 to >=1.1.2,<4.0.0. PR [#12747](https://redirect.github.com/fastapi/fastapi/pull/12747) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump pillow from 10.4.0 to 11.0.0. PR [#12746](https://redirect.github.com/fastapi/fastapi/pull/12746) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Update pytest requirement from <8.0.0,>=7.1.3 to >=7.1.3,<9.0.0. PR [#12745](https://redirect.github.com/fastapi/fastapi/pull/12745) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- 🔧 Update sponsors: add Render. PR [#12733](https://redirect.github.com/fastapi/fastapi/pull/12733) by [@tiangolo](https://redirect.github.com/tiangolo).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12707](https://redirect.github.com/fastapi/fastapi/pull/12707) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
### [`v0.115.4`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.4)
[Compare Source](https://redirect.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://redirect.github.com/fastapi/fastapi/pull/12627) by [@tiangolo](https://redirect.github.com/tiangolo).
##### Docs
- 📝 Update includes in `docs/fr/docs/tutorial/body.md`. PR [#12596](https://redirect.github.com/fastapi/fastapi/pull/12596) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/debugging.md`. PR [#12595](https://redirect.github.com/fastapi/fastapi/pull/12595) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/query-params-str-validations.md`. PR [#12591](https://redirect.github.com/fastapi/fastapi/pull/12591) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/fr/docs/tutorial/query-params.md`. PR [#12589](https://redirect.github.com/fastapi/fastapi/pull/12589) by [@kantandane](https://redirect.github.com/kantandane).
- 📝 Update includes in `docs/en/tutorial/body-fields.md`. PR [#12588](https://redirect.github.com/fastapi/fastapi/pull/12588) by [@lucaromagnoli](https://redirect.github.com/lucaromagnoli).
- 📝 Update includes in `docs/de/docs/tutorial/response-status-code.md`. PR [#12585](https://redirect.github.com/fastapi/fastapi/pull/12585) by [@abejaranoh](https://redirect.github.com/abejaranoh).
- 📝 Update includes in `docs/en/docs/tutorial/body.md`. PR [#12586](https://redirect.github.com/fastapi/fastapi/pull/12586) by [@lucaromagnoli](https://redirect.github.com/lucaromagnoli).
- 📝 Update includes in `docs/en/docs/advanced/behind-a-proxy.md`. PR [#12583](https://redirect.github.com/fastapi/fastapi/pull/12583) by [@imjuanleonard](https://redirect.github.com/imjuanleonard).
- 📝 Update includes syntax for `docs/pl/docs/tutorial/first-steps.md`. PR [#12584](https://redirect.github.com/fastapi/fastapi/pull/12584) by [@sebkozlo](https://redirect.github.com/sebkozlo).
- 📝 Update includes in `docs/en/docs/advanced/middleware.md`. PR [#12582](https://redirect.github.com/fastapi/fastapi/pull/12582) by [@montanarograziano](https://redirect.github.com/montanarograziano).
- 📝 Update includes in `docs/en/docs/advanced/additional-status-codes.md`. PR [#12577](https://redirect.github.com/fastapi/fastapi/pull/12577) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan).
- 📝 Update includes in `docs/en/docs/advanced/advanced-dependencies.md`. PR [#12578](https://redirect.github.com/fastapi/fastapi/pull/12578) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan).
- 📝 Update includes in `docs/en/docs/advanced/additional-responses.md`. PR [#12576](https://redirect.github.com/fastapi/fastapi/pull/12576) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan).
- 📝 Update includes in `docs/en/docs/tutorial/static-files.md`. PR [#12575](https://redirect.github.com/fastapi/fastapi/pull/12575) by [@lucaromagnoli](https://redirect.github.com/lucaromagnoli).
- 📝 Update includes in `docs/en/docs/advanced/async-tests.md`. PR [#12568](https://redirect.github.com/fastapi/fastapi/pull/12568) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan).
- 📝 Update includes in `docs/pt/docs/advanced/behind-a-proxy.md`. PR [#12563](https://redirect.github.com/fastapi/fastapi/pull/12563) by [@asmioglou](https://redirect.github.com/asmioglou).
- 📝 Update includes in `docs/de/docs/advanced/security/http-basic-auth.md`. PR [#12561](https://redirect.github.com/fastapi/fastapi/pull/12561) by [@Nimitha-jagadeesha](https://redirect.github.com/Nimitha-jagadeesha).
- 📝 Update includes in `docs/en/docs/tutorial/background-tasks.md`. PR [#12559](https://redirect.github.com/fastapi/fastapi/pull/12559) by [@FarhanAliRaza](https://redirect.github.com/FarhanAliRaza).
- 📝 Update includes in `docs/fr/docs/python-types.md`. PR [#12558](https://redirect.github.com/fastapi/fastapi/pull/12558) by [@Ismailtlem](https://redirect.github.com/Ismailtlem).
- 📝 Update includes in `docs/en/docs/how-to/graphql.md`. PR [#12564](https://redirect.github.com/fastapi/fastapi/pull/12564) by [@philipokiokio](https://redirect.github.com/philipokiokio).
- 📝 Update includes in `docs/en/docs/how-to/extending-openapi.md`. PR [#12562](https://redirect.github.com/fastapi/fastapi/pull/12562) by [@philipokiokio](https://redirect.github.com/philipokiokio).
- 📝 Update includes for `docs/en/docs/how-to/configure-swagger-ui.md`. PR [#12556](https://redirect.github.com/fastapi/fastapi/pull/12556) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes for `docs/en/docs/how-to/separate-openapi-schemas.md`. PR [#12555](https://redirect.github.com/fastapi/fastapi/pull/12555) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes for `docs/en/docs/advanced/security/http-basic-auth.md`. PR [#12553](https://redirect.github.com/fastapi/fastapi/pull/12553) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes in `docs/en/docs/tutorial/first-steps.md`. PR [#12552](https://redirect.github.com/fastapi/fastapi/pull/12552) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update includes in `docs/en/docs/python-types.md`. PR [#12551](https://redirect.github.com/fastapi/fastapi/pull/12551) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Fix link in OAuth2 docs. PR [#12550](https://redirect.github.com/fastapi/fastapi/pull/12550) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Add External Link: FastAPI do Zero. PR [#12533](https://redirect.github.com/fastapi/fastapi/pull/12533) by [@rennerocha](https://redirect.github.com/rennerocha).
- 📝 Fix minor typos. PR [#12516](https://redirect.github.com/fastapi/fastapi/pull/12516) by [@kkirsche](https://redirect.github.com/kkirsche).
- 🌐 Fix rendering issue in translations. PR [#12509](https://redirect.github.com/fastapi/fastapi/pull/12509) by [@alejsdev](https://redirect.github.com/alejsdev).
##### Translations
- 📝 Update includes in `docs/de/docs/advanced/async-tests.md`. PR [#12567](https://redirect.github.com/fastapi/fastapi/pull/12567) by [@imjuanleonard](https://redirect.github.com/imjuanleonard).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/sql-databases.md`. PR [#12530](https://redirect.github.com/fastapi/fastapi/pull/12530) by [@ilacftemp](https://redirect.github.com/ilacftemp).
- 🌐 Add Korean translation for `docs/ko/docs/benchmarks.md`. PR [#12540](https://redirect.github.com/fastapi/fastapi/pull/12540) by [@Limsunoh](https://redirect.github.com/Limsunoh).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/separate-openapi-schemas.md`. PR [#12518](https://redirect.github.com/fastapi/fastapi/pull/12518) by [@ilacftemp](https://redirect.github.com/ilacftemp).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/deployment/index.md`. PR [#12521](https://redirect.github.com/fastapi/fastapi/pull/12521) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/deployment/cloud.md`. PR [#12522](https://redirect.github.com/fastapi/fastapi/pull/12522) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/how-to/index.md`. PR [#12523](https://redirect.github.com/fastapi/fastapi/pull/12523) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#12524](https://redirect.github.com/fastapi/fastapi/pull/12524) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/how-to/index.md`. PR [#12468](https://redirect.github.com/fastapi/fastapi/pull/12468) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#12466](https://redirect.github.com/fastapi/fastapi/pull/12466) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/header-param-models.md`. PR [#12437](https://redirect.github.com/fastapi/fastapi/pull/12437) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/extending-openapi.md`. PR [#12470](https://redirect.github.com/fastapi/fastapi/pull/12470) by [@ilacftemp](https://redirect.github.com/ilacftemp).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/dataclasses.md`. PR [#12475](https://redirect.github.com/fastapi/fastapi/pull/12475) by [@leoscarlato](https://redirect.github.com/leoscarlato).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/custom-request-and-route.md`. PR [#12483](https://redirect.github.com/fastapi/fastapi/pull/12483) by [@devfernandoa](https://redirect.github.com/devfernandoa).
##### Internal
- ⬆ Bump cloudflare/wrangler-action from 3.9 to 3.11. PR [#12544](https://redirect.github.com/fastapi/fastapi/pull/12544) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- 👷 Update GitHub Action to deploy docs previews to handle missing deploy comments. PR [#12527](https://redirect.github.com/fastapi/fastapi/pull/12527) by [@tiangolo](https://redirect.github.com/tiangolo).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12505](https://redirect.github.com/fastapi/fastapi/pull/12505) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
### [`v0.115.3`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.3)
[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.2...0.115.3)
##### Upgrades
- ⬆️ Upgrade Starlette to `>=0.40.0,<0.42.0`. PR [#12469](https://redirect.github.com/fastapi/fastapi/pull/12469) by [@defnull](https://redirect.github.com/defnull).
##### Docs
- 📝 Fix broken link in docs. PR [#12495](https://redirect.github.com/fastapi/fastapi/pull/12495) by [@eltonjncorreia](https://redirect.github.com/eltonjncorreia).
##### Translations
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/fastapi-cli.md`. PR [#12444](https://redirect.github.com/fastapi/fastapi/pull/12444) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/deployment/index.md`. PR [#12439](https://redirect.github.com/fastapi/fastapi/pull/12439) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/testing-database.md`. PR [#12472](https://redirect.github.com/fastapi/fastapi/pull/12472) by [@GuilhermeRameh](https://redirect.github.com/GuilhermeRameh).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/custom-docs-ui-assets.md`. PR [#12473](https://redirect.github.com/fastapi/fastapi/pull/12473) by [@devluisrodrigues](https://redirect.github.com/devluisrodrigues).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-headers.md`. PR [#12458](https://redirect.github.com/fastapi/fastapi/pull/12458) by [@leonardopaloschi](https://redirect.github.com/leonardopaloschi).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/deployment/cloud.md`. PR [#12440](https://redirect.github.com/fastapi/fastapi/pull/12440) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Update Portuguese translation for `docs/pt/docs/python-types.md`. PR [#12428](https://redirect.github.com/fastapi/fastapi/pull/12428) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Add Russian translation for `docs/ru/docs/environment-variables.md`. PR [#12436](https://redirect.github.com/fastapi/fastapi/pull/12436) by [@wisderfin](https://redirect.github.com/wisderfin).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/resources/index.md`. PR [#12443](https://redirect.github.com/fastapi/fastapi/pull/12443) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/about/index.md`. PR [#12438](https://redirect.github.com/fastapi/fastapi/pull/12438) by [@codingjenny](https://redirect.github.com/codingjenny).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/query-param-models.md`. PR [#12414](https://redirect.github.com/fastapi/fastapi/pull/12414) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Remove Portuguese translation for `docs/pt/docs/deployment.md`. PR [#12427](https://redirect.github.com/fastapi/fastapi/pull/12427) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/body-updates.md`. PR [#12381](https://redirect.github.com/fastapi/fastapi/pull/12381) by [@andersonrocha0](https://redirect.github.com/andersonrocha0).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-cookies.md`. PR [#12417](https://redirect.github.com/fastapi/fastapi/pull/12417) by [@Paulofalcao2002](https://redirect.github.com/Paulofalcao2002).
##### Internal
- 👷 Update issue manager workflow . PR [#12457](https://redirect.github.com/fastapi/fastapi/pull/12457) by [@alejsdev](https://redirect.github.com/alejsdev).
- 🔧 Update team, include YuriiMotov 🚀. PR [#12453](https://redirect.github.com/fastapi/fastapi/pull/12453) by [@tiangolo](https://redirect.github.com/tiangolo).
- 👷 Refactor label-approved, make it an internal script instead of an external GitHub Action. PR [#12280](https://redirect.github.com/fastapi/fastapi/pull/12280) by [@tiangolo](https://redirect.github.com/tiangolo).
- 👷 Fix smokeshow, checkout files on CI. PR [#12434](https://redirect.github.com/fastapi/fastapi/pull/12434) by [@tiangolo](https://redirect.github.com/tiangolo).
- 👷 Use uv in CI. PR [#12281](https://redirect.github.com/fastapi/fastapi/pull/12281) by [@tiangolo](https://redirect.github.com/tiangolo).
- ⬆ Update httpx requirement from <0.25.0,>=0.23.0 to >=0.23.0,<0.28.0. PR [#11509](https://redirect.github.com/fastapi/fastapi/pull/11509) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
### [`v0.115.2`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.2)
[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.1...0.115.2)
##### Upgrades
- ⬆️ Upgrade Starlette to `>=0.37.2,<0.41.0`. PR [#12431](https://redirect.github.com/fastapi/fastapi/pull/12431) by [@tiangolo](https://redirect.github.com/tiangolo).
### [`v0.115.1`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.1)
[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.0...0.115.1)
##### Fixes
- 🐛 Fix openapi generation with responses kwarg. PR [#10895](https://redirect.github.com/fastapi/fastapi/pull/10895) by [@flxdot](https://redirect.github.com/flxdot).
- 🐛 Remove `Required` shadowing from fastapi using Pydantic v2. PR [#12197](https://redirect.github.com/fastapi/fastapi/pull/12197) by [@pachewise](https://redirect.github.com/pachewise).
##### Refactors
- ♻️ Update type annotations for improved `python-multipart`. PR [#12407](https://redirect.github.com/fastapi/fastapi/pull/12407) by [@tiangolo](https://redirect.github.com/tiangolo).
##### Docs
- ✨ Add new tutorial for SQL databases with SQLModel. PR [#12285](https://redirect.github.com/fastapi/fastapi/pull/12285) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Add External Link: How to profile a FastAPI asynchronous request. PR [#12389](https://redirect.github.com/fastapi/fastapi/pull/12389) by [@brouberol](https://redirect.github.com/brouberol).
- 🔧 Remove `base_path` for `mdx_include` Markdown extension in MkDocs. PR [#12391](https://redirect.github.com/fastapi/fastapi/pull/12391) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Update link to Swagger UI configuration docs. PR [#12264](https://redirect.github.com/fastapi/fastapi/pull/12264) by [@makisukurisu](https://redirect.github.com/makisukurisu).
- 📝 Adding links for Playwright and Vite in `docs/project-generation.md`. PR [#12274](https://redirect.github.com/fastapi/fastapi/pull/12274) by [@kayqueGovetri](https://redirect.github.com/kayqueGovetri).
- 📝 Fix small typos in the documentation. PR [#12213](https://redirect.github.com/fastapi/fastapi/pull/12213) by [@svlandeg](https://redirect.github.com/svlandeg).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/cookie-param-models.md`. PR [#12298](https://redirect.github.com/fastapi/fastapi/pull/12298) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/graphql.md`. PR [#12215](https://redirect.github.com/fastapi/fastapi/pull/12215) by [@AnandaCampelo](https://redirect.github.com/AnandaCampelo).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/oauth2-scopes.md`. PR [#12263](https://redirect.github.com/fastapi/fastapi/pull/12263) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/concepts.md`. PR [#12219](https://redirect.github.com/fastapi/fastapi/pull/12219) by [@marcelomarkus](https://redirect.github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/conditional-openapi.md`. PR [#12221](https://redirect.github.com/fastapi/fastapi/pull/12221) by [@marcelomarkus](https://redirect.github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-directly.md`. PR [#12266](https://redirect.github.com/fastapi/fastapi/pull/12266) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda).
- 🌐 Update Portuguese translation for `docs/pt/docs/tutorial/cookie-params.md`. PR [#12297](https://redirect.github.com/fastapi/fastapi/pull/12297) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Fix Korean translation for `docs/ko/docs/tutorial/index.md`. PR [#12278](https://redirect.github.com/fastapi/fastapi/pull/12278) by [@kkotipy](https://redirect.github.com/kkotipy).
- 🌐 Update Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#12275](https://redirect.github.com/fastapi/fastapi/pull/12275) by [@andersonrocha0](https://redirect.github.com/andersonrocha0).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/cloud.md`. PR [#12217](https://redirect.github.com/fastapi/fastapi/pull/12217) by [@marcelomarkus](https://redirect.github.com/marcelomarkus).
- ✏️ Fix typo in `docs/es/docs/python-types.md`. PR [#12235](https://redirect.github.com/fastapi/fastapi/pull/12235) by [@JavierSanchezCastro](https://redirect.github.com/JavierSanchezCastro).
- 🌐 Add Dutch translation for `docs/nl/docs/environment-variables.md`. PR [#12200](https://redirect.github.com/fastapi/fastapi/pull/12200) by [@maxscheijen](https://redirect.github.com/maxscheijen).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/manually.md`. PR [#12210](https://redirect.github.com/fastapi/fastapi/pull/12210) by [@JoaoGustavoRogel](https://redirect.github.com/JoaoGustavoRogel).
- 🌐 Add Portuguese translation for `docs/pt/docs/deployment/server-workers.md`. PR [#12220](https://redirect.github.com/fastapi/fastapi/pull/12220) by [@marcelomarkus](https://redirect.github.com/marcelomarkus).
- 🌐 Add Portuguese translation for `docs/pt/docs/how-to/configure-swagger-ui.md`. PR [#12222](https://redirect.github.com/fastapi/fastapi/pull/12222) by [@marcelomarkus](https://redirect.github.com/marcelomarkus).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12396](https://redirect.github.com/fastapi/fastapi/pull/12396) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
- 🔨 Add script to generate variants of files. PR [#12405](https://redirect.github.com/fastapi/fastapi/pull/12405) by [@tiangolo](https://redirect.github.com/tiangolo).
- 🔧 Add speakeasy-api to `sponsors_badge.yml`. PR [#12404](https://redirect.github.com/fastapi/fastapi/pull/12404) by [@tiangolo](https://redirect.github.com/tiangolo).
- ➕ Add docs dependency: markdown-include-variants. PR [#12399](https://redirect.github.com/fastapi/fastapi/pull/12399) by [@tiangolo](https://redirect.github.com/tiangolo).
- 📝 Fix extra mdx-base-path paths. PR [#12397](https://redirect.github.com/fastapi/fastapi/pull/12397) by [@tiangolo](https://redirect.github.com/tiangolo).
- 👷 Tweak labeler to not override custom labels. PR [#12398](https://redirect.github.com/fastapi/fastapi/pull/12398) by [@tiangolo](https://redirect.github.com/tiangolo).
- 👷 Update worfkow deploy-docs-notify URL. PR [#12392](https://redirect.github.com/fastapi/fastapi/pull/12392) by [@tiangolo](https://redirect.github.com/tiangolo).
- 👷 Update Cloudflare GitHub Action. PR [#12387](https://redirect.github.com/fastapi/fastapi/pull/12387) by [@tiangolo](https://redirect.github.com/tiangolo).
- ⬆ Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3. PR [#12386](https://redirect.github.com/fastapi/fastapi/pull/12386) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump mkdocstrings\[python] from 0.25.1 to 0.26.1. PR [#12371](https://redirect.github.com/fastapi/fastapi/pull/12371) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ Bump griffe-typingdoc from 0.2.6 to 0.2.7. PR [#12370](https://redirect.github.com/fastapi/fastapi/pull/12370) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12331](https://redirect.github.com/fastapi/fastapi/pull/12331) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
- 🔧 Update sponsors, remove Fine.dev. PR [#12271](https://redirect.github.com/fastapi/fastapi/pull/12271) by [@tiangolo](https://redirect.github.com/tiangolo).
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12253](https://redirect.github.com/fastapi/fastapi/pull/12253) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
- ✏️ Fix docstring typos in http security. PR [#12223](https://redirect.github.com/fastapi/fastapi/pull/12223) by [@albertvillanova](https://redirect.github.com/albertvillanova).
### [`v0.115.0`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.0)
[Compare Source](https://redirect.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://redirect.github.com/fastapi/fastapi/pull/12199) by [@tiangolo](https://redirect.github.com/tiangolo).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#12195](https://redirect.github.com/fastapi/fastapi/pull/12195) by [@ceb10n](https://redirect.github.com/ceb10n).
##### Internal
- ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12204](https://redirect.github.com/fastapi/fastapi/pull/12204) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci).
### [`v0.114.2`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.114.2)
[Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.114.1...0.114.2)
##### Fixes
- 🐛 Fix form field regression with `alias`. PR [#12194](https://redirect.github.com/fastapi/fastapi/pull/12194) by [@Wurstnase](https://redirect.github.com/Wurstnase).
##### Translations
- 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-form-models.md`. PR [#12175](https://redirect.github.com/fastapi/fastapi/pull/12175) by [@ceb10n](https://redirect.github.com/ceb10n).
- 🌐 Add Chinese translation for `docs/zh/docs/project-generation.md`. PR [#12170](https://redirect.github.com/fastapi/fastapi/pull/12170) by [@waketzheng](https://redirect.github.com/waketzheng).
- 🌐 Add Dutch translation for `docs/nl/docs/python-types.md`. PR [#12158](https://redirect.github.com/fastapi/fastapi/pull/12158) by [@maxscheijen](https://redirect.github.com/maxscheijen).
##### Internal
- 💡 Add comments with instructions for Playwright screenshot scripts. PR [#12193](https://redirect.github.com/fastapi/fastapi/pull/12193) by [@tiangolo](https://redirect.github.com/tiangolo).
- ➕ Add inline-snapshot for tests. PR [#12189](https://redirect.github.com/fastapi/fastapi/pull/12189) by [@tiangolo](https://redirect.github.com/tiangolo).
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==0.114.1
->==0.115.5
Release Notes
fastapi/fastapi (fastapi)
### [`v0.115.5`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.5) [Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.4...0.115.5) ##### Refactors - ♻️ Update internal checks to support Pydantic 2.10. PR [#12914](https://redirect.github.com/fastapi/fastapi/pull/12914) by [@tiangolo](https://redirect.github.com/tiangolo). ##### Docs - 📝 Update includes for `docs/en/docs/tutorial/body.md`. PR [#12757](https://redirect.github.com/fastapi/fastapi/pull/12757) by [@gsheni](https://redirect.github.com/gsheni). - 📝 Update includes in `docs/en/docs/advanced/testing-dependencies.md`. PR [#12647](https://redirect.github.com/fastapi/fastapi/pull/12647) by [@AyushSinghal1794](https://redirect.github.com/AyushSinghal1794). - 📝 Update includes for `docs/en/docs/tutorial/metadata.md`. PR [#12773](https://redirect.github.com/fastapi/fastapi/pull/12773) by [@Nimitha-jagadeesha](https://redirect.github.com/Nimitha-jagadeesha). - 📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#12045](https://redirect.github.com/fastapi/fastapi/pull/12045) by [@xuvjso](https://redirect.github.com/xuvjso). - 📝 Update includes for `docs/en/docs/tutorial/dependencies/global-dependencies.md`. PR [#12653](https://redirect.github.com/fastapi/fastapi/pull/12653) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes for `docs/en/docs/tutorial/body-updates.md`. PR [#12712](https://redirect.github.com/fastapi/fastapi/pull/12712) by [@davioc](https://redirect.github.com/davioc). - 📝 Remove mention of Celery in the project generators. PR [#12742](https://redirect.github.com/fastapi/fastapi/pull/12742) by [@david-caro](https://redirect.github.com/david-caro). - 📝 Update includes in `docs/en/docs/tutorial/header-param-models.md`. PR [#12814](https://redirect.github.com/fastapi/fastapi/pull/12814) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update `contributing.md` docs, include note to not translate this page. PR [#12841](https://redirect.github.com/fastapi/fastapi/pull/12841) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes in `docs/en/docs/tutorial/request-forms.md`. PR [#12648](https://redirect.github.com/fastapi/fastapi/pull/12648) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes in `docs/en/docs/tutorial/request-form-models.md`. PR [#12649](https://redirect.github.com/fastapi/fastapi/pull/12649) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes in `docs/en/docs/tutorial/security/oauth2-jwt.md`. PR [#12650](https://redirect.github.com/fastapi/fastapi/pull/12650) by [@OCE1960](https://redirect.github.com/OCE1960). - 📝 Update includes in `docs/vi/docs/tutorial/first-steps.md`. PR [#12754](https://redirect.github.com/fastapi/fastapi/pull/12754) by [@MxPy](https://redirect.github.com/MxPy). - 📝 Update includes for `docs/pt/docs/advanced/wsgi.md`. PR [#12769](https://redirect.github.com/fastapi/fastapi/pull/12769) by [@Nimitha-jagadeesha](https://redirect.github.com/Nimitha-jagadeesha). - 📝 Update includes for `docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#12815](https://redirect.github.com/fastapi/fastapi/pull/12815) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes for `docs/en/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [#12813](https://redirect.github.com/fastapi/fastapi/pull/12813) by [@handabaldeep](https://redirect.github.com/handabaldeep). - ✏️ Fix error in `docs/en/docs/tutorial/middleware.md`. PR [#12819](https://redirect.github.com/fastapi/fastapi/pull/12819) by [@alejsdev](https://redirect.github.com/alejsdev). - 📝 Update includes for `docs/en/docs/tutorial/security/get-current-user.md`. PR [#12645](https://redirect.github.com/fastapi/fastapi/pull/12645) by [@OCE1960](https://redirect.github.com/OCE1960). - 📝 Update includes for `docs/en/docs/tutorial/security/first-steps.md`. PR [#12643](https://redirect.github.com/fastapi/fastapi/pull/12643) by [@OCE1960](https://redirect.github.com/OCE1960). - 📝 Update includes in `docs/de/docs/advanced/additional-responses.md`. PR [#12821](https://redirect.github.com/fastapi/fastapi/pull/12821) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes in `docs/en/docs/advanced/generate-clients.md`. PR [#12642](https://redirect.github.com/fastapi/fastapi/pull/12642) by [@AyushSinghal1794](https://redirect.github.com/AyushSinghal1794). - 📝 Fix admonition double quotes with new syntax. PR [#12835](https://redirect.github.com/fastapi/fastapi/pull/12835) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes in `docs/zh/docs/advanced/additional-responses.md`. PR [#12828](https://redirect.github.com/fastapi/fastapi/pull/12828) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes in `docs/en/docs/tutorial/path-params-numeric-validations.md`. PR [#12825](https://redirect.github.com/fastapi/fastapi/pull/12825) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes for `docs/en/docs/advanced/testing-websockets.md`. PR [#12761](https://redirect.github.com/fastapi/fastapi/pull/12761) by [@hamidrasti](https://redirect.github.com/hamidrasti). - 📝 Update includes for `docs/en/docs/advanced/using-request-directly.md`. PR [#12760](https://redirect.github.com/fastapi/fastapi/pull/12760) by [@hamidrasti](https://redirect.github.com/hamidrasti). - 📝 Update includes for `docs/advanced/wsgi.md`. PR [#12758](https://redirect.github.com/fastapi/fastapi/pull/12758) by [@hamidrasti](https://redirect.github.com/hamidrasti). - 📝 Update includes in `docs/de/docs/tutorial/middleware.md`. PR [#12729](https://redirect.github.com/fastapi/fastapi/pull/12729) by [@paintdog](https://redirect.github.com/paintdog). - 📝 Update includes for `docs/en/docs/tutorial/schema-extra-example.md`. PR [#12822](https://redirect.github.com/fastapi/fastapi/pull/12822) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes in `docs/fr/docs/advanced/additional-responses.md`. PR [#12634](https://redirect.github.com/fastapi/fastapi/pull/12634) by [@fegmorte](https://redirect.github.com/fegmorte). - 📝 Update includes in `docs/fr/docs/advanced/path-operation-advanced-configuration.md`. PR [#12633](https://redirect.github.com/fastapi/fastapi/pull/12633) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/fr/docs/advanced/response-directly.md`. PR [#12632](https://redirect.github.com/fastapi/fastapi/pull/12632) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes for `docs/en/docs/tutorial/header-params.md`. PR [#12640](https://redirect.github.com/fastapi/fastapi/pull/12640) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes in `docs/en/docs/tutorial/cookie-param-models.md`. PR [#12639](https://redirect.github.com/fastapi/fastapi/pull/12639) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes for `docs/en/docs/tutorial/extra-models.md`. PR [#12638](https://redirect.github.com/fastapi/fastapi/pull/12638) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes for `docs/en/docs/tutorial/cors.md`. PR [#12637](https://redirect.github.com/fastapi/fastapi/pull/12637) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Update includes for `docs/en/docs/tutorial/dependencies/sub-dependencies.md`. PR [#12810](https://redirect.github.com/fastapi/fastapi/pull/12810) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes in `docs/en/docs/tutorial/body-nested-models.md`. PR [#12812](https://redirect.github.com/fastapi/fastapi/pull/12812) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes in `docs/en/docs/tutorial/path-operation-configuration.md`. PR [#12809](https://redirect.github.com/fastapi/fastapi/pull/12809) by [@AlexWendland](https://redirect.github.com/AlexWendland). - 📝 Update includes in `docs/en/docs/tutorial/request-files.md`. PR [#12818](https://redirect.github.com/fastapi/fastapi/pull/12818) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes for `docs/en/docs/tutorial/query-param-models.md`. PR [#12817](https://redirect.github.com/fastapi/fastapi/pull/12817) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes in `docs/en/docs/tutorial/path-params.md`. PR [#12811](https://redirect.github.com/fastapi/fastapi/pull/12811) by [@AlexWendland](https://redirect.github.com/AlexWendland). - 📝 Update includes in `docs/en/docs/tutorial/response-model.md`. PR [#12621](https://redirect.github.com/fastapi/fastapi/pull/12621) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/en/docs/advanced/websockets.md`. PR [#12606](https://redirect.github.com/fastapi/fastapi/pull/12606) by [@vishnuvskvkl](https://redirect.github.com/vishnuvskvkl). - 📝 Updates include for `docs/en/docs/tutorial/cookie-params.md`. PR [#12808](https://redirect.github.com/fastapi/fastapi/pull/12808) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes in `docs/en/docs/tutorial/middleware.md`. PR [#12807](https://redirect.github.com/fastapi/fastapi/pull/12807) by [@AlexWendland](https://redirect.github.com/AlexWendland). - 📝 Update includes in `docs/en/docs/advanced/sub-applications.md`. PR [#12806](https://redirect.github.com/fastapi/fastapi/pull/12806) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes in `docs/en/docs/advanced/response-headers.md`. PR [#12805](https://redirect.github.com/fastapi/fastapi/pull/12805) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes in `docs/fr/docs/tutorial/first-steps.md`. PR [#12594](https://redirect.github.com/fastapi/fastapi/pull/12594) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/en/docs/advanced/response-cookies.md`. PR [#12804](https://redirect.github.com/fastapi/fastapi/pull/12804) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes in `docs/en/docs/advanced/path-operation-advanced-configuration.md`. PR [#12802](https://redirect.github.com/fastapi/fastapi/pull/12802) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes for `docs/en/docs/advanced/response-directly.md`. PR [#12803](https://redirect.github.com/fastapi/fastapi/pull/12803) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes in `docs/zh/docs/tutorial/background-tasks.md`. PR [#12798](https://redirect.github.com/fastapi/fastapi/pull/12798) by [@zhaohan-dong](https://redirect.github.com/zhaohan-dong). - 📝 Update includes for `docs/de/docs/tutorial/body-multiple-params.md`. PR [#12699](https://redirect.github.com/fastapi/fastapi/pull/12699) by [@alissadb](https://redirect.github.com/alissadb). - 📝 Update includes in `docs/em/docs/tutorial/body-updates.md`. PR [#12799](https://redirect.github.com/fastapi/fastapi/pull/12799) by [@AlexWendland](https://redirect.github.com/AlexWendland). - 📝 Update includes `docs/en/docs/advanced/response-change-status-code.md`. PR [#12801](https://redirect.github.com/fastapi/fastapi/pull/12801) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes `docs/en/docs/advanced/openapi-callbacks.md`. PR [#12800](https://redirect.github.com/fastapi/fastapi/pull/12800) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes in `docs/fr/docs/tutorial/body-multiple-params.md`. PR [#12598](https://redirect.github.com/fastapi/fastapi/pull/12598) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/en/docs/tutorial/body-multiple-params.md`. PR [#12593](https://redirect.github.com/fastapi/fastapi/pull/12593) by [@Tashanam-Shahbaz](https://redirect.github.com/Tashanam-Shahbaz). - 📝 Update includes in `docs/pt/docs/tutorial/background-tasks.md`. PR [#12736](https://redirect.github.com/fastapi/fastapi/pull/12736) by [@bhunao](https://redirect.github.com/bhunao). - 📝 Update includes for `docs/en/docs/advanced/custom-response.md`. PR [#12797](https://redirect.github.com/fastapi/fastapi/pull/12797) by [@handabaldeep](https://redirect.github.com/handabaldeep). - 📝 Update includes for `docs/pt/docs/python-types.md`. PR [#12671](https://redirect.github.com/fastapi/fastapi/pull/12671) by [@ceb10n](https://redirect.github.com/ceb10n). - 📝 Update includes for `docs/de/docs/python-types.md`. PR [#12660](https://redirect.github.com/fastapi/fastapi/pull/12660) by [@alissadb](https://redirect.github.com/alissadb). - 📝 Update includes for `docs/de/docs/advanced/dataclasses.md`. PR [#12658](https://redirect.github.com/fastapi/fastapi/pull/12658) by [@alissadb](https://redirect.github.com/alissadb). - 📝 Update includes in `docs/fr/docs/tutorial/path-params.md`. PR [#12592](https://redirect.github.com/fastapi/fastapi/pull/12592) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes for `docs/de/docs/how-to/configure-swagger-ui.md`. PR [#12690](https://redirect.github.com/fastapi/fastapi/pull/12690) by [@alissadb](https://redirect.github.com/alissadb). - 📝 Update includes in `docs/en/docs/advanced/security/oauth2-scopes.md`. PR [#12572](https://redirect.github.com/fastapi/fastapi/pull/12572) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan). - 📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md`. PR [#12624](https://redirect.github.com/fastapi/fastapi/pull/12624) by [@rabinlamadong](https://redirect.github.com/rabinlamadong). - 📝 Update includes in `docs/en/docs/tutorial/dependencies/index.md`. PR [#12615](https://redirect.github.com/fastapi/fastapi/pull/12615) by [@bharara](https://redirect.github.com/bharara). - 📝 Update includes in `docs/en/docs/tutorial/response-status-code.md`. PR [#12620](https://redirect.github.com/fastapi/fastapi/pull/12620) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md`. PR [#12623](https://redirect.github.com/fastapi/fastapi/pull/12623) by [@rabinlamadong](https://redirect.github.com/rabinlamadong). - 📝 Update includes in `docs/en/docs/advanced/openapi-webhooks.md`. PR [#12605](https://redirect.github.com/fastapi/fastapi/pull/12605) by [@salmantec](https://redirect.github.com/salmantec). - 📝 Update includes in `docs/en/docs/advanced/events.md`. PR [#12604](https://redirect.github.com/fastapi/fastapi/pull/12604) by [@salmantec](https://redirect.github.com/salmantec). - 📝 Update includes in `docs/en/docs/advanced/dataclasses.md`. PR [#12603](https://redirect.github.com/fastapi/fastapi/pull/12603) by [@salmantec](https://redirect.github.com/salmantec). - 📝 Update includes in `docs/es/docs/tutorial/cookie-params.md`. PR [#12602](https://redirect.github.com/fastapi/fastapi/pull/12602) by [@antonyare93](https://redirect.github.com/antonyare93). - 📝 Update includes in `docs/fr/docs/tutorial/path-params-numeric-validations.md`. PR [#12601](https://redirect.github.com/fastapi/fastapi/pull/12601) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/fr/docs/tutorial/background-tasks.md`. PR [#12600](https://redirect.github.com/fastapi/fastapi/pull/12600) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/en/docs/tutorial/encoder.md`. PR [#12597](https://redirect.github.com/fastapi/fastapi/pull/12597) by [@tonyjly](https://redirect.github.com/tonyjly). - 📝 Update includes in `docs/en/docs/how-to/custom-docs-ui-assets.md`. PR [#12557](https://redirect.github.com/fastapi/fastapi/pull/12557) by [@philipokiokio](https://redirect.github.com/philipokiokio). - 🎨 Adjust spacing. PR [#12635](https://redirect.github.com/fastapi/fastapi/pull/12635) by [@alejsdev](https://redirect.github.com/alejsdev). - 📝 Update includes in `docs/en/docs/how-to/custom-request-and-route.md`. PR [#12560](https://redirect.github.com/fastapi/fastapi/pull/12560) by [@philipokiokio](https://redirect.github.com/philipokiokio). ##### Translations - 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-websockets.md`. PR [#12739](https://redirect.github.com/fastapi/fastapi/pull/12739) by [@Limsunoh](https://redirect.github.com/Limsunoh). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/environment-variables.md`. PR [#12785](https://redirect.github.com/fastapi/fastapi/pull/12785) by [@Vincy1230](https://redirect.github.com/Vincy1230). - 🌐 Add Chinese translation for `docs/zh/docs/environment-variables.md`. PR [#12784](https://redirect.github.com/fastapi/fastapi/pull/12784) by [@Vincy1230](https://redirect.github.com/Vincy1230). - 🌐 Add Korean translation for `ko/docs/advanced/response-headers.md`. PR [#12740](https://redirect.github.com/fastapi/fastapi/pull/12740) by [@kwang1215](https://redirect.github.com/kwang1215). - 🌐 Add Chinese translation for `docs/zh/docs/virtual-environments.md`. PR [#12790](https://redirect.github.com/fastapi/fastapi/pull/12790) by [@Vincy1230](https://redirect.github.com/Vincy1230). - 🌐 Add Korean translation for `/docs/ko/docs/environment-variables.md`. PR [#12526](https://redirect.github.com/fastapi/fastapi/pull/12526) by [@Tolerblanc](https://redirect.github.com/Tolerblanc). - 🌐 Add Korean translation for `docs/ko/docs/history-design-future.md`. PR [#12646](https://redirect.github.com/fastapi/fastapi/pull/12646) by [@saeye](https://redirect.github.com/saeye). - 🌐 Add Korean translation for `docs/ko/docs/advanced/advanced-dependencies.md`. PR [#12675](https://redirect.github.com/fastapi/fastapi/pull/12675) by [@kim-sangah](https://redirect.github.com/kim-sangah). - 🌐 Add Korean translation for `docs/ko/docs/how-to/conditional-openapi.md`. PR [#12731](https://redirect.github.com/fastapi/fastapi/pull/12731) by [@sptcnl](https://redirect.github.com/sptcnl). - 🌐 Add Korean translation for `docs/ko/docs/advanced/using_request_directly.md`. PR [#12738](https://redirect.github.com/fastapi/fastapi/pull/12738) by [@kwang1215](https://redirect.github.com/kwang1215). - 🌐 Add Korean translation for `docs/ko/docs/advanced/testing-events.md`. PR [#12741](https://redirect.github.com/fastapi/fastapi/pull/12741) by [@9zimin9](https://redirect.github.com/9zimin9). - 🌐 Add Korean translation for `docs/ko/docs/security/index.md`. PR [#12743](https://redirect.github.com/fastapi/fastapi/pull/12743) by [@kim-sangah](https://redirect.github.com/kim-sangah). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/path-operation-advanced-configuration.md`. PR [#12762](https://redirect.github.com/fastapi/fastapi/pull/12762) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda). - 🌐 Add Korean translation for `docs/ko/docs/advanced/wsgi.md`. PR [#12659](https://redirect.github.com/fastapi/fastapi/pull/12659) by [@Limsunoh](https://redirect.github.com/Limsunoh). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/websockets.md`. PR [#12703](https://redirect.github.com/fastapi/fastapi/pull/12703) by [@devfernandoa](https://redirect.github.com/devfernandoa). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/security/simple-oauth2.md`. PR [#12520](https://redirect.github.com/fastapi/fastapi/pull/12520) by [@LidiaDomingos](https://redirect.github.com/LidiaDomingos). - 🌐 Add Korean translation for `docs/ko/docs/advanced/response-directly.md`. PR [#12674](https://redirect.github.com/fastapi/fastapi/pull/12674) by [@9zimin9](https://redirect.github.com/9zimin9). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/middleware.md`. PR [#12704](https://redirect.github.com/fastapi/fastapi/pull/12704) by [@devluisrodrigues](https://redirect.github.com/devluisrodrigues). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/openapi-callbacks.md`. PR [#12705](https://redirect.github.com/fastapi/fastapi/pull/12705) by [@devfernandoa](https://redirect.github.com/devfernandoa). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-files.md`. PR [#12706](https://redirect.github.com/fastapi/fastapi/pull/12706) by [@devluisrodrigues](https://redirect.github.com/devluisrodrigues). - 🌐 Add Portuguese Translation for `docs/pt/docs/advanced/custom-response.md`. PR [#12631](https://redirect.github.com/fastapi/fastapi/pull/12631) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/metadata.md`. PR [#12538](https://redirect.github.com/fastapi/fastapi/pull/12538) by [@LinkolnR](https://redirect.github.com/LinkolnR). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/metadata.md`. PR [#12541](https://redirect.github.com/fastapi/fastapi/pull/12541) by [@kwang1215](https://redirect.github.com/kwang1215). - 🌐 Add Korean Translation for `docs/ko/docs/advanced/response-cookies.md`. PR [#12546](https://redirect.github.com/fastapi/fastapi/pull/12546) by [@kim-sangah](https://redirect.github.com/kim-sangah). - 🌐 Add Korean translation for `docs/ko/docs/fastapi-cli.md`. PR [#12515](https://redirect.github.com/fastapi/fastapi/pull/12515) by [@dhdld](https://redirect.github.com/dhdld). - 🌐 Add Korean Translation for `docs/ko/docs/advanced/response-change-status-code.md`. PR [#12547](https://redirect.github.com/fastapi/fastapi/pull/12547) by [@9zimin9](https://redirect.github.com/9zimin9). ##### Internal - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12907](https://redirect.github.com/fastapi/fastapi/pull/12907) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). - 🔨 Update docs preview script to show previous version and English version. PR [#12856](https://redirect.github.com/fastapi/fastapi/pull/12856) by [@tiangolo](https://redirect.github.com/tiangolo). - ⬆ Bump tiangolo/latest-changes from 0.3.1 to 0.3.2. PR [#12794](https://redirect.github.com/fastapi/fastapi/pull/12794) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2. PR [#12788](https://redirect.github.com/fastapi/fastapi/pull/12788) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.0. PR [#12781](https://redirect.github.com/fastapi/fastapi/pull/12781) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump cloudflare/wrangler-action from 3.11 to 3.12. PR [#12777](https://redirect.github.com/fastapi/fastapi/pull/12777) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12766](https://redirect.github.com/fastapi/fastapi/pull/12766) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). - ⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0. PR [#12721](https://redirect.github.com/fastapi/fastapi/pull/12721) by [@dependabot\[bot\]](https://redirect.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://redirect.github.com/fastapi/fastapi/pull/12749) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump typer from 0.12.3 to 0.12.5. PR [#12748](https://redirect.github.com/fastapi/fastapi/pull/12748) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Update flask requirement from <3.0.0,>=1.1.2 to >=1.1.2,<4.0.0. PR [#12747](https://redirect.github.com/fastapi/fastapi/pull/12747) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump pillow from 10.4.0 to 11.0.0. PR [#12746](https://redirect.github.com/fastapi/fastapi/pull/12746) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Update pytest requirement from <8.0.0,>=7.1.3 to >=7.1.3,<9.0.0. PR [#12745](https://redirect.github.com/fastapi/fastapi/pull/12745) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - 🔧 Update sponsors: add Render. PR [#12733](https://redirect.github.com/fastapi/fastapi/pull/12733) by [@tiangolo](https://redirect.github.com/tiangolo). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12707](https://redirect.github.com/fastapi/fastapi/pull/12707) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). ### [`v0.115.4`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.4) [Compare Source](https://redirect.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://redirect.github.com/fastapi/fastapi/pull/12627) by [@tiangolo](https://redirect.github.com/tiangolo). ##### Docs - 📝 Update includes in `docs/fr/docs/tutorial/body.md`. PR [#12596](https://redirect.github.com/fastapi/fastapi/pull/12596) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/fr/docs/tutorial/debugging.md`. PR [#12595](https://redirect.github.com/fastapi/fastapi/pull/12595) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/fr/docs/tutorial/query-params-str-validations.md`. PR [#12591](https://redirect.github.com/fastapi/fastapi/pull/12591) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/fr/docs/tutorial/query-params.md`. PR [#12589](https://redirect.github.com/fastapi/fastapi/pull/12589) by [@kantandane](https://redirect.github.com/kantandane). - 📝 Update includes in `docs/en/tutorial/body-fields.md`. PR [#12588](https://redirect.github.com/fastapi/fastapi/pull/12588) by [@lucaromagnoli](https://redirect.github.com/lucaromagnoli). - 📝 Update includes in `docs/de/docs/tutorial/response-status-code.md`. PR [#12585](https://redirect.github.com/fastapi/fastapi/pull/12585) by [@abejaranoh](https://redirect.github.com/abejaranoh). - 📝 Update includes in `docs/en/docs/tutorial/body.md`. PR [#12586](https://redirect.github.com/fastapi/fastapi/pull/12586) by [@lucaromagnoli](https://redirect.github.com/lucaromagnoli). - 📝 Update includes in `docs/en/docs/advanced/behind-a-proxy.md`. PR [#12583](https://redirect.github.com/fastapi/fastapi/pull/12583) by [@imjuanleonard](https://redirect.github.com/imjuanleonard). - 📝 Update includes syntax for `docs/pl/docs/tutorial/first-steps.md`. PR [#12584](https://redirect.github.com/fastapi/fastapi/pull/12584) by [@sebkozlo](https://redirect.github.com/sebkozlo). - 📝 Update includes in `docs/en/docs/advanced/middleware.md`. PR [#12582](https://redirect.github.com/fastapi/fastapi/pull/12582) by [@montanarograziano](https://redirect.github.com/montanarograziano). - 📝 Update includes in `docs/en/docs/advanced/additional-status-codes.md`. PR [#12577](https://redirect.github.com/fastapi/fastapi/pull/12577) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan). - 📝 Update includes in `docs/en/docs/advanced/advanced-dependencies.md`. PR [#12578](https://redirect.github.com/fastapi/fastapi/pull/12578) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan). - 📝 Update includes in `docs/en/docs/advanced/additional-responses.md`. PR [#12576](https://redirect.github.com/fastapi/fastapi/pull/12576) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan). - 📝 Update includes in `docs/en/docs/tutorial/static-files.md`. PR [#12575](https://redirect.github.com/fastapi/fastapi/pull/12575) by [@lucaromagnoli](https://redirect.github.com/lucaromagnoli). - 📝 Update includes in `docs/en/docs/advanced/async-tests.md`. PR [#12568](https://redirect.github.com/fastapi/fastapi/pull/12568) by [@krishnamadhavan](https://redirect.github.com/krishnamadhavan). - 📝 Update includes in `docs/pt/docs/advanced/behind-a-proxy.md`. PR [#12563](https://redirect.github.com/fastapi/fastapi/pull/12563) by [@asmioglou](https://redirect.github.com/asmioglou). - 📝 Update includes in `docs/de/docs/advanced/security/http-basic-auth.md`. PR [#12561](https://redirect.github.com/fastapi/fastapi/pull/12561) by [@Nimitha-jagadeesha](https://redirect.github.com/Nimitha-jagadeesha). - 📝 Update includes in `docs/en/docs/tutorial/background-tasks.md`. PR [#12559](https://redirect.github.com/fastapi/fastapi/pull/12559) by [@FarhanAliRaza](https://redirect.github.com/FarhanAliRaza). - 📝 Update includes in `docs/fr/docs/python-types.md`. PR [#12558](https://redirect.github.com/fastapi/fastapi/pull/12558) by [@Ismailtlem](https://redirect.github.com/Ismailtlem). - 📝 Update includes in `docs/en/docs/how-to/graphql.md`. PR [#12564](https://redirect.github.com/fastapi/fastapi/pull/12564) by [@philipokiokio](https://redirect.github.com/philipokiokio). - 📝 Update includes in `docs/en/docs/how-to/extending-openapi.md`. PR [#12562](https://redirect.github.com/fastapi/fastapi/pull/12562) by [@philipokiokio](https://redirect.github.com/philipokiokio). - 📝 Update includes for `docs/en/docs/how-to/configure-swagger-ui.md`. PR [#12556](https://redirect.github.com/fastapi/fastapi/pull/12556) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes for `docs/en/docs/how-to/separate-openapi-schemas.md`. PR [#12555](https://redirect.github.com/fastapi/fastapi/pull/12555) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes for `docs/en/docs/advanced/security/http-basic-auth.md`. PR [#12553](https://redirect.github.com/fastapi/fastapi/pull/12553) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes in `docs/en/docs/tutorial/first-steps.md`. PR [#12552](https://redirect.github.com/fastapi/fastapi/pull/12552) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update includes in `docs/en/docs/python-types.md`. PR [#12551](https://redirect.github.com/fastapi/fastapi/pull/12551) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Fix link in OAuth2 docs. PR [#12550](https://redirect.github.com/fastapi/fastapi/pull/12550) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Add External Link: FastAPI do Zero. PR [#12533](https://redirect.github.com/fastapi/fastapi/pull/12533) by [@rennerocha](https://redirect.github.com/rennerocha). - 📝 Fix minor typos. PR [#12516](https://redirect.github.com/fastapi/fastapi/pull/12516) by [@kkirsche](https://redirect.github.com/kkirsche). - 🌐 Fix rendering issue in translations. PR [#12509](https://redirect.github.com/fastapi/fastapi/pull/12509) by [@alejsdev](https://redirect.github.com/alejsdev). ##### Translations - 📝 Update includes in `docs/de/docs/advanced/async-tests.md`. PR [#12567](https://redirect.github.com/fastapi/fastapi/pull/12567) by [@imjuanleonard](https://redirect.github.com/imjuanleonard). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/sql-databases.md`. PR [#12530](https://redirect.github.com/fastapi/fastapi/pull/12530) by [@ilacftemp](https://redirect.github.com/ilacftemp). - 🌐 Add Korean translation for `docs/ko/docs/benchmarks.md`. PR [#12540](https://redirect.github.com/fastapi/fastapi/pull/12540) by [@Limsunoh](https://redirect.github.com/Limsunoh). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/separate-openapi-schemas.md`. PR [#12518](https://redirect.github.com/fastapi/fastapi/pull/12518) by [@ilacftemp](https://redirect.github.com/ilacftemp). - 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/deployment/index.md`. PR [#12521](https://redirect.github.com/fastapi/fastapi/pull/12521) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/deployment/cloud.md`. PR [#12522](https://redirect.github.com/fastapi/fastapi/pull/12522) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/how-to/index.md`. PR [#12523](https://redirect.github.com/fastapi/fastapi/pull/12523) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Update Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#12524](https://redirect.github.com/fastapi/fastapi/pull/12524) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/how-to/index.md`. PR [#12468](https://redirect.github.com/fastapi/fastapi/pull/12468) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/tutorial/index.md`. PR [#12466](https://redirect.github.com/fastapi/fastapi/pull/12466) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/header-param-models.md`. PR [#12437](https://redirect.github.com/fastapi/fastapi/pull/12437) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/extending-openapi.md`. PR [#12470](https://redirect.github.com/fastapi/fastapi/pull/12470) by [@ilacftemp](https://redirect.github.com/ilacftemp). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/dataclasses.md`. PR [#12475](https://redirect.github.com/fastapi/fastapi/pull/12475) by [@leoscarlato](https://redirect.github.com/leoscarlato). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/custom-request-and-route.md`. PR [#12483](https://redirect.github.com/fastapi/fastapi/pull/12483) by [@devfernandoa](https://redirect.github.com/devfernandoa). ##### Internal - ⬆ Bump cloudflare/wrangler-action from 3.9 to 3.11. PR [#12544](https://redirect.github.com/fastapi/fastapi/pull/12544) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - 👷 Update GitHub Action to deploy docs previews to handle missing deploy comments. PR [#12527](https://redirect.github.com/fastapi/fastapi/pull/12527) by [@tiangolo](https://redirect.github.com/tiangolo). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12505](https://redirect.github.com/fastapi/fastapi/pull/12505) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). ### [`v0.115.3`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.3) [Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.2...0.115.3) ##### Upgrades - ⬆️ Upgrade Starlette to `>=0.40.0,<0.42.0`. PR [#12469](https://redirect.github.com/fastapi/fastapi/pull/12469) by [@defnull](https://redirect.github.com/defnull). ##### Docs - 📝 Fix broken link in docs. PR [#12495](https://redirect.github.com/fastapi/fastapi/pull/12495) by [@eltonjncorreia](https://redirect.github.com/eltonjncorreia). ##### Translations - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/fastapi-cli.md`. PR [#12444](https://redirect.github.com/fastapi/fastapi/pull/12444) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/deployment/index.md`. PR [#12439](https://redirect.github.com/fastapi/fastapi/pull/12439) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/testing-database.md`. PR [#12472](https://redirect.github.com/fastapi/fastapi/pull/12472) by [@GuilhermeRameh](https://redirect.github.com/GuilhermeRameh). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/custom-docs-ui-assets.md`. PR [#12473](https://redirect.github.com/fastapi/fastapi/pull/12473) by [@devluisrodrigues](https://redirect.github.com/devluisrodrigues). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-headers.md`. PR [#12458](https://redirect.github.com/fastapi/fastapi/pull/12458) by [@leonardopaloschi](https://redirect.github.com/leonardopaloschi). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/deployment/cloud.md`. PR [#12440](https://redirect.github.com/fastapi/fastapi/pull/12440) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Update Portuguese translation for `docs/pt/docs/python-types.md`. PR [#12428](https://redirect.github.com/fastapi/fastapi/pull/12428) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Add Russian translation for `docs/ru/docs/environment-variables.md`. PR [#12436](https://redirect.github.com/fastapi/fastapi/pull/12436) by [@wisderfin](https://redirect.github.com/wisderfin). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/resources/index.md`. PR [#12443](https://redirect.github.com/fastapi/fastapi/pull/12443) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/about/index.md`. PR [#12438](https://redirect.github.com/fastapi/fastapi/pull/12438) by [@codingjenny](https://redirect.github.com/codingjenny). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/query-param-models.md`. PR [#12414](https://redirect.github.com/fastapi/fastapi/pull/12414) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Remove Portuguese translation for `docs/pt/docs/deployment.md`. PR [#12427](https://redirect.github.com/fastapi/fastapi/pull/12427) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/body-updates.md`. PR [#12381](https://redirect.github.com/fastapi/fastapi/pull/12381) by [@andersonrocha0](https://redirect.github.com/andersonrocha0). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-cookies.md`. PR [#12417](https://redirect.github.com/fastapi/fastapi/pull/12417) by [@Paulofalcao2002](https://redirect.github.com/Paulofalcao2002). ##### Internal - 👷 Update issue manager workflow . PR [#12457](https://redirect.github.com/fastapi/fastapi/pull/12457) by [@alejsdev](https://redirect.github.com/alejsdev). - 🔧 Update team, include YuriiMotov 🚀. PR [#12453](https://redirect.github.com/fastapi/fastapi/pull/12453) by [@tiangolo](https://redirect.github.com/tiangolo). - 👷 Refactor label-approved, make it an internal script instead of an external GitHub Action. PR [#12280](https://redirect.github.com/fastapi/fastapi/pull/12280) by [@tiangolo](https://redirect.github.com/tiangolo). - 👷 Fix smokeshow, checkout files on CI. PR [#12434](https://redirect.github.com/fastapi/fastapi/pull/12434) by [@tiangolo](https://redirect.github.com/tiangolo). - 👷 Use uv in CI. PR [#12281](https://redirect.github.com/fastapi/fastapi/pull/12281) by [@tiangolo](https://redirect.github.com/tiangolo). - ⬆ Update httpx requirement from <0.25.0,>=0.23.0 to >=0.23.0,<0.28.0. PR [#11509](https://redirect.github.com/fastapi/fastapi/pull/11509) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). ### [`v0.115.2`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.2) [Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.1...0.115.2) ##### Upgrades - ⬆️ Upgrade Starlette to `>=0.37.2,<0.41.0`. PR [#12431](https://redirect.github.com/fastapi/fastapi/pull/12431) by [@tiangolo](https://redirect.github.com/tiangolo). ### [`v0.115.1`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.1) [Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.115.0...0.115.1) ##### Fixes - 🐛 Fix openapi generation with responses kwarg. PR [#10895](https://redirect.github.com/fastapi/fastapi/pull/10895) by [@flxdot](https://redirect.github.com/flxdot). - 🐛 Remove `Required` shadowing from fastapi using Pydantic v2. PR [#12197](https://redirect.github.com/fastapi/fastapi/pull/12197) by [@pachewise](https://redirect.github.com/pachewise). ##### Refactors - ♻️ Update type annotations for improved `python-multipart`. PR [#12407](https://redirect.github.com/fastapi/fastapi/pull/12407) by [@tiangolo](https://redirect.github.com/tiangolo). ##### Docs - ✨ Add new tutorial for SQL databases with SQLModel. PR [#12285](https://redirect.github.com/fastapi/fastapi/pull/12285) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Add External Link: How to profile a FastAPI asynchronous request. PR [#12389](https://redirect.github.com/fastapi/fastapi/pull/12389) by [@brouberol](https://redirect.github.com/brouberol). - 🔧 Remove `base_path` for `mdx_include` Markdown extension in MkDocs. PR [#12391](https://redirect.github.com/fastapi/fastapi/pull/12391) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Update link to Swagger UI configuration docs. PR [#12264](https://redirect.github.com/fastapi/fastapi/pull/12264) by [@makisukurisu](https://redirect.github.com/makisukurisu). - 📝 Adding links for Playwright and Vite in `docs/project-generation.md`. PR [#12274](https://redirect.github.com/fastapi/fastapi/pull/12274) by [@kayqueGovetri](https://redirect.github.com/kayqueGovetri). - 📝 Fix small typos in the documentation. PR [#12213](https://redirect.github.com/fastapi/fastapi/pull/12213) by [@svlandeg](https://redirect.github.com/svlandeg). ##### Translations - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/cookie-param-models.md`. PR [#12298](https://redirect.github.com/fastapi/fastapi/pull/12298) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/graphql.md`. PR [#12215](https://redirect.github.com/fastapi/fastapi/pull/12215) by [@AnandaCampelo](https://redirect.github.com/AnandaCampelo). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/oauth2-scopes.md`. PR [#12263](https://redirect.github.com/fastapi/fastapi/pull/12263) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Add Portuguese translation for `docs/pt/docs/deployment/concepts.md`. PR [#12219](https://redirect.github.com/fastapi/fastapi/pull/12219) by [@marcelomarkus](https://redirect.github.com/marcelomarkus). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/conditional-openapi.md`. PR [#12221](https://redirect.github.com/fastapi/fastapi/pull/12221) by [@marcelomarkus](https://redirect.github.com/marcelomarkus). - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/response-directly.md`. PR [#12266](https://redirect.github.com/fastapi/fastapi/pull/12266) by [@Joao-Pedro-P-Holanda](https://redirect.github.com/Joao-Pedro-P-Holanda). - 🌐 Update Portuguese translation for `docs/pt/docs/tutorial/cookie-params.md`. PR [#12297](https://redirect.github.com/fastapi/fastapi/pull/12297) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Fix Korean translation for `docs/ko/docs/tutorial/index.md`. PR [#12278](https://redirect.github.com/fastapi/fastapi/pull/12278) by [@kkotipy](https://redirect.github.com/kkotipy). - 🌐 Update Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#12275](https://redirect.github.com/fastapi/fastapi/pull/12275) by [@andersonrocha0](https://redirect.github.com/andersonrocha0). - 🌐 Add Portuguese translation for `docs/pt/docs/deployment/cloud.md`. PR [#12217](https://redirect.github.com/fastapi/fastapi/pull/12217) by [@marcelomarkus](https://redirect.github.com/marcelomarkus). - ✏️ Fix typo in `docs/es/docs/python-types.md`. PR [#12235](https://redirect.github.com/fastapi/fastapi/pull/12235) by [@JavierSanchezCastro](https://redirect.github.com/JavierSanchezCastro). - 🌐 Add Dutch translation for `docs/nl/docs/environment-variables.md`. PR [#12200](https://redirect.github.com/fastapi/fastapi/pull/12200) by [@maxscheijen](https://redirect.github.com/maxscheijen). - 🌐 Add Portuguese translation for `docs/pt/docs/deployment/manually.md`. PR [#12210](https://redirect.github.com/fastapi/fastapi/pull/12210) by [@JoaoGustavoRogel](https://redirect.github.com/JoaoGustavoRogel). - 🌐 Add Portuguese translation for `docs/pt/docs/deployment/server-workers.md`. PR [#12220](https://redirect.github.com/fastapi/fastapi/pull/12220) by [@marcelomarkus](https://redirect.github.com/marcelomarkus). - 🌐 Add Portuguese translation for `docs/pt/docs/how-to/configure-swagger-ui.md`. PR [#12222](https://redirect.github.com/fastapi/fastapi/pull/12222) by [@marcelomarkus](https://redirect.github.com/marcelomarkus). ##### Internal - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12396](https://redirect.github.com/fastapi/fastapi/pull/12396) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). - 🔨 Add script to generate variants of files. PR [#12405](https://redirect.github.com/fastapi/fastapi/pull/12405) by [@tiangolo](https://redirect.github.com/tiangolo). - 🔧 Add speakeasy-api to `sponsors_badge.yml`. PR [#12404](https://redirect.github.com/fastapi/fastapi/pull/12404) by [@tiangolo](https://redirect.github.com/tiangolo). - ➕ Add docs dependency: markdown-include-variants. PR [#12399](https://redirect.github.com/fastapi/fastapi/pull/12399) by [@tiangolo](https://redirect.github.com/tiangolo). - 📝 Fix extra mdx-base-path paths. PR [#12397](https://redirect.github.com/fastapi/fastapi/pull/12397) by [@tiangolo](https://redirect.github.com/tiangolo). - 👷 Tweak labeler to not override custom labels. PR [#12398](https://redirect.github.com/fastapi/fastapi/pull/12398) by [@tiangolo](https://redirect.github.com/tiangolo). - 👷 Update worfkow deploy-docs-notify URL. PR [#12392](https://redirect.github.com/fastapi/fastapi/pull/12392) by [@tiangolo](https://redirect.github.com/tiangolo). - 👷 Update Cloudflare GitHub Action. PR [#12387](https://redirect.github.com/fastapi/fastapi/pull/12387) by [@tiangolo](https://redirect.github.com/tiangolo). - ⬆ Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3. PR [#12386](https://redirect.github.com/fastapi/fastapi/pull/12386) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump mkdocstrings\[python] from 0.25.1 to 0.26.1. PR [#12371](https://redirect.github.com/fastapi/fastapi/pull/12371) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ Bump griffe-typingdoc from 0.2.6 to 0.2.7. PR [#12370](https://redirect.github.com/fastapi/fastapi/pull/12370) by [@dependabot\[bot\]](https://redirect.github.com/apps/dependabot). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12331](https://redirect.github.com/fastapi/fastapi/pull/12331) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). - 🔧 Update sponsors, remove Fine.dev. PR [#12271](https://redirect.github.com/fastapi/fastapi/pull/12271) by [@tiangolo](https://redirect.github.com/tiangolo). - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12253](https://redirect.github.com/fastapi/fastapi/pull/12253) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). - ✏️ Fix docstring typos in http security. PR [#12223](https://redirect.github.com/fastapi/fastapi/pull/12223) by [@albertvillanova](https://redirect.github.com/albertvillanova). ### [`v0.115.0`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.115.0) [Compare Source](https://redirect.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://redirect.github.com/fastapi/fastapi/pull/12199) by [@tiangolo](https://redirect.github.com/tiangolo). ##### Translations - 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-auth.md`. PR [#12195](https://redirect.github.com/fastapi/fastapi/pull/12195) by [@ceb10n](https://redirect.github.com/ceb10n). ##### Internal - ⬆ \[pre-commit.ci] pre-commit autoupdate. PR [#12204](https://redirect.github.com/fastapi/fastapi/pull/12204) by [@pre-commit-ci\[bot\]](https://redirect.github.com/apps/pre-commit-ci). ### [`v0.114.2`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.114.2) [Compare Source](https://redirect.github.com/fastapi/fastapi/compare/0.114.1...0.114.2) ##### Fixes - 🐛 Fix form field regression with `alias`. PR [#12194](https://redirect.github.com/fastapi/fastapi/pull/12194) by [@Wurstnase](https://redirect.github.com/Wurstnase). ##### Translations - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/request-form-models.md`. PR [#12175](https://redirect.github.com/fastapi/fastapi/pull/12175) by [@ceb10n](https://redirect.github.com/ceb10n). - 🌐 Add Chinese translation for `docs/zh/docs/project-generation.md`. PR [#12170](https://redirect.github.com/fastapi/fastapi/pull/12170) by [@waketzheng](https://redirect.github.com/waketzheng). - 🌐 Add Dutch translation for `docs/nl/docs/python-types.md`. PR [#12158](https://redirect.github.com/fastapi/fastapi/pull/12158) by [@maxscheijen](https://redirect.github.com/maxscheijen). ##### Internal - 💡 Add comments with instructions for Playwright screenshot scripts. PR [#12193](https://redirect.github.com/fastapi/fastapi/pull/12193) by [@tiangolo](https://redirect.github.com/tiangolo). - ➕ Add inline-snapshot for tests. PR [#12189](https://redirect.github.com/fastapi/fastapi/pull/12189) by [@tiangolo](https://redirect.github.com/tiangolo).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 was generated by Mend Renovate. View the repository job log.