Update dependency fastapi to ~=0.111.0 #5

Merged
profitroll merged 1 commits from renovate/fastapi-0.x into dev 2024-05-12 20:52:00 +03:00
Collaborator

This PR contains the following updates:

Package Update Change
fastapi minor ~=0.105.0 -> ~=0.111.0

Release Notes

tiangolo/fastapi (fastapi)

v0.111.0

Compare Source

Features

Try it out with:

$ pip install --upgrade fastapi

$ fastapi dev main.py

 ╭────────── FastAPI CLI - Development mode ───────────╮
 │                                                     │
 │  Serving at: http://127.0.0.1:8000                  │
 │                                                     │
 │  API docs: http://127.0.0.1:8000/docs               │
 │                                                     │
 │  Running in development mode, for production use:   │
 │                                                     │
 │  fastapi run                                        │
 │                                                     │
 ╰─────────────────────────────────────────────────────╯

INFO:     Will watch for changes in these directories: ['/home/user/code/awesomeapp']
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [2248755] using WatchFiles
INFO:     Started server process [2248757]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
Refactors
  • 🔧 Add configs and setup for fastapi-slim including optional extras fastapi-slim[standard], and fastapi including by default the same standard extras. PR #​11503 by @​tiangolo.

v0.110.3

Compare Source

Latest Changes

Docs
Translations
  • 🌐 Add Traditional Chinese translation for docs/zh-hant/benchmarks.md. PR #​11484 by @​KNChiu.
  • 🌐 Update Chinese translation for docs/zh/docs/fastapi-people.md. PR #​11476 by @​billzhong.
  • 🌐 Add Chinese translation for docs/zh/docs/how-to/index.md and docs/zh/docs/how-to/general.md. PR #​11443 by @​billzhong.
  • 🌐 Add Spanish translation for cookie-params docs/es/docs/tutorial/cookie-params.md. PR #​11410 by @​fabianfalon.
Internal

v0.110.2

Compare Source

Fixes
  • 🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic UndefinedType. PR #​9929 by @​arjwilliams.
Refactors
  • ♻️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py. PR #​10886 by @​JoeTanto2.
  • Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response. PR #​11461 by @​tiangolo.
Docs
Translations
Internal

v0.110.1

Compare Source

Fixes
Refactors
Upgrades
  • ⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. PR #​11266 by @​nothielf.
Docs
Translations
Internal

v0.110.0

Compare Source

Breaking Changes
  • 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with yield and except to require raising again as in regular Python. PR #​11191 by @​tiangolo.
    • This is a breaking change (and only slightly) if you used dependencies with yield, used except in those dependencies, and didn't raise again.
    • This was reported internally by @​rushilsrivastava as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released.
    • Read the new docs: Dependencies with yield and except.

In short, if you had dependencies that looked like:

def my_dep():
    try:
        yield
    except SomeException:
        pass

Now you need to make sure you raise again after except, just as you would in regular Python:

def my_dep():
    try:
        yield
    except SomeException:
        raise
Docs
Translations

v0.109.2

Compare Source

Upgrades
Translations
Internal

v0.109.1

Compare Source

Security fixes
  • ⬆️ Upgrade minimum version of python-multipart to >=0.0.7 to fix a vulnerability when using form data with a ReDos attack. You can also simply upgrade python-multipart.

Read more in the advisory: Content-Type Header ReDoS.

Features
Refactors
  • Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite. PR #​10876 by @​emmettbutler.
  • ♻️ Simplify string format with f-strings in fastapi/utils.py. PR #​10576 by @​eukub.
  • 🔧 Fix Ruff configuration unintentionally enabling and re-disabling mccabe complexity check. PR #​10893 by @​jiridanek.
  • Re-enable test in tests/test_tutorial/test_header_params/test_tutorial003.py after fix in Starlette. PR #​10904 by @​ooknimm.
Docs
Translations
Internal

v0.109.0

Compare Source

Features
Upgrades
  • ⬆️ Upgrade Starlette to >=0.29.0,<0.33.0, update docs and usage of templates with new Starlette arguments. Remove pin of AnyIO >=3.7.1,<4.0.0, add support for AnyIO 4.x.x. PR #​10846 by @​tiangolo.
Docs
Translations
Internal

v0.108.0

Compare Source

Upgrades
  • ⬆️ Upgrade Starlette to >=0.29.0,<0.33.0, update docs and usage of templates with new Starlette arguments. PR #​10846 by @​tiangolo.

v0.107.0

Compare Source

Upgrades
Docs

v0.106.0

Compare Source

Breaking Changes

Using resources from dependencies with yield in background tasks is no longer supported.

This change is what supports the new features, read below. 🤓

Dependencies with yield, HTTPException and Background Tasks

Dependencies with yield now can raise HTTPException and other exceptions after yield. 🎉

Read the new docs here: Dependencies with yield and HTTPException.

from fastapi import Depends, FastAPI, HTTPException
from typing_extensions import Annotated

app = FastAPI()

data = {
    "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
    "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
}

class OwnerError(Exception):
    pass

def get_username():
    try:
        yield "Rick"
    except OwnerError as e:
        raise HTTPException(status_code=400, detail=f"Onwer error: {e}")

@&#8203;app.get("/items/{item_id}")
def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
    if item_id not in data:
        raise HTTPException(status_code=404, detail="Item not found")
    item = data[item_id]
    if item["owner"] != username:
        raise OwnerError(username)
    return item

Before FastAPI 0.106.0, raising exceptions after yield was not possible, the exit code in dependencies with yield was executed after the response was sent, so Exception Handlers would have already run.

This was designed this way mainly to allow using the same objects "yielded" by dependencies inside of background tasks, because the exit code would be executed after the background tasks were finished.

Nevertheless, as this would mean waiting for the response to travel through the network while unnecessarily holding a resource in a dependency with yield (for example a database connection), this was changed in FastAPI 0.106.0.

Additionally, a background task is normally an independent set of logic that should be handled separately, with its own resources (e.g. its own database connection).

If you used to rely on this behavior, now you should create the resources for background tasks inside the background task itself, and use internally only data that doesn't depend on the resources of dependencies with yield.

For example, instead of using the same database session, you would create a new database session inside of the background task, and you would obtain the objects from the database using this new session. And then instead of passing the object from the database as a parameter to the background task function, you would pass the ID of that object and then obtain the object again inside the background task function.

The sequence of execution before FastAPI 0.106.0 was like the diagram in the Release Notes for FastAPI 0.106.0.

The new execution flow can be found in the docs: Execution of dependencies with yield.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [fastapi](https://github.com/tiangolo/fastapi) | minor | `~=0.105.0` -> `~=0.111.0` | --- ### Release Notes <details> <summary>tiangolo/fastapi (fastapi)</summary> ### [`v0.111.0`](https://github.com/tiangolo/fastapi/releases/tag/0.111.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.110.3...0.111.0) ##### Features - ✨ Add FastAPI CLI, the new `fastapi` command. PR [#&#8203;11522](https://github.com/tiangolo/fastapi/pull/11522) by [@&#8203;tiangolo](https://github.com/tiangolo). - New docs: [FastAPI CLI](https://fastapi.tiangolo.com/fastapi-cli/). Try it out with: ```console $ pip install --upgrade fastapi $ fastapi dev main.py ╭────────── FastAPI CLI - Development mode ───────────╮ │ │ │ Serving at: http://127.0.0.1:8000 │ │ │ │ API docs: http://127.0.0.1:8000/docs │ │ │ │ Running in development mode, for production use: │ │ │ │ fastapi run │ │ │ ╰─────────────────────────────────────────────────────╯ INFO: Will watch for changes in these directories: ['/home/user/code/awesomeapp'] INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO: Started reloader process [2248755] using WatchFiles INFO: Started server process [2248757] INFO: Waiting for application startup. INFO: Application startup complete. ``` ##### Refactors - 🔧 Add configs and setup for `fastapi-slim` including optional extras `fastapi-slim[standard]`, and `fastapi` including by default the same `standard` extras. PR [#&#8203;11503](https://github.com/tiangolo/fastapi/pull/11503) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.110.3`](https://github.com/tiangolo/fastapi/releases/tag/0.110.3) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.110.2...0.110.3) #### Latest Changes ##### Docs - 📝 Update references to Python version, FastAPI supports all the current versions, no need to make the version explicit. PR [#&#8203;11496](https://github.com/tiangolo/fastapi/pull/11496) by [@&#8203;tiangolo](https://github.com/tiangolo). - ✏️ Fix typo in `fastapi/security/api_key.py`. PR [#&#8203;11481](https://github.com/tiangolo/fastapi/pull/11481) by [@&#8203;ch33zer](https://github.com/ch33zer). - ✏️ Fix typo in `security/http.py`. PR [#&#8203;11455](https://github.com/tiangolo/fastapi/pull/11455) by [@&#8203;omarmoo5](https://github.com/omarmoo5). ##### Translations - 🌐 Add Traditional Chinese translation for `docs/zh-hant/benchmarks.md`. PR [#&#8203;11484](https://github.com/tiangolo/fastapi/pull/11484) by [@&#8203;KNChiu](https://github.com/KNChiu). - 🌐 Update Chinese translation for `docs/zh/docs/fastapi-people.md`. PR [#&#8203;11476](https://github.com/tiangolo/fastapi/pull/11476) by [@&#8203;billzhong](https://github.com/billzhong). - 🌐 Add Chinese translation for `docs/zh/docs/how-to/index.md` and `docs/zh/docs/how-to/general.md`. PR [#&#8203;11443](https://github.com/tiangolo/fastapi/pull/11443) by [@&#8203;billzhong](https://github.com/billzhong). - 🌐 Add Spanish translation for cookie-params `docs/es/docs/tutorial/cookie-params.md`. PR [#&#8203;11410](https://github.com/tiangolo/fastapi/pull/11410) by [@&#8203;fabianfalon](https://github.com/fabianfalon). ##### Internal - ⬆ Bump mkdocstrings\[python] from 0.23.0 to 0.24.3. PR [#&#8203;11469](https://github.com/tiangolo/fastapi/pull/11469) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - 🔨 Update internal scripts and remove unused ones. PR [#&#8203;11499](https://github.com/tiangolo/fastapi/pull/11499) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Migrate from Hatch to PDM for the internal build. PR [#&#8203;11498](https://github.com/tiangolo/fastapi/pull/11498) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆️ Upgrade MkDocs Material and re-enable cards. PR [#&#8203;11466](https://github.com/tiangolo/fastapi/pull/11466) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆ Bump pillow from 10.2.0 to 10.3.0. PR [#&#8203;11403](https://github.com/tiangolo/fastapi/pull/11403) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - 🔧 Ungroup dependabot updates. PR [#&#8203;11465](https://github.com/tiangolo/fastapi/pull/11465) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.110.2`](https://github.com/tiangolo/fastapi/releases/tag/0.110.2) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.110.1...0.110.2) ##### Fixes - 🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType`. PR [#&#8203;9929](https://github.com/tiangolo/fastapi/pull/9929) by [@&#8203;arjwilliams](https://github.com/arjwilliams). ##### Refactors - ♻️ Simplify Pydantic configs in OpenAPI models in `fastapi/openapi/models.py`. PR [#&#8203;10886](https://github.com/tiangolo/fastapi/pull/10886) by [@&#8203;JoeTanto2](https://github.com/JoeTanto2). - ✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response. PR [#&#8203;11461](https://github.com/tiangolo/fastapi/pull/11461) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Docs - 📝 Fix types in examples under `docs_src/extra_data_types`. PR [#&#8203;10535](https://github.com/tiangolo/fastapi/pull/10535) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 📝 Update references to UJSON. PR [#&#8203;11464](https://github.com/tiangolo/fastapi/pull/11464) by [@&#8203;tiangolo](https://github.com/tiangolo). - 📝 Tweak docs and translations links, typos, format. PR [#&#8203;11389](https://github.com/tiangolo/fastapi/pull/11389) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 📝 Fix typo in `docs/es/docs/async.md`. PR [#&#8203;11400](https://github.com/tiangolo/fastapi/pull/11400) by [@&#8203;fabianfalon](https://github.com/fabianfalon). - 📝 Update OpenAPI client generation docs to use `@hey-api/openapi-ts`. PR [#&#8203;11339](https://github.com/tiangolo/fastapi/pull/11339) by [@&#8203;jordanshatford](https://github.com/jordanshatford). ##### Translations - 🌐 Update Chinese translation for `docs/zh/docs/index.html`. PR [#&#8203;11430](https://github.com/tiangolo/fastapi/pull/11430) by [@&#8203;waketzheng](https://github.com/waketzheng). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#&#8203;11411](https://github.com/tiangolo/fastapi/pull/11411) by [@&#8203;anton2yakovlev](https://github.com/anton2yakovlev). - 🌐 Add Portuguese translations for `learn/index.md` `resources/index.md` `help/index.md` `about/index.md`. PR [#&#8203;10807](https://github.com/tiangolo/fastapi/pull/10807) by [@&#8203;nazarepiedady](https://github.com/nazarepiedady). - 🌐 Update Russian translations for deployments docs. PR [#&#8203;11271](https://github.com/tiangolo/fastapi/pull/11271) by [@&#8203;Lufa1u](https://github.com/Lufa1u). - 🌐 Add Bengali translations for `docs/bn/docs/python-types.md`. PR [#&#8203;11376](https://github.com/tiangolo/fastapi/pull/11376) by [@&#8203;imtiaz101325](https://github.com/imtiaz101325). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/security/simple-oauth2.md`. PR [#&#8203;5744](https://github.com/tiangolo/fastapi/pull/5744) by [@&#8203;KdHyeon0661](https://github.com/KdHyeon0661). - 🌐 Add Korean translation for `docs/ko/docs/help-fastapi.md`. PR [#&#8203;4139](https://github.com/tiangolo/fastapi/pull/4139) by [@&#8203;kty4119](https://github.com/kty4119). - 🌐 Add Korean translation for `docs/ko/docs/advanced/events.md`. PR [#&#8203;5087](https://github.com/tiangolo/fastapi/pull/5087) by [@&#8203;pers0n4](https://github.com/pers0n4). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/path-operation-configuration.md`. PR [#&#8203;1954](https://github.com/tiangolo/fastapi/pull/1954) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/request-forms-and-files.md`. PR [#&#8203;1946](https://github.com/tiangolo/fastapi/pull/1946) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#&#8203;10532](https://github.com/tiangolo/fastapi/pull/10532) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/debugging.md`. PR [#&#8203;5695](https://github.com/tiangolo/fastapi/pull/5695) by [@&#8203;JungWooGeon](https://github.com/JungWooGeon). ##### Internal - ⬆️ Upgrade version of typer for docs. PR [#&#8203;11393](https://github.com/tiangolo/fastapi/pull/11393) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.110.1`](https://github.com/tiangolo/fastapi/releases/tag/0.110.1) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.110.0...0.110.1) ##### Fixes - 🐛 Fix parameterless `Depends()` with generics. PR [#&#8203;9479](https://github.com/tiangolo/fastapi/pull/9479) by [@&#8203;nzig](https://github.com/nzig). ##### Refactors - ♻️ Update mypy. PR [#&#8203;11049](https://github.com/tiangolo/fastapi/pull/11049) by [@&#8203;k0t3n](https://github.com/k0t3n). - ♻️ Simplify string format with f-strings in `fastapi/applications.py`. PR [#&#8203;11335](https://github.com/tiangolo/fastapi/pull/11335) by [@&#8203;igeni](https://github.com/igeni). ##### Upgrades - ⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. PR [#&#8203;11266](https://github.com/tiangolo/fastapi/pull/11266) by [@&#8203;nothielf](https://github.com/nothielf). ##### Docs - 📝 Tweak docs and translations links and remove old docs translations. PR [#&#8203;11381](https://github.com/tiangolo/fastapi/pull/11381) by [@&#8203;tiangolo](https://github.com/tiangolo). - ✏️ Fix typo in `fastapi/security/oauth2.py`. PR [#&#8203;11368](https://github.com/tiangolo/fastapi/pull/11368) by [@&#8203;shandongbinzhou](https://github.com/shandongbinzhou). - 📝 Update links to Pydantic docs to point to new website. PR [#&#8203;11328](https://github.com/tiangolo/fastapi/pull/11328) by [@&#8203;alejsdev](https://github.com/alejsdev). - ✏️ Fix typo in `docs/en/docs/tutorial/extra-models.md`. PR [#&#8203;11329](https://github.com/tiangolo/fastapi/pull/11329) by [@&#8203;alejsdev](https://github.com/alejsdev). - 📝 Update `project-generation.md`. PR [#&#8203;11326](https://github.com/tiangolo/fastapi/pull/11326) by [@&#8203;alejsdev](https://github.com/alejsdev). - 📝 Update External Links. PR [#&#8203;11327](https://github.com/tiangolo/fastapi/pull/11327) by [@&#8203;alejsdev](https://github.com/alejsdev). - 🔥 Remove link to Pydantic's benchmark, on other i18n pages.. PR [#&#8203;11224](https://github.com/tiangolo/fastapi/pull/11224) by [@&#8203;hirotoKirimaru](https://github.com/hirotoKirimaru). - ✏️ Fix typos in docstrings. PR [#&#8203;11295](https://github.com/tiangolo/fastapi/pull/11295) by [@&#8203;davidhuser](https://github.com/davidhuser). - 🛠️ Improve Node.js script in docs to generate TypeScript clients. PR [#&#8203;11293](https://github.com/tiangolo/fastapi/pull/11293) by [@&#8203;alejsdev](https://github.com/alejsdev). - 📝 Update examples for tests to replace "inexistent" for "nonexistent". PR [#&#8203;11220](https://github.com/tiangolo/fastapi/pull/11220) by [@&#8203;Homesteady](https://github.com/Homesteady). - 📝 Update `python-multipart` GitHub link in all docs from `https://andrew-d.github.io/python-multipart/` to `https://github.com/Kludex/python-multipart`. PR [#&#8203;11239](https://github.com/tiangolo/fastapi/pull/11239) by [@&#8203;joshjhans](https://github.com/joshjhans). ##### Translations - 🌐 Add German translation for `docs/de/docs/tutorial/response-status-code.md`. PR [#&#8203;10357](https://github.com/tiangolo/fastapi/pull/10357) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params.md`. PR [#&#8203;3480](https://github.com/tiangolo/fastapi/pull/3480) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/body.md`. PR [#&#8203;3481](https://github.com/tiangolo/fastapi/pull/3481) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/path-params.md`. PR [#&#8203;3479](https://github.com/tiangolo/fastapi/pull/3479) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/tutorial/body-fields.md`. PR [#&#8203;3496](https://github.com/tiangolo/fastapi/pull/3496) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/tutorial/extra-models.md`. PR [#&#8203;3497](https://github.com/tiangolo/fastapi/pull/3497) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/metadata.md`. PR [#&#8203;2667](https://github.com/tiangolo/fastapi/pull/2667) by [@&#8203;tokusumi](https://github.com/tokusumi). - 🌐 Add German translation for `docs/de/docs/contributing.md`. PR [#&#8203;10487](https://github.com/tiangolo/fastapi/pull/10487) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update Japanese translation of `docs/ja/docs/tutorial/query-params.md`. PR [#&#8203;10808](https://github.com/tiangolo/fastapi/pull/10808) by [@&#8203;urushio](https://github.com/urushio). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/security/get-current-user.md`. PR [#&#8203;3842](https://github.com/tiangolo/fastapi/pull/3842) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/openapi-callbacks.md`. PR [#&#8203;3825](https://github.com/tiangolo/fastapi/pull/3825) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/extending-openapi.md`. PR [#&#8203;3823](https://github.com/tiangolo/fastapi/pull/3823) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-dependencies.md`. PR [#&#8203;3819](https://github.com/tiangolo/fastapi/pull/3819) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/custom-request-and-route.md`. PR [#&#8203;3816](https://github.com/tiangolo/fastapi/pull/3816) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/external-links.md`. PR [#&#8203;3833](https://github.com/tiangolo/fastapi/pull/3833) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/templates.md`. PR [#&#8203;3812](https://github.com/tiangolo/fastapi/pull/3812) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/sub-applications.md`. PR [#&#8203;3811](https://github.com/tiangolo/fastapi/pull/3811) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/async-sql-databases.md`. PR [#&#8203;3805](https://github.com/tiangolo/fastapi/pull/3805) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/middleware.md`. PR [#&#8203;3804](https://github.com/tiangolo/fastapi/pull/3804) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/dataclasses.md`. PR [#&#8203;3803](https://github.com/tiangolo/fastapi/pull/3803) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/using-request-directly.md`. PR [#&#8203;3802](https://github.com/tiangolo/fastapi/pull/3802) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/security/http-basic-auth.md`. PR [#&#8203;3801](https://github.com/tiangolo/fastapi/pull/3801) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/security/oauth2-scopes.md`. PR [#&#8203;3800](https://github.com/tiangolo/fastapi/pull/3800) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/cookie-params.md`. PR [#&#8203;3486](https://github.com/tiangolo/fastapi/pull/3486) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/header-params.md`. PR [#&#8203;3487](https://github.com/tiangolo/fastapi/pull/3487) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Update Chinese translation for `docs/tutorial/response-status-code.md`. PR [#&#8203;3498](https://github.com/tiangolo/fastapi/pull/3498) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add German translation for `docs/de/docs/tutorial/security/first-steps.md`. PR [#&#8203;10432](https://github.com/tiangolo/fastapi/pull/10432) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/events.md`. PR [#&#8203;10693](https://github.com/tiangolo/fastapi/pull/10693) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/cloud.md`. PR [#&#8203;10746](https://github.com/tiangolo/fastapi/pull/10746) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/behind-a-proxy.md`. PR [#&#8203;10675](https://github.com/tiangolo/fastapi/pull/10675) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/help-fastapi.md`. PR [#&#8203;10455](https://github.com/tiangolo/fastapi/pull/10455) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update German translation for `docs/de/docs/python-types.md`. PR [#&#8203;10287](https://github.com/tiangolo/fastapi/pull/10287) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/path-params.md`. PR [#&#8203;10290](https://github.com/tiangolo/fastapi/pull/10290) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/handling-errors.md`. PR [#&#8203;10379](https://github.com/tiangolo/fastapi/pull/10379) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update German translation for `docs/de/docs/index.md`. PR [#&#8203;10283](https://github.com/tiangolo/fastapi/pull/10283) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/security/http-basic-auth.md`. PR [#&#8203;10651](https://github.com/tiangolo/fastapi/pull/10651) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/bigger-applications.md`. PR [#&#8203;10554](https://github.com/tiangolo/fastapi/pull/10554) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/path-operation-advanced-configuration.md`. PR [#&#8203;10612](https://github.com/tiangolo/fastapi/pull/10612) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/static-files.md`. PR [#&#8203;10584](https://github.com/tiangolo/fastapi/pull/10584) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/security/oauth2-jwt.md`. PR [#&#8203;10522](https://github.com/tiangolo/fastapi/pull/10522) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/response-model.md`. PR [#&#8203;10345](https://github.com/tiangolo/fastapi/pull/10345) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/extra-models.md`. PR [#&#8203;10351](https://github.com/tiangolo/fastapi/pull/10351) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/body-updates.md`. PR [#&#8203;10396](https://github.com/tiangolo/fastapi/pull/10396) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/alternatives.md`. PR [#&#8203;10855](https://github.com/tiangolo/fastapi/pull/10855) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/templates.md`. PR [#&#8203;10678](https://github.com/tiangolo/fastapi/pull/10678) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/security/oauth2-scopes.md`. PR [#&#8203;10643](https://github.com/tiangolo/fastapi/pull/10643) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/async-tests.md`. PR [#&#8203;10708](https://github.com/tiangolo/fastapi/pull/10708) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/metadata.md`. PR [#&#8203;10581](https://github.com/tiangolo/fastapi/pull/10581) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/testing.md`. PR [#&#8203;10586](https://github.com/tiangolo/fastapi/pull/10586) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/schema-extra-example.md`. PR [#&#8203;10597](https://github.com/tiangolo/fastapi/pull/10597) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/index.md`. PR [#&#8203;10611](https://github.com/tiangolo/fastapi/pull/10611) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/response-directly.md`. PR [#&#8203;10618](https://github.com/tiangolo/fastapi/pull/10618) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/additional-responses.md`. PR [#&#8203;10626](https://github.com/tiangolo/fastapi/pull/10626) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/response-cookies.md`. PR [#&#8203;10627](https://github.com/tiangolo/fastapi/pull/10627) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/response-headers.md`. PR [#&#8203;10628](https://github.com/tiangolo/fastapi/pull/10628) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/response-change-status-code.md`. PR [#&#8203;10632](https://github.com/tiangolo/fastapi/pull/10632) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/advanced-dependencies.md`. PR [#&#8203;10633](https://github.com/tiangolo/fastapi/pull/10633) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/security/index.md`. PR [#&#8203;10635](https://github.com/tiangolo/fastapi/pull/10635) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/using-request-directly.md`. PR [#&#8203;10653](https://github.com/tiangolo/fastapi/pull/10653) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/dataclasses.md`. PR [#&#8203;10667](https://github.com/tiangolo/fastapi/pull/10667) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/middleware.md`. PR [#&#8203;10668](https://github.com/tiangolo/fastapi/pull/10668) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/sub-applications.md`. PR [#&#8203;10671](https://github.com/tiangolo/fastapi/pull/10671) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/websockets.md`. PR [#&#8203;10687](https://github.com/tiangolo/fastapi/pull/10687) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/testing-websockets.md`. PR [#&#8203;10703](https://github.com/tiangolo/fastapi/pull/10703) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/testing-events.md`. PR [#&#8203;10704](https://github.com/tiangolo/fastapi/pull/10704) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/testing-dependencies.md`. PR [#&#8203;10706](https://github.com/tiangolo/fastapi/pull/10706) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/openapi-callbacks.md`. PR [#&#8203;10710](https://github.com/tiangolo/fastapi/pull/10710) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/settings.md`. PR [#&#8203;10709](https://github.com/tiangolo/fastapi/pull/10709) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/wsgi.md`. PR [#&#8203;10713](https://github.com/tiangolo/fastapi/pull/10713) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/index.md`. PR [#&#8203;10733](https://github.com/tiangolo/fastapi/pull/10733) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/https.md`. PR [#&#8203;10737](https://github.com/tiangolo/fastapi/pull/10737) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/manually.md`. PR [#&#8203;10738](https://github.com/tiangolo/fastapi/pull/10738) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/concepts.md`. PR [#&#8203;10744](https://github.com/tiangolo/fastapi/pull/10744) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update German translation for `docs/de/docs/features.md`. PR [#&#8203;10284](https://github.com/tiangolo/fastapi/pull/10284) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/server-workers.md`. PR [#&#8203;10747](https://github.com/tiangolo/fastapi/pull/10747) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/docker.md`. PR [#&#8203;10759](https://github.com/tiangolo/fastapi/pull/10759) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/index.md`. PR [#&#8203;10769](https://github.com/tiangolo/fastapi/pull/10769) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/general.md`. PR [#&#8203;10770](https://github.com/tiangolo/fastapi/pull/10770) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/graphql.md`. PR [#&#8203;10788](https://github.com/tiangolo/fastapi/pull/10788) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/custom-request-and-route.md`. PR [#&#8203;10789](https://github.com/tiangolo/fastapi/pull/10789) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/conditional-openapi.md`. PR [#&#8203;10790](https://github.com/tiangolo/fastapi/pull/10790) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/separate-openapi-schemas.md`. PR [#&#8203;10796](https://github.com/tiangolo/fastapi/pull/10796) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/configure-swagger-ui.md`. PR [#&#8203;10804](https://github.com/tiangolo/fastapi/pull/10804) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/how-to/custom-docs-ui-assets.md`. PR [#&#8203;10803](https://github.com/tiangolo/fastapi/pull/10803) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/parameters.md`. PR [#&#8203;10814](https://github.com/tiangolo/fastapi/pull/10814) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/status.md`. PR [#&#8203;10815](https://github.com/tiangolo/fastapi/pull/10815) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/uploadfile.md`. PR [#&#8203;10816](https://github.com/tiangolo/fastapi/pull/10816) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/exceptions.md`. PR [#&#8203;10817](https://github.com/tiangolo/fastapi/pull/10817) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/dependencies.md`. PR [#&#8203;10818](https://github.com/tiangolo/fastapi/pull/10818) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/apirouter.md`. PR [#&#8203;10819](https://github.com/tiangolo/fastapi/pull/10819) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/websockets.md`. PR [#&#8203;10822](https://github.com/tiangolo/fastapi/pull/10822) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/httpconnection.md`. PR [#&#8203;10823](https://github.com/tiangolo/fastapi/pull/10823) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/response.md`. PR [#&#8203;10824](https://github.com/tiangolo/fastapi/pull/10824) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/middleware.md`. PR [#&#8203;10837](https://github.com/tiangolo/fastapi/pull/10837) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/openapi/*.md`. PR [#&#8203;10838](https://github.com/tiangolo/fastapi/pull/10838) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/security/index.md`. PR [#&#8203;10839](https://github.com/tiangolo/fastapi/pull/10839) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/staticfiles.md`. PR [#&#8203;10841](https://github.com/tiangolo/fastapi/pull/10841) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/testclient.md`. PR [#&#8203;10843](https://github.com/tiangolo/fastapi/pull/10843) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/project-generation.md`. PR [#&#8203;10851](https://github.com/tiangolo/fastapi/pull/10851) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/history-design-future.md`. PR [#&#8203;10865](https://github.com/tiangolo/fastapi/pull/10865) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#&#8203;10422](https://github.com/tiangolo/fastapi/pull/10422) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/dependencies/global-dependencies.md`. PR [#&#8203;10420](https://github.com/tiangolo/fastapi/pull/10420) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update German translation for `docs/de/docs/fastapi-people.md`. PR [#&#8203;10285](https://github.com/tiangolo/fastapi/pull/10285) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/dependencies/sub-dependencies.md`. PR [#&#8203;10409](https://github.com/tiangolo/fastapi/pull/10409) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/security/index.md`. PR [#&#8203;10429](https://github.com/tiangolo/fastapi/pull/10429) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#&#8203;10411](https://github.com/tiangolo/fastapi/pull/10411) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/extra-data-types.md`. PR [#&#8203;10534](https://github.com/tiangolo/fastapi/pull/10534) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/security/simple-oauth2.md`. PR [#&#8203;10504](https://github.com/tiangolo/fastapi/pull/10504) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/security/get-current-user.md`. PR [#&#8203;10439](https://github.com/tiangolo/fastapi/pull/10439) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/request-forms-and-files.md`. PR [#&#8203;10368](https://github.com/tiangolo/fastapi/pull/10368) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/encoder.md`. PR [#&#8203;10385](https://github.com/tiangolo/fastapi/pull/10385) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/request-forms.md`. PR [#&#8203;10361](https://github.com/tiangolo/fastapi/pull/10361) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/deployment/versions.md`. PR [#&#8203;10491](https://github.com/tiangolo/fastapi/pull/10491) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/async.md`. PR [#&#8203;10449](https://github.com/tiangolo/fastapi/pull/10449) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/cookie-params.md`. PR [#&#8203;10323](https://github.com/tiangolo/fastapi/pull/10323) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [#&#8203;10407](https://github.com/tiangolo/fastapi/pull/10407) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/dependencies/index.md`. PR [#&#8203;10399](https://github.com/tiangolo/fastapi/pull/10399) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/header-params.md`. PR [#&#8203;10326](https://github.com/tiangolo/fastapi/pull/10326) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/path-params-numeric-validations.md`. PR [#&#8203;10307](https://github.com/tiangolo/fastapi/pull/10307) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/query-params-str-validations.md`. PR [#&#8203;10304](https://github.com/tiangolo/fastapi/pull/10304) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/request-files.md`. PR [#&#8203;10364](https://github.com/tiangolo/fastapi/pull/10364) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - :globe_with_meridians: Add Portuguese translation for `docs/pt/docs/advanced/templates.md`. PR [#&#8203;11338](https://github.com/tiangolo/fastapi/pull/11338) by [@&#8203;SamuelBFavarin](https://github.com/SamuelBFavarin). - 🌐 Add Bengali translations for `docs/bn/docs/learn/index.md`. PR [#&#8203;11337](https://github.com/tiangolo/fastapi/pull/11337) by [@&#8203;imtiaz101325](https://github.com/imtiaz101325). - 🌐 Fix Korean translation for `docs/ko/docs/index.md`. PR [#&#8203;11296](https://github.com/tiangolo/fastapi/pull/11296) by [@&#8203;choi-haram](https://github.com/choi-haram). - 🌐 Add Korean translation for `docs/ko/docs/about/index.md`. PR [#&#8203;11299](https://github.com/tiangolo/fastapi/pull/11299) by [@&#8203;choi-haram](https://github.com/choi-haram). - 🌐 Add Korean translation for `docs/ko/docs/advanced/index.md`. PR [#&#8203;9613](https://github.com/tiangolo/fastapi/pull/9613) by [@&#8203;ElliottLarsen](https://github.com/ElliottLarsen). - 🌐 Add German translation for `docs/de/docs/how-to/extending-openapi.md`. PR [#&#8203;10794](https://github.com/tiangolo/fastapi/pull/10794) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/metadata.md`. PR [#&#8203;11286](https://github.com/tiangolo/fastapi/pull/11286) by [@&#8203;jackleeio](https://github.com/jackleeio). - 🌐 Update Chinese translation for `docs/zh/docs/contributing.md`. PR [#&#8203;10887](https://github.com/tiangolo/fastapi/pull/10887) by [@&#8203;Aruelius](https://github.com/Aruelius). - 🌐 Add Azerbaijani translation for `docs/az/docs/fastapi-people.md`. PR [#&#8203;11195](https://github.com/tiangolo/fastapi/pull/11195) by [@&#8203;vusallyv](https://github.com/vusallyv). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/index.md`. PR [#&#8203;11223](https://github.com/tiangolo/fastapi/pull/11223) by [@&#8203;kohiry](https://github.com/kohiry). - 🌐 Update Chinese translation for `docs/zh/docs/tutorial/query-params.md`. PR [#&#8203;11242](https://github.com/tiangolo/fastapi/pull/11242) by [@&#8203;jackleeio](https://github.com/jackleeio). - 🌐 Add Azerbaijani translation for `docs/az/learn/index.md`. PR [#&#8203;11192](https://github.com/tiangolo/fastapi/pull/11192) by [@&#8203;vusallyv](https://github.com/vusallyv). ##### Internal - 👥 Update FastAPI People. PR [#&#8203;11387](https://github.com/tiangolo/fastapi/pull/11387) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆ Bump actions/cache from 3 to 4. PR [#&#8203;10988](https://github.com/tiangolo/fastapi/pull/10988) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14. PR [#&#8203;11318](https://github.com/tiangolo/fastapi/pull/11318) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump pillow from 10.1.0 to 10.2.0. PR [#&#8203;11011](https://github.com/tiangolo/fastapi/pull/11011) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump black from 23.3.0 to 24.3.0. PR [#&#8203;11325](https://github.com/tiangolo/fastapi/pull/11325) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - 👷 Add cron to run test once a week on monday. PR [#&#8203;11377](https://github.com/tiangolo/fastapi/pull/11377) by [@&#8203;estebanx64](https://github.com/estebanx64). - ➕ Replace mkdocs-markdownextradata-plugin with mkdocs-macros-plugin. PR [#&#8203;11383](https://github.com/tiangolo/fastapi/pull/11383) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Disable MkDocs insiders social plugin while an issue in MkDocs Material is handled. PR [#&#8203;11373](https://github.com/tiangolo/fastapi/pull/11373) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Fix logic for when to install and use MkDocs Insiders. PR [#&#8203;11372](https://github.com/tiangolo/fastapi/pull/11372) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Do not use Python packages cache for publish. PR [#&#8203;11366](https://github.com/tiangolo/fastapi/pull/11366) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Add CI to test sdists for redistribution (e.g. Linux distros). PR [#&#8203;11365](https://github.com/tiangolo/fastapi/pull/11365) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Update build-docs GitHub Action path filter. PR [#&#8203;11354](https://github.com/tiangolo/fastapi/pull/11354) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Update Ruff config, add extra ignore rule from SQLModel. PR [#&#8203;11353](https://github.com/tiangolo/fastapi/pull/11353) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆️ Upgrade configuration for Ruff v0.2.0. PR [#&#8203;11075](https://github.com/tiangolo/fastapi/pull/11075) by [@&#8203;charliermarsh](https://github.com/charliermarsh). - 🔧 Update sponsors, add MongoDB. PR [#&#8203;11346](https://github.com/tiangolo/fastapi/pull/11346) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆ Bump dorny/paths-filter from 2 to 3. PR [#&#8203;11028](https://github.com/tiangolo/fastapi/pull/11028) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.4. PR [#&#8203;11310](https://github.com/tiangolo/fastapi/pull/11310) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ♻️ Refactor computing FastAPI People, include 3 months, 6 months, 1 year, based on comment date, not discussion date. PR [#&#8203;11304](https://github.com/tiangolo/fastapi/pull/11304) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👥 Update FastAPI People. PR [#&#8203;11228](https://github.com/tiangolo/fastapi/pull/11228) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔥 Remove Jina AI QA Bot from the docs. PR [#&#8203;11268](https://github.com/tiangolo/fastapi/pull/11268) by [@&#8203;nan-wang](https://github.com/nan-wang). - 🔧 Update sponsors, remove Jina, remove Powens, move TestDriven.io. PR [#&#8203;11213](https://github.com/tiangolo/fastapi/pull/11213) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.110.0`](https://github.com/tiangolo/fastapi/releases/tag/0.110.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.109.2...0.110.0) ##### Breaking Changes - 🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with `yield` and `except` to require raising again as in regular Python. PR [#&#8203;11191](https://github.com/tiangolo/fastapi/pull/11191) by [@&#8203;tiangolo](https://github.com/tiangolo). - This is a breaking change (and only slightly) if you used dependencies with `yield`, used `except` in those dependencies, and didn't raise again. - This was reported internally by [@&#8203;rushilsrivastava](https://github.com/rushilsrivastava) as a memory leak when the server had unhandled exceptions that would produce internal server errors, the memory allocated before that point would not be released. - Read the new docs: [Dependencies with `yield` and `except`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-except). In short, if you had dependencies that looked like: ```Python def my_dep(): try: yield except SomeException: pass ``` Now you need to make sure you raise again after `except`, just as you would in regular Python: ```Python def my_dep(): try: yield except SomeException: raise ``` ##### Docs - ✏️ Fix minor typos in `docs/ko/docs/`. PR [#&#8203;11126](https://github.com/tiangolo/fastapi/pull/11126) by [@&#8203;KaniKim](https://github.com/KaniKim). - ✏️ Fix minor typo in `fastapi/applications.py`. PR [#&#8203;11099](https://github.com/tiangolo/fastapi/pull/11099) by [@&#8203;JacobHayes](https://github.com/JacobHayes). ##### Translations - 🌐 Add German translation for `docs/de/docs/reference/background.md`. PR [#&#8203;10820](https://github.com/tiangolo/fastapi/pull/10820) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/templating.md`. PR [#&#8203;10842](https://github.com/tiangolo/fastapi/pull/10842) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/external-links.md`. PR [#&#8203;10852](https://github.com/tiangolo/fastapi/pull/10852) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Update Turkish translation for `docs/tr/docs/tutorial/query-params.md`. PR [#&#8203;11162](https://github.com/tiangolo/fastapi/pull/11162) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add German translation for `docs/de/docs/reference/encoders.md`. PR [#&#8203;10840](https://github.com/tiangolo/fastapi/pull/10840) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/responses.md`. PR [#&#8203;10825](https://github.com/tiangolo/fastapi/pull/10825) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/reference/request.md`. PR [#&#8203;10821](https://github.com/tiangolo/fastapi/pull/10821) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Turkish translation for `docs/tr/docs/tutorial/query-params.md`. PR [#&#8203;11078](https://github.com/tiangolo/fastapi/pull/11078) by [@&#8203;emrhnsyts](https://github.com/emrhnsyts). - 🌐 Add German translation for `docs/de/docs/reference/fastapi.md`. PR [#&#8203;10813](https://github.com/tiangolo/fastapi/pull/10813) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/newsletter.md`. PR [#&#8203;10853](https://github.com/tiangolo/fastapi/pull/10853) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Traditional Chinese translation for `docs/zh-hant/docs/learn/index.md`. PR [#&#8203;11142](https://github.com/tiangolo/fastapi/pull/11142) by [@&#8203;hsuanchi](https://github.com/hsuanchi). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/dependencies/global-dependencies.md`. PR [#&#8203;11123](https://github.com/tiangolo/fastapi/pull/11123) by [@&#8203;riroan](https://github.com/riroan). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#&#8203;11124](https://github.com/tiangolo/fastapi/pull/11124) by [@&#8203;riroan](https://github.com/riroan). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/schema-extra-example.md`. PR [#&#8203;11121](https://github.com/tiangolo/fastapi/pull/11121) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/body-fields.md`. PR [#&#8203;11112](https://github.com/tiangolo/fastapi/pull/11112) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/cookie-params.md`. PR [#&#8203;11118](https://github.com/tiangolo/fastapi/pull/11118) by [@&#8203;riroan](https://github.com/riroan). - 🌐 Update Korean translation for `/docs/ko/docs/dependencies/index.md`. PR [#&#8203;11114](https://github.com/tiangolo/fastapi/pull/11114) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Update Korean translation for `/docs/ko/docs/deployment/docker.md`. PR [#&#8203;11113](https://github.com/tiangolo/fastapi/pull/11113) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Update Turkish translation for `docs/tr/docs/tutorial/first-steps.md`. PR [#&#8203;11094](https://github.com/tiangolo/fastapi/pull/11094) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Spanish translation for `docs/es/docs/advanced/security/index.md`. PR [#&#8203;2278](https://github.com/tiangolo/fastapi/pull/2278) by [@&#8203;Xaraxx](https://github.com/Xaraxx). - 🌐 Add Spanish translation for `docs/es/docs/advanced/response-headers.md`. PR [#&#8203;2276](https://github.com/tiangolo/fastapi/pull/2276) by [@&#8203;Xaraxx](https://github.com/Xaraxx). - 🌐 Add Spanish translation for `docs/es/docs/deployment/index.md` and `~/deployment/versions.md`. PR [#&#8203;9669](https://github.com/tiangolo/fastapi/pull/9669) by [@&#8203;pabloperezmoya](https://github.com/pabloperezmoya). - 🌐 Add Spanish translation for `docs/es/docs/benchmarks.md`. PR [#&#8203;10928](https://github.com/tiangolo/fastapi/pull/10928) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Spanish translation for `docs/es/docs/advanced/response-change-status-code.md`. PR [#&#8203;11100](https://github.com/tiangolo/fastapi/pull/11100) by [@&#8203;alejsdev](https://github.com/alejsdev). ### [`v0.109.2`](https://github.com/tiangolo/fastapi/releases/tag/0.109.2) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.109.1...0.109.2) ##### Upgrades - ⬆️ Upgrade version of Starlette to `>= 0.36.3`. PR [#&#8203;11086](https://github.com/tiangolo/fastapi/pull/11086) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Translations - 🌐 Update Turkish translation for `docs/tr/docs/fastapi-people.md`. PR [#&#8203;10547](https://github.com/tiangolo/fastapi/pull/10547) by [@&#8203;alperiox](https://github.com/alperiox). ##### Internal - 🍱 Add new FastAPI logo. PR [#&#8203;11090](https://github.com/tiangolo/fastapi/pull/11090) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.109.1`](https://github.com/tiangolo/fastapi/releases/tag/0.109.1) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.109.0...0.109.1) ##### Security fixes - ⬆️ Upgrade minimum version of `python-multipart` to `>=0.0.7` to fix a vulnerability when using form data with a ReDos attack. You can also simply upgrade `python-multipart`. Read more in the [advisory: Content-Type Header ReDoS](https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389). ##### Features - ✨ Include HTTP 205 in status codes with no body. PR [#&#8203;10969](https://github.com/tiangolo/fastapi/pull/10969) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Refactors - ✅ Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite. PR [#&#8203;10876](https://github.com/tiangolo/fastapi/pull/10876) by [@&#8203;emmettbutler](https://github.com/emmettbutler). - ♻️ Simplify string format with f-strings in `fastapi/utils.py`. PR [#&#8203;10576](https://github.com/tiangolo/fastapi/pull/10576) by [@&#8203;eukub](https://github.com/eukub). - 🔧 Fix Ruff configuration unintentionally enabling and re-disabling mccabe complexity check. PR [#&#8203;10893](https://github.com/tiangolo/fastapi/pull/10893) by [@&#8203;jiridanek](https://github.com/jiridanek). - ✅ Re-enable test in `tests/test_tutorial/test_header_params/test_tutorial003.py` after fix in Starlette. PR [#&#8203;10904](https://github.com/tiangolo/fastapi/pull/10904) by [@&#8203;ooknimm](https://github.com/ooknimm). ##### Docs - 📝 Tweak wording in `help-fastapi.md`. PR [#&#8203;11040](https://github.com/tiangolo/fastapi/pull/11040) by [@&#8203;tiangolo](https://github.com/tiangolo). - 📝 Tweak docs for Behind a Proxy. PR [#&#8203;11038](https://github.com/tiangolo/fastapi/pull/11038) by [@&#8203;tiangolo](https://github.com/tiangolo). - 📝 Add External Link: 10 Tips for adding SQLAlchemy to FastAPI. PR [#&#8203;11036](https://github.com/tiangolo/fastapi/pull/11036) by [@&#8203;Donnype](https://github.com/Donnype). - 📝 Add External Link: Tips on migrating from Flask to FastAPI and vice-versa. PR [#&#8203;11029](https://github.com/tiangolo/fastapi/pull/11029) by [@&#8203;jtemporal](https://github.com/jtemporal). - 📝 Deprecate old tutorials: Peewee, Couchbase, encode/databases. PR [#&#8203;10979](https://github.com/tiangolo/fastapi/pull/10979) by [@&#8203;tiangolo](https://github.com/tiangolo). - ✏️ Fix typo in `fastapi/security/oauth2.py`. PR [#&#8203;10972](https://github.com/tiangolo/fastapi/pull/10972) by [@&#8203;RafalSkolasinski](https://github.com/RafalSkolasinski). - 📝 Update `HTTPException` details in `docs/en/docs/tutorial/handling-errors.md`. PR [#&#8203;5418](https://github.com/tiangolo/fastapi/pull/5418) by [@&#8203;papb](https://github.com/papb). - ✏️ A few tweaks in `docs/de/docs/tutorial/first-steps.md`. PR [#&#8203;10959](https://github.com/tiangolo/fastapi/pull/10959) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - ✏️ Fix link in `docs/en/docs/advanced/async-tests.md`. PR [#&#8203;10960](https://github.com/tiangolo/fastapi/pull/10960) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - ✏️ Fix typos for Spanish documentation. PR [#&#8203;10957](https://github.com/tiangolo/fastapi/pull/10957) by [@&#8203;jlopezlira](https://github.com/jlopezlira). - 📝 Add warning about lifespan functions and backwards compatibility with events. PR [#&#8203;10734](https://github.com/tiangolo/fastapi/pull/10734) by [@&#8203;jacob-indigo](https://github.com/jacob-indigo). - ✏️ Fix broken link in `docs/tutorial/sql-databases.md` in several languages. PR [#&#8203;10716](https://github.com/tiangolo/fastapi/pull/10716) by [@&#8203;theoohoho](https://github.com/theoohoho). - ✏️ Remove broken links from `external_links.yml`. PR [#&#8203;10943](https://github.com/tiangolo/fastapi/pull/10943) by [@&#8203;Torabek](https://github.com/Torabek). - 📝 Update template docs with more info about `url_for`. PR [#&#8203;5937](https://github.com/tiangolo/fastapi/pull/5937) by [@&#8203;EzzEddin](https://github.com/EzzEddin). - 📝 Update usage of Token model in security docs. PR [#&#8203;9313](https://github.com/tiangolo/fastapi/pull/9313) by [@&#8203;piotrszacilowski](https://github.com/piotrszacilowski). - ✏️ Update highlighted line in `docs/en/docs/tutorial/bigger-applications.md`. PR [#&#8203;5490](https://github.com/tiangolo/fastapi/pull/5490) by [@&#8203;papb](https://github.com/papb). - 📝 Add External Link: Explore How to Effectively Use JWT With FastAPI. PR [#&#8203;10212](https://github.com/tiangolo/fastapi/pull/10212) by [@&#8203;aanchlia](https://github.com/aanchlia). - 📝 Add hyperlink to `docs/en/docs/tutorial/static-files.md`. PR [#&#8203;10243](https://github.com/tiangolo/fastapi/pull/10243) by [@&#8203;hungtsetse](https://github.com/hungtsetse). - 📝 Add External Link: Instrument a FastAPI service adding tracing with OpenTelemetry and send/show traces in Grafana Tempo. PR [#&#8203;9440](https://github.com/tiangolo/fastapi/pull/9440) by [@&#8203;softwarebloat](https://github.com/softwarebloat). - 📝 Review and rewording of `en/docs/contributing.md`. PR [#&#8203;10480](https://github.com/tiangolo/fastapi/pull/10480) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 📝 Add External Link: ML serving and monitoring with FastAPI and Evidently. PR [#&#8203;9701](https://github.com/tiangolo/fastapi/pull/9701) by [@&#8203;mnrozhkov](https://github.com/mnrozhkov). - 📝 Reword in docs, from "have in mind" to "keep in mind". PR [#&#8203;10376](https://github.com/tiangolo/fastapi/pull/10376) by [@&#8203;malicious](https://github.com/malicious). - 📝 Add External Link: Talk by Jeny Sadadia. PR [#&#8203;10265](https://github.com/tiangolo/fastapi/pull/10265) by [@&#8203;JenySadadia](https://github.com/JenySadadia). - 📝 Add location info to `tutorial/bigger-applications.md`. PR [#&#8203;10552](https://github.com/tiangolo/fastapi/pull/10552) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - ✏️ Fix Pydantic method name in `docs/en/docs/advanced/path-operation-advanced-configuration.md`. PR [#&#8203;10826](https://github.com/tiangolo/fastapi/pull/10826) by [@&#8203;ahmedabdou14](https://github.com/ahmedabdou14). ##### Translations - 🌐 Add Spanish translation for `docs/es/docs/external-links.md`. PR [#&#8203;10933](https://github.com/tiangolo/fastapi/pull/10933) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Update Korean translation for `docs/ko/docs/tutorial/first-steps.md`, `docs/ko/docs/tutorial/index.md`, `docs/ko/docs/tutorial/path-params.md`, and `docs/ko/docs/tutorial/query-params.md`. PR [#&#8203;4218](https://github.com/tiangolo/fastapi/pull/4218) by [@&#8203;SnowSuno](https://github.com/SnowSuno). - 🌐 Add Chinese translation for `docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#&#8203;10870](https://github.com/tiangolo/fastapi/pull/10870) by [@&#8203;zhiquanchi](https://github.com/zhiquanchi). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/concepts.md`. PR [#&#8203;10282](https://github.com/tiangolo/fastapi/pull/10282) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Add Azerbaijani translation for `docs/az/docs/index.md`. PR [#&#8203;11047](https://github.com/tiangolo/fastapi/pull/11047) by [@&#8203;aykhans](https://github.com/aykhans). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/middleware.md`. PR [#&#8203;2829](https://github.com/tiangolo/fastapi/pull/2829) by [@&#8203;JeongHyeongKim](https://github.com/JeongHyeongKim). - 🌐 Add German translation for `docs/de/docs/tutorial/body-nested-models.md`. PR [#&#8203;10313](https://github.com/tiangolo/fastapi/pull/10313) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Persian translation for `docs/fa/docs/tutorial/middleware.md`. PR [#&#8203;9695](https://github.com/tiangolo/fastapi/pull/9695) by [@&#8203;mojtabapaso](https://github.com/mojtabapaso). - 🌐 Update Farsi translation for `docs/fa/docs/index.md`. PR [#&#8203;10216](https://github.com/tiangolo/fastapi/pull/10216) by [@&#8203;theonlykingpin](https://github.com/theonlykingpin). - 🌐 Add German translation for `docs/de/docs/tutorial/body-fields.md`. PR [#&#8203;10310](https://github.com/tiangolo/fastapi/pull/10310) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/body.md`. PR [#&#8203;10295](https://github.com/tiangolo/fastapi/pull/10295) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/body-multiple-params.md`. PR [#&#8203;10308](https://github.com/tiangolo/fastapi/pull/10308) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/security/get-current-user.md`. PR [#&#8203;2681](https://github.com/tiangolo/fastapi/pull/2681) by [@&#8203;sh0nk](https://github.com/sh0nk). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/advanced-dependencies.md`. PR [#&#8203;3798](https://github.com/tiangolo/fastapi/pull/3798) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/events.md`. PR [#&#8203;3815](https://github.com/tiangolo/fastapi/pull/3815) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/behind-a-proxy.md`. PR [#&#8203;3820](https://github.com/tiangolo/fastapi/pull/3820) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-events.md`. PR [#&#8203;3818](https://github.com/tiangolo/fastapi/pull/3818) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-websockets.md`. PR [#&#8203;3817](https://github.com/tiangolo/fastapi/pull/3817) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/testing-database.md`. PR [#&#8203;3821](https://github.com/tiangolo/fastapi/pull/3821) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/deta.md`. PR [#&#8203;3837](https://github.com/tiangolo/fastapi/pull/3837) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/history-design-future.md`. PR [#&#8203;3832](https://github.com/tiangolo/fastapi/pull/3832) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/project-generation.md`. PR [#&#8203;3831](https://github.com/tiangolo/fastapi/pull/3831) by [@&#8203;jaystone776](https://github.com/jaystone776). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/docker.md`. PR [#&#8203;10296](https://github.com/tiangolo/fastapi/pull/10296) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Update Spanish translation for `docs/es/docs/features.md`. PR [#&#8203;10884](https://github.com/tiangolo/fastapi/pull/10884) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Spanish translation for `docs/es/docs/newsletter.md`. PR [#&#8203;10922](https://github.com/tiangolo/fastapi/pull/10922) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/background-tasks.md`. PR [#&#8203;5910](https://github.com/tiangolo/fastapi/pull/5910) by [@&#8203;junah201](https://github.com/junah201). - :globe_with_meridians: Add Turkish translation for `docs/tr/docs/alternatives.md`. PR [#&#8203;10502](https://github.com/tiangolo/fastapi/pull/10502) by [@&#8203;alperiox](https://github.com/alperiox). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/dependencies/index.md`. PR [#&#8203;10989](https://github.com/tiangolo/fastapi/pull/10989) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `/docs/ko/docs/tutorial/body.md`. PR [#&#8203;11000](https://github.com/tiangolo/fastapi/pull/11000) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Portuguese translation for `docs/pt/docs/tutorial/schema-extra-example.md`. PR [#&#8203;4065](https://github.com/tiangolo/fastapi/pull/4065) by [@&#8203;luccasmmg](https://github.com/luccasmmg). - 🌐 Add Turkish translation for `docs/tr/docs/history-design-future.md`. PR [#&#8203;11012](https://github.com/tiangolo/fastapi/pull/11012) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Turkish translation for `docs/tr/docs/resources/index.md`. PR [#&#8203;11020](https://github.com/tiangolo/fastapi/pull/11020) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Turkish translation for `docs/tr/docs/how-to/index.md`. PR [#&#8203;11021](https://github.com/tiangolo/fastapi/pull/11021) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add German translation for `docs/de/docs/tutorial/query-params.md`. PR [#&#8203;10293](https://github.com/tiangolo/fastapi/pull/10293) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/benchmarks.md`. PR [#&#8203;10866](https://github.com/tiangolo/fastapi/pull/10866) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Turkish translation for `docs/tr/docs/learn/index.md`. PR [#&#8203;11014](https://github.com/tiangolo/fastapi/pull/11014) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Persian translation for `docs/fa/docs/tutorial/security/index.md`. PR [#&#8203;9945](https://github.com/tiangolo/fastapi/pull/9945) by [@&#8203;mojtabapaso](https://github.com/mojtabapaso). - 🌐 Add Turkish translation for `docs/tr/docs/help/index.md`. PR [#&#8203;11013](https://github.com/tiangolo/fastapi/pull/11013) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Turkish translation for `docs/tr/docs/about/index.md`. PR [#&#8203;11006](https://github.com/tiangolo/fastapi/pull/11006) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Update Turkish translation for `docs/tr/docs/benchmarks.md`. PR [#&#8203;11005](https://github.com/tiangolo/fastapi/pull/11005) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Italian translation for `docs/it/docs/index.md`. PR [#&#8203;5233](https://github.com/tiangolo/fastapi/pull/5233) by [@&#8203;matteospanio](https://github.com/matteospanio). - 🌐 Add Korean translation for `docs/ko/docs/help/index.md`. PR [#&#8203;10983](https://github.com/tiangolo/fastapi/pull/10983) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `docs/ko/docs/features.md`. PR [#&#8203;10976](https://github.com/tiangolo/fastapi/pull/10976) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/security/get-current-user.md`. PR [#&#8203;5737](https://github.com/tiangolo/fastapi/pull/5737) by [@&#8203;KdHyeon0661](https://github.com/KdHyeon0661). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/security/first-steps.md`. PR [#&#8203;10541](https://github.com/tiangolo/fastapi/pull/10541) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/handling-errors.md`. PR [#&#8203;10375](https://github.com/tiangolo/fastapi/pull/10375) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/encoder.md`. PR [#&#8203;10374](https://github.com/tiangolo/fastapi/pull/10374) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/body-updates.md`. PR [#&#8203;10373](https://github.com/tiangolo/fastapi/pull/10373) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Russian translation: updated `fastapi-people.md`.. PR [#&#8203;10255](https://github.com/tiangolo/fastapi/pull/10255) by [@&#8203;NiKuma0](https://github.com/NiKuma0). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/security/index.md`. PR [#&#8203;5798](https://github.com/tiangolo/fastapi/pull/5798) by [@&#8203;3w36zj6](https://github.com/3w36zj6). - 🌐 Add German translation for `docs/de/docs/advanced/generate-clients.md`. PR [#&#8203;10725](https://github.com/tiangolo/fastapi/pull/10725) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/openapi-webhooks.md`. PR [#&#8203;10712](https://github.com/tiangolo/fastapi/pull/10712) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/custom-response.md`. PR [#&#8203;10624](https://github.com/tiangolo/fastapi/pull/10624) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/advanced/additional-status-codes.md`. PR [#&#8203;10617](https://github.com/tiangolo/fastapi/pull/10617) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add German translation for `docs/de/docs/tutorial/middleware.md`. PR [#&#8203;10391](https://github.com/tiangolo/fastapi/pull/10391) by [@&#8203;JohannesJungbluth](https://github.com/JohannesJungbluth). - 🌐 Add German translation for introduction documents. PR [#&#8203;10497](https://github.com/tiangolo/fastapi/pull/10497) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/encoder.md`. PR [#&#8203;1955](https://github.com/tiangolo/fastapi/pull/1955) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/extra-data-types.md`. PR [#&#8203;1932](https://github.com/tiangolo/fastapi/pull/1932) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Turkish translation for `docs/tr/docs/async.md`. PR [#&#8203;5191](https://github.com/tiangolo/fastapi/pull/5191) by [@&#8203;BilalAlpaslan](https://github.com/BilalAlpaslan). - 🌐 Add Turkish translation for `docs/tr/docs/project-generation.md`. PR [#&#8203;5192](https://github.com/tiangolo/fastapi/pull/5192) by [@&#8203;BilalAlpaslan](https://github.com/BilalAlpaslan). - 🌐 Add Korean translation for `docs/ko/docs/deployment/docker.md`. PR [#&#8203;5657](https://github.com/tiangolo/fastapi/pull/5657) by [@&#8203;nearnear](https://github.com/nearnear). - 🌐 Add Korean translation for `docs/ko/docs/deployment/server-workers.md`. PR [#&#8203;4935](https://github.com/tiangolo/fastapi/pull/4935) by [@&#8203;jujumilk3](https://github.com/jujumilk3). - 🌐 Add Korean translation for `docs/ko/docs/deployment/index.md`. PR [#&#8203;4561](https://github.com/tiangolo/fastapi/pull/4561) by [@&#8203;jujumilk3](https://github.com/jujumilk3). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/path-operation-configuration.md`. PR [#&#8203;3639](https://github.com/tiangolo/fastapi/pull/3639) by [@&#8203;jungsu-kwon](https://github.com/jungsu-kwon). - 🌐 Modify the description of `zh` - Traditional Chinese. PR [#&#8203;10889](https://github.com/tiangolo/fastapi/pull/10889) by [@&#8203;cherinyy](https://github.com/cherinyy). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/static-files.md`. PR [#&#8203;2957](https://github.com/tiangolo/fastapi/pull/2957) by [@&#8203;jeesang7](https://github.com/jeesang7). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/response-model.md`. PR [#&#8203;2766](https://github.com/tiangolo/fastapi/pull/2766) by [@&#8203;hard-coders](https://github.com/hard-coders). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/body-multiple-params.md`. PR [#&#8203;2461](https://github.com/tiangolo/fastapi/pull/2461) by [@&#8203;PandaHun](https://github.com/PandaHun). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/query-params-str-validations.md`. PR [#&#8203;2415](https://github.com/tiangolo/fastapi/pull/2415) by [@&#8203;hard-coders](https://github.com/hard-coders). - 🌐 Add Korean translation for `docs/ko/docs/python-types.md`. PR [#&#8203;2267](https://github.com/tiangolo/fastapi/pull/2267) by [@&#8203;jrim](https://github.com/jrim). - 🌐 Add Korean translation for `docs/ko/docs/tutorial/body-nested-models.md`. PR [#&#8203;2506](https://github.com/tiangolo/fastapi/pull/2506) by [@&#8203;hard-coders](https://github.com/hard-coders). - 🌐 Add Korean translation for `docs/ko/docs/learn/index.md`. PR [#&#8203;10977](https://github.com/tiangolo/fastapi/pull/10977) by [@&#8203;KaniKim](https://github.com/KaniKim). - 🌐 Initialize translations for Traditional Chinese. PR [#&#8203;10505](https://github.com/tiangolo/fastapi/pull/10505) by [@&#8203;hsuanchi](https://github.com/hsuanchi). - ✏️ Tweak the german translation of `docs/de/docs/tutorial/index.md`. PR [#&#8203;10962](https://github.com/tiangolo/fastapi/pull/10962) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - ✏️ Fix typo error in `docs/ko/docs/tutorial/path-params.md`. PR [#&#8203;10758](https://github.com/tiangolo/fastapi/pull/10758) by [@&#8203;2chanhaeng](https://github.com/2chanhaeng). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#&#8203;1961](https://github.com/tiangolo/fastapi/pull/1961) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md`. PR [#&#8203;1960](https://github.com/tiangolo/fastapi/pull/1960) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/dependencies/sub-dependencies.md`. PR [#&#8203;1959](https://github.com/tiangolo/fastapi/pull/1959) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/background-tasks.md`. PR [#&#8203;2668](https://github.com/tiangolo/fastapi/pull/2668) by [@&#8203;tokusumi](https://github.com/tokusumi). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/dependencies/index.md` and `docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [#&#8203;1958](https://github.com/tiangolo/fastapi/pull/1958) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/response-model.md`. PR [#&#8203;1938](https://github.com/tiangolo/fastapi/pull/1938) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/body-multiple-params.md`. PR [#&#8203;1903](https://github.com/tiangolo/fastapi/pull/1903) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/path-params-numeric-validations.md`. PR [#&#8203;1902](https://github.com/tiangolo/fastapi/pull/1902) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/python-types.md`. PR [#&#8203;1899](https://github.com/tiangolo/fastapi/pull/1899) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/handling-errors.md`. PR [#&#8203;1953](https://github.com/tiangolo/fastapi/pull/1953) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/response-status-code.md`. PR [#&#8203;1942](https://github.com/tiangolo/fastapi/pull/1942) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/extra-models.md`. PR [#&#8203;1941](https://github.com/tiangolo/fastapi/pull/1941) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese tranlsation for `docs/ja/docs/tutorial/schema-extra-example.md`. PR [#&#8203;1931](https://github.com/tiangolo/fastapi/pull/1931) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/body-nested-models.md`. PR [#&#8203;1930](https://github.com/tiangolo/fastapi/pull/1930) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add Japanese translation for `docs/ja/docs/tutorial/body-fields.md`. PR [#&#8203;1923](https://github.com/tiangolo/fastapi/pull/1923) by [@&#8203;SwftAlpc](https://github.com/SwftAlpc). - 🌐 Add German translation for `docs/de/docs/tutorial/index.md`. PR [#&#8203;9502](https://github.com/tiangolo/fastapi/pull/9502) by [@&#8203;fhabers21](https://github.com/fhabers21). - 🌐 Add German translation for `docs/de/docs/tutorial/background-tasks.md`. PR [#&#8203;10566](https://github.com/tiangolo/fastapi/pull/10566) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - ✏️ Fix typo in `docs/ru/docs/index.md`. PR [#&#8203;10672](https://github.com/tiangolo/fastapi/pull/10672) by [@&#8203;Delitel-WEB](https://github.com/Delitel-WEB). - ✏️ Fix typos in `docs/zh/docs/tutorial/extra-data-types.md`. PR [#&#8203;10727](https://github.com/tiangolo/fastapi/pull/10727) by [@&#8203;HiemalBeryl](https://github.com/HiemalBeryl). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md`. PR [#&#8203;10410](https://github.com/tiangolo/fastapi/pull/10410) by [@&#8203;AlertRED](https://github.com/AlertRED). ##### Internal - 👥 Update FastAPI People. PR [#&#8203;11074](https://github.com/tiangolo/fastapi/pull/11074) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Update sponsors: add Coherence. PR [#&#8203;11066](https://github.com/tiangolo/fastapi/pull/11066) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Upgrade GitHub Action issue-manager. PR [#&#8203;11056](https://github.com/tiangolo/fastapi/pull/11056) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🍱 Update sponsors: TalkPython badge. PR [#&#8203;11052](https://github.com/tiangolo/fastapi/pull/11052) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Update sponsors: TalkPython badge image. PR [#&#8203;11048](https://github.com/tiangolo/fastapi/pull/11048) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Update sponsors, remove Deta. PR [#&#8203;11041](https://github.com/tiangolo/fastapi/pull/11041) by [@&#8203;tiangolo](https://github.com/tiangolo). - 💄 Fix CSS breaking RTL languages (erroneously introduced by a previous RTL PR). PR [#&#8203;11039](https://github.com/tiangolo/fastapi/pull/11039) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Add Italian to `mkdocs.yml`. PR [#&#8203;11016](https://github.com/tiangolo/fastapi/pull/11016) by [@&#8203;alejsdev](https://github.com/alejsdev). - 🔨 Verify `mkdocs.yml` languages in CI, update `docs.py`. PR [#&#8203;11009](https://github.com/tiangolo/fastapi/pull/11009) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Update config in `label-approved.yml` to accept translations with 1 reviewer. PR [#&#8203;11007](https://github.com/tiangolo/fastapi/pull/11007) by [@&#8203;alejsdev](https://github.com/alejsdev). - 👷 Add changes-requested handling in GitHub Action issue manager. PR [#&#8203;10971](https://github.com/tiangolo/fastapi/pull/10971) by [@&#8203;tiangolo](https://github.com/tiangolo). - 🔧 Group dependencies on dependabot updates. PR [#&#8203;10952](https://github.com/tiangolo/fastapi/pull/10952) by [@&#8203;Kludex](https://github.com/Kludex). - ⬆ Bump actions/setup-python from 4 to 5. PR [#&#8203;10764](https://github.com/tiangolo/fastapi/pull/10764) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11. PR [#&#8203;10731](https://github.com/tiangolo/fastapi/pull/10731) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - ⬆ Bump dawidd6/action-download-artifact from 2.28.0 to 3.0.0. PR [#&#8203;10777](https://github.com/tiangolo/fastapi/pull/10777) by [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot). - 🔧 Add support for translations to languages with a longer code name, like `zh-hant`. PR [#&#8203;10950](https://github.com/tiangolo/fastapi/pull/10950) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.109.0`](https://github.com/tiangolo/fastapi/releases/tag/0.109.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.108.0...0.109.0) ##### Features - ✨ Add support for Python 3.12. PR [#&#8203;10666](https://github.com/tiangolo/fastapi/pull/10666) by [@&#8203;Jamim](https://github.com/Jamim). ##### Upgrades - ⬆️ Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and usage of templates with new Starlette arguments. Remove pin of AnyIO `>=3.7.1,<4.0.0`, add support for AnyIO 4.x.x. PR [#&#8203;10846](https://github.com/tiangolo/fastapi/pull/10846) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Docs - ✏️ Fix typo in `docs/en/docs/alternatives.md`. PR [#&#8203;10931](https://github.com/tiangolo/fastapi/pull/10931) by [@&#8203;s111d](https://github.com/s111d). - 📝 Replace `email` with `username` in `docs_src/security/tutorial007` code examples. PR [#&#8203;10649](https://github.com/tiangolo/fastapi/pull/10649) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 📝 Add VS Code tutorial link. PR [#&#8203;10592](https://github.com/tiangolo/fastapi/pull/10592) by [@&#8203;nilslindemann](https://github.com/nilslindemann). - 📝 Add notes about Pydantic v2's new `.model_dump()`. PR [#&#8203;10929](https://github.com/tiangolo/fastapi/pull/10929) by [@&#8203;tiangolo](https://github.com/tiangolo). - 📝 Fix broken link in `docs/en/docs/tutorial/sql-databases.md`. PR [#&#8203;10765](https://github.com/tiangolo/fastapi/pull/10765) by [@&#8203;HurSungYun](https://github.com/HurSungYun). - 📝 Add External Link: FastAPI application monitoring made easy. PR [#&#8203;10917](https://github.com/tiangolo/fastapi/pull/10917) by [@&#8203;tiangolo](https://github.com/tiangolo). - ✨ Generate automatic language names for docs translations. PR [#&#8203;5354](https://github.com/tiangolo/fastapi/pull/5354) by [@&#8203;jakul](https://github.com/jakul). - ✏️ Fix typos in `docs/en/docs/alternatives.md` and `docs/en/docs/tutorial/dependencies/index.md`. PR [#&#8203;10906](https://github.com/tiangolo/fastapi/pull/10906) by [@&#8203;s111d](https://github.com/s111d). - ✏️ Fix typos in `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md`. PR [#&#8203;10834](https://github.com/tiangolo/fastapi/pull/10834) by [@&#8203;Molkree](https://github.com/Molkree). - 📝 Add article: "Building a RESTful API with FastAPI: Secure Signup and Login Functionality Included". PR [#&#8203;9733](https://github.com/tiangolo/fastapi/pull/9733) by [@&#8203;dxphilo](https://github.com/dxphilo). - 📝 Add warning about lifecycle events with `AsyncClient`. PR [#&#8203;4167](https://github.com/tiangolo/fastapi/pull/4167) by [@&#8203;andrew-chang-dewitt](https://github.com/andrew-chang-dewitt). - ✏️ Fix typos in `/docs/reference/exceptions.md` and `/en/docs/reference/status.md`. PR [#&#8203;10809](https://github.com/tiangolo/fastapi/pull/10809) by [@&#8203;clarencepenz](https://github.com/clarencepenz). - ✏️ Fix typo in `openapi-callbacks.md`. PR [#&#8203;10673](https://github.com/tiangolo/fastapi/pull/10673) by [@&#8203;kayjan](https://github.com/kayjan). - ✏️ Fix typo in `fastapi/routing.py` . PR [#&#8203;10520](https://github.com/tiangolo/fastapi/pull/10520) by [@&#8203;sepsh](https://github.com/sepsh). - 📝 Replace HTTP code returned in case of existing user error in docs for testing. PR [#&#8203;4482](https://github.com/tiangolo/fastapi/pull/4482) by [@&#8203;TristanMarion](https://github.com/TristanMarion). - 📝 Add blog for FastAPI & Supabase. PR [#&#8203;6018](https://github.com/tiangolo/fastapi/pull/6018) by [@&#8203;theinfosecguy](https://github.com/theinfosecguy). - 📝 Update example source files for SQL databases with SQLAlchemy. PR [#&#8203;9508](https://github.com/tiangolo/fastapi/pull/9508) by [@&#8203;s-mustafa](https://github.com/s-mustafa). - 📝 Update code examples in docs for body, replace name `create_item` with `update_item` when appropriate. PR [#&#8203;5913](https://github.com/tiangolo/fastapi/pull/5913) by [@&#8203;OttoAndrey](https://github.com/OttoAndrey). - ✏️ Fix typo in dependencies with yield source examples. PR [#&#8203;10847](https://github.com/tiangolo/fastapi/pull/10847) by [@&#8203;tiangolo](https://github.com/tiangolo). ##### Translations - 🌐 Add Bengali translation for `docs/bn/docs/index.md`. PR [#&#8203;9177](https://github.com/tiangolo/fastapi/pull/9177) by [@&#8203;Fahad-Md-Kamal](https://github.com/Fahad-Md-Kamal). - ✏️ Update Python version in `index.md` in several languages. PR [#&#8203;10711](https://github.com/tiangolo/fastapi/pull/10711) by [@&#8203;tamago3keran](https://github.com/tamago3keran). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/request-forms-and-files.md`. PR [#&#8203;10347](https://github.com/tiangolo/fastapi/pull/10347) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Ukrainian translation for `docs/uk/docs/index.md`. PR [#&#8203;10362](https://github.com/tiangolo/fastapi/pull/10362) by [@&#8203;rostik1410](https://github.com/rostik1410). - ✏️ Update Python version in `docs/ko/docs/index.md`. PR [#&#8203;10680](https://github.com/tiangolo/fastapi/pull/10680) by [@&#8203;Eeap](https://github.com/Eeap). - 🌐 Add Persian translation for `docs/fa/docs/features.md`. PR [#&#8203;5887](https://github.com/tiangolo/fastapi/pull/5887) by [@&#8203;amirilf](https://github.com/amirilf). - 🌐 Add Chinese translation for `docs/zh/docs/advanced/additional-responses.md`. PR [#&#8203;10325](https://github.com/tiangolo/fastapi/pull/10325) by [@&#8203;ShuibeiC](https://github.com/ShuibeiC). - 🌐 Fix typos in Russian translations for `docs/ru/docs/tutorial/background-tasks.md`, `docs/ru/docs/tutorial/body-nested-models.md`, `docs/ru/docs/tutorial/debugging.md`, `docs/ru/docs/tutorial/testing.md`. PR [#&#8203;10311](https://github.com/tiangolo/fastapi/pull/10311) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Russian translation for `docs/ru/docs/tutorial/request-files.md`. PR [#&#8203;10332](https://github.com/tiangolo/fastapi/pull/10332) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/server-workers.md`. PR [#&#8203;10292](https://github.com/tiangolo/fastapi/pull/10292) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/cloud.md`. PR [#&#8203;10291](https://github.com/tiangolo/fastapi/pull/10291) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/manually.md`. PR [#&#8203;10279](https://github.com/tiangolo/fastapi/pull/10279) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/https.md`. PR [#&#8203;10277](https://github.com/tiangolo/fastapi/pull/10277) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Add Chinese translation for `docs/zh/docs/deployment/index.md`. PR [#&#8203;10275](https://github.com/tiangolo/fastapi/pull/10275) by [@&#8203;xzmeng](https://github.com/xzmeng). - 🌐 Add German translation for `docs/de/docs/tutorial/first-steps.md`. PR [#&#8203;9530](https://github.com/tiangolo/fastapi/pull/9530) by [@&#8203;fhabers21](https://github.com/fhabers21). - 🌐 Update Turkish translation for `docs/tr/docs/index.md`. PR [#&#8203;10444](https://github.com/tiangolo/fastapi/pull/10444) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Chinese translation for `docs/zh/docs/learn/index.md`. PR [#&#8203;10479](https://github.com/tiangolo/fastapi/pull/10479) by [@&#8203;KAZAMA-DREAM](https://github.com/KAZAMA-DREAM). - 🌐 Add Russian translation for `docs/ru/docs/learn/index.md`. PR [#&#8203;10539](https://github.com/tiangolo/fastapi/pull/10539) by [@&#8203;AlertRED](https://github.com/AlertRED). - 🌐 Update SQLAlchemy instruction in Chinese translation `docs/zh/docs/tutorial/sql-databases.md`. PR [#&#8203;9712](https://github.com/tiangolo/fastapi/pull/9712) by [@&#8203;Royc30ne](https://github.com/Royc30ne). - 🌐 Add Turkish translation for `docs/tr/docs/external-links.md`. PR [#&#8203;10549](https://github.com/tiangolo/fastapi/pull/10549) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Spanish translation for `docs/es/docs/learn/index.md`. PR [#&#8203;10885](https://github.com/tiangolo/fastapi/pull/10885) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Ukrainian translation for `docs/uk/docs/tutorial/body-fields.md`. PR [#&#8203;10670](https://github.com/tiangolo/fastapi/pull/10670) by [@&#8203;ArtemKhymenko](https://github.com/ArtemKhymenko). - 🌐 Add Hungarian translation for `/docs/hu/docs/index.md`. PR [#&#8203;10812](https://github.com/tiangolo/fastapi/pull/10812) by [@&#8203;takacs](https://github.com/takacs). - 🌐 Add Turkish translation for `docs/tr/docs/newsletter.md`. PR [#&#8203;10550](https://github.com/tiangolo/fastapi/pull/10550) by [@&#8203;hasansezertasan](https://github.com/hasansezertasan). - 🌐 Add Spanish translation for `docs/es/docs/help/index.md`. PR [#&#8203;10907](https://github.com/tiangolo/fastapi/pull/10907) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Spanish translation for `docs/es/docs/about/index.md`. PR [#&#8203;10908](https://github.com/tiangolo/fastapi/pull/10908) by [@&#8203;pablocm83](https://github.com/pablocm83). - 🌐 Add Spanish translation for `docs/es/docs/resources/index.md`. PR [#&#8203;10909](https://github.com/tiangolo/fastapi/pull/10909) by [@&#8203;pablocm83](https://github.com/pablocm83). ##### Internal - 👥 Update FastAPI People. PR [#&#8203;10871](https://github.com/tiangolo/fastapi/pull/10871) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Upgrade custom GitHub Action comment-docs-preview-in-pr. PR [#&#8203;10916](https://github.com/tiangolo/fastapi/pull/10916) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆️ Upgrade GitHub Action latest-changes. PR [#&#8203;10915](https://github.com/tiangolo/fastapi/pull/10915) by [@&#8203;tiangolo](https://github.com/tiangolo). - 👷 Upgrade GitHub Action label-approved. PR [#&#8203;10913](https://github.com/tiangolo/fastapi/pull/10913) by [@&#8203;tiangolo](https://github.com/tiangolo). - ⬆️ Upgrade GitHub Action label-approved. PR [#&#8203;10905](https://github.com/tiangolo/fastapi/pull/10905) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.108.0`](https://github.com/tiangolo/fastapi/releases/tag/0.108.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.107.0...0.108.0) ##### Upgrades - ⬆️ Upgrade Starlette to `>=0.29.0,<0.33.0`, update docs and usage of templates with new Starlette arguments. PR [#&#8203;10846](https://github.com/tiangolo/fastapi/pull/10846) by [@&#8203;tiangolo](https://github.com/tiangolo). ### [`v0.107.0`](https://github.com/tiangolo/fastapi/releases/tag/0.107.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.106.0...0.107.0) ##### Upgrades - ⬆️ Upgrade Starlette to 0.28.0. PR [#&#8203;9636](https://github.com/tiangolo/fastapi/pull/9636) by [@&#8203;adriangb](https://github.com/adriangb). ##### Docs - 📝 Add docs: Node.js script alternative to update OpenAPI for generated clients. PR [#&#8203;10845](https://github.com/tiangolo/fastapi/pull/10845) by [@&#8203;alejsdev](https://github.com/alejsdev). - 📝 Restructure Docs section in Contributing page. PR [#&#8203;10844](https://github.com/tiangolo/fastapi/pull/10844) by [@&#8203;alejsdev](https://github.com/alejsdev). ### [`v0.106.0`](https://github.com/tiangolo/fastapi/releases/tag/0.106.0) [Compare Source](https://github.com/tiangolo/fastapi/compare/0.105.0...0.106.0) ##### Breaking Changes Using resources from dependencies with `yield` in background tasks is no longer supported. This change is what supports the new features, read below. 🤓 ##### Dependencies with `yield`, `HTTPException` and Background Tasks Dependencies with `yield` now can raise `HTTPException` and other exceptions after `yield`. 🎉 Read the new docs here: [Dependencies with `yield` and `HTTPException`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-httpexception). ```Python from fastapi import Depends, FastAPI, HTTPException from typing_extensions import Annotated app = FastAPI() data = { "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"}, "portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Onwer error: {e}") @&#8203;app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found") item = data[item_id] if item["owner"] != username: raise OwnerError(username) return item ``` *** Before FastAPI 0.106.0, raising exceptions after `yield` was not possible, the exit code in dependencies with `yield` was executed *after* the response was sent, so [Exception Handlers](https://fastapi.tiangolo.com/tutorial/handling-errors/#install-custom-exception-handlers) would have already run. This was designed this way mainly to allow using the same objects "yielded" by dependencies inside of background tasks, because the exit code would be executed after the background tasks were finished. Nevertheless, as this would mean waiting for the response to travel through the network while unnecessarily holding a resource in a dependency with yield (for example a database connection), this was changed in FastAPI 0.106.0. Additionally, a background task is normally an independent set of logic that should be handled separately, with its own resources (e.g. its own database connection). If you used to rely on this behavior, now you should create the resources for background tasks inside the background task itself, and use internally only data that doesn't depend on the resources of dependencies with `yield`. For example, instead of using the same database session, you would create a new database session inside of the background task, and you would obtain the objects from the database using this new session. And then instead of passing the object from the database as a parameter to the background task function, you would pass the ID of that object and then obtain the object again inside the background task function. The sequence of execution before FastAPI 0.106.0 was like the diagram in the [Release Notes for FastAPI 0.106.0](https://fastapi.tiangolo.com/release-notes/#&#8203;01060). The new execution flow can be found in the docs: [Execution of dependencies with `yield`](https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#execution-of-dependencies-with-yield). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Renovate added 1 commit 2024-05-12 18:08:08 +03:00
Renovate scheduled this pull request to auto merge when all checks succeed 2024-05-12 18:08:08 +03:00
profitroll merged commit 8894cfae9f into dev 2024-05-12 20:52:00 +03:00
profitroll deleted branch renovate/fastapi-0.x 2024-05-12 20:52:00 +03:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: GarbageReminder/API#5
No description provided.