Update dependency fastapi to v0.111.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
fastapi | minor |
==0.109.2 -> ==0.111.0
|
Release Notes
tiangolo/fastapi (fastapi)
v0.111.0
Features
-
✨ Add FastAPI CLI, the newfastapi
command. MR #11522 by @tiangolo.- New docs: FastAPI CLI.
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 forfastapi-slim
including optional extrasfastapi-slim[standard]
, andfastapi
including by default the samestandard
extras. MR #11503 by @tiangolo.
v0.110.3
Latest Changes
Docs
-
📝 Update references to Python version, FastAPI supports all the current versions, no need to make the version explicit. MR #11496 by @tiangolo. -
✏ ️ Fix typo infastapi/security/api_key.py
. MR #11481 by @ch33zer. -
✏ ️ Fix typo insecurity/http.py
. MR #11455 by @omarmoo5.
Translations
-
🌐 Add Traditional Chinese translation fordocs/zh-hant/benchmarks.md
. MR #11484 by @KNChiu. -
🌐 Update Chinese translation fordocs/zh/docs/fastapi-people.md
. MR #11476 by @billzhong. -
🌐 Add Chinese translation fordocs/zh/docs/how-to/index.md
anddocs/zh/docs/how-to/general.md
. MR #11443 by @billzhong. -
🌐 Add Spanish translation for cookie-paramsdocs/es/docs/tutorial/cookie-params.md
. MR #11410 by @fabianfalon.
Internal
-
⬆ Bump mkdocstrings[python] from 0.23.0 to 0.24.3. MR #11469 by @dependabot[bot]. -
🔨 Update internal scripts and remove unused ones. MR #11499 by @tiangolo. -
🔧 Migrate from Hatch to PDM for the internal build. MR #11498 by @tiangolo. -
⬆ ️ Upgrade MkDocs Material and re-enable cards. MR #11466 by @tiangolo. -
⬆ Bump pillow from 10.2.0 to 10.3.0. MR #11403 by @dependabot[bot]. -
🔧 Ungroup dependabot updates. MR #11465 by @tiangolo.
v0.110.2
Fixes
-
🐛 Fix support for query parameters with list types, handle JSON encoding PydanticUndefinedType
. MR #9929 by @arjwilliams.
Refactors
-
♻ ️ Simplify Pydantic configs in OpenAPI models infastapi/openapi/models.py
. MR #10886 by @JoeTanto2. -
✨ Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response. MR #11461 by @tiangolo.
Docs
-
📝 Fix types in examples underdocs_src/extra_data_types
. MR #10535 by @nilslindemann. -
📝 Update references to UJSON. MR #11464 by @tiangolo. -
📝 Tweak docs and translations links, typos, format. MR #11389 by @nilslindemann. -
📝 Fix typo indocs/es/docs/async.md
. MR #11400 by @fabianfalon. -
📝 Update OpenAPI client generation docs to use@hey-api/openapi-ts
. MR #11339 by @jordanshatford.
Translations
-
🌐 Update Chinese translation fordocs/zh/docs/index.html
. MR #11430 by @waketzheng. -
🌐 Add Russian translation fordocs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. MR #11411 by @anton2yakovlev. -
🌐 Add Portuguese translations forlearn/index.md
resources/index.md
help/index.md
about/index.md
. MR #10807 by @nazarepiedady. -
🌐 Update Russian translations for deployments docs. MR #11271 by @Lufa1u. -
🌐 Add Bengali translations fordocs/bn/docs/python-types.md
. MR #11376 by @imtiaz101325. -
🌐 Add Korean translation fordocs/ko/docs/tutorial/security/simple-oauth2.md
. MR #5744 by @KdHyeon0661. -
🌐 Add Korean translation fordocs/ko/docs/help-fastapi.md
. MR #4139 by @kty4119. -
🌐 Add Korean translation fordocs/ko/docs/advanced/events.md
. MR #5087 by @pers0n4. -
🌐 Add Japanese translation fordocs/ja/docs/tutorial/path-operation-configuration.md
. MR #1954 by @SwftAlpc. -
🌐 Add Japanese translation fordocs/ja/docs/tutorial/request-forms-and-files.md
. MR #1946 by @SwftAlpc. -
🌐 Add Russian translation fordocs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
. MR #10532 by @AlertRED. -
🌐 Add Korean translation fordocs/ko/docs/tutorial/debugging.md
. MR #5695 by @JungWooGeon.
Internal
-
⬆ ️ Upgrade version of typer for docs. MR #11393 by @tiangolo.
v0.110.1
Fixes
Refactors
-
♻ ️ Update mypy. MR #11049 by @k0t3n. -
♻ ️ Simplify string format with f-strings infastapi/applications.py
. MR #11335 by @igeni.
Upgrades
-
⬆ ️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. MR #11266 by @nothielf.
Docs
-
📝 Tweak docs and translations links and remove old docs translations. MR #11381 by @tiangolo. -
✏ ️ Fix typo infastapi/security/oauth2.py
. MR #11368 by @shandongbinzhou. -
📝 Update links to Pydantic docs to point to new website. MR #11328 by @alejsdev. -
✏ ️ Fix typo indocs/en/docs/tutorial/extra-models.md
. MR #11329 by @alejsdev. -
📝 Updateproject-generation.md
. MR #11326 by @alejsdev. -
📝 Update External Links. MR #11327 by @alejsdev. -
🔥 Remove link to Pydantic's benchmark, on other i18n pages.. MR #11224 by @hirotoKirimaru. -
✏ ️ Fix typos in docstrings. MR #11295 by @davidhuser. -
🛠 ️ Improve Node.js script in docs to generate TypeScript clients. MR #11293 by @alejsdev. -
📝 Update examples for tests to replace "inexistent" for "nonexistent". MR #11220 by @Homesteady. -
📝 Updatepython-multipart
GitHub link in all docs fromhttps://andrew-d.github.io/python-multipart/
tohttps://github.com/Kludex/python-multipart
. MR #11239 by @joshjhans.
Translations
-
🌐 Add German translation fordocs/de/docs/tutorial/response-status-code.md
. MR #10357 by @nilslindemann. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/query-params.md
. MR #3480 by @jaystone776. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/body.md
. MR #3481 by @jaystone776. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/path-params.md
. MR #3479 by @jaystone776. -
🌐 Update Chinese translation fordocs/tutorial/body-fields.md
. MR #3496 by @jaystone776. -
🌐 Update Chinese translation fordocs/tutorial/extra-models.md
. MR #3497 by @jaystone776. -
🌐 Add Japanese translation fordocs/ja/docs/tutorial/metadata.md
. MR #2667 by @tokusumi. -
🌐 Add German translation fordocs/de/docs/contributing.md
. MR #10487 by @nilslindemann. -
🌐 Update Japanese translation ofdocs/ja/docs/tutorial/query-params.md
. MR #10808 by @urushio. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/security/get-current-user.md
. MR #3842 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/openapi-callbacks.md
. MR #3825 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/extending-openapi.md
. MR #3823 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/testing-dependencies.md
. MR #3819 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/custom-request-and-route.md
. MR #3816 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/external-links.md
. MR #3833 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/templates.md
. MR #3812 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/sub-applications.md
. MR #3811 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/async-sql-databases.md
. MR #3805 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/middleware.md
. MR #3804 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/dataclasses.md
. MR #3803 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/using-request-directly.md
. MR #3802 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/security/http-basic-auth.md
. MR #3801 by @jaystone776. -
🌐 Add Chinese translation fordocs/zh/docs/advanced/security/oauth2-scopes.md
. MR #3800 by @jaystone776. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/cookie-params.md
. MR #3486 by @jaystone776. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/header-params.md
. MR #3487 by @jaystone776. -
🌐 Update Chinese translation fordocs/tutorial/response-status-code.md
. MR #3498 by @jaystone776. -
🌐 Add German translation fordocs/de/docs/tutorial/security/first-steps.md
. MR #10432 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/events.md
. MR #10693 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/cloud.md
. MR #10746 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/behind-a-proxy.md
. MR #10675 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/help-fastapi.md
. MR #10455 by @nilslindemann. -
🌐 Update German translation fordocs/de/docs/python-types.md
. MR #10287 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/path-params.md
. MR #10290 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/handling-errors.md
. MR #10379 by @nilslindemann. -
🌐 Update German translation fordocs/de/docs/index.md
. MR #10283 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/security/http-basic-auth.md
. MR #10651 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/bigger-applications.md
. MR #10554 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/path-operation-advanced-configuration.md
. MR #10612 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/static-files.md
. MR #10584 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/security/oauth2-jwt.md
. MR #10522 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/response-model.md
. MR #10345 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/extra-models.md
. MR #10351 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/body-updates.md
. MR #10396 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/alternatives.md
. MR #10855 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/templates.md
. MR #10678 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/security/oauth2-scopes.md
. MR #10643 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/async-tests.md
. MR #10708 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/metadata.md
. MR #10581 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/testing.md
. MR #10586 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/schema-extra-example.md
. MR #10597 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/index.md
. MR #10611 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/response-directly.md
. MR #10618 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/additional-responses.md
. MR #10626 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/response-cookies.md
. MR #10627 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/response-headers.md
. MR #10628 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/response-change-status-code.md
. MR #10632 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/advanced-dependencies.md
. MR #10633 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/security/index.md
. MR #10635 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/using-request-directly.md
. MR #10653 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/dataclasses.md
. MR #10667 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/middleware.md
. MR #10668 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/sub-applications.md
. MR #10671 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/websockets.md
. MR #10687 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/testing-websockets.md
. MR #10703 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/testing-events.md
. MR #10704 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/testing-dependencies.md
. MR #10706 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/openapi-callbacks.md
. MR #10710 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/settings.md
. MR #10709 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/advanced/wsgi.md
. MR #10713 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/index.md
. MR #10733 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/https.md
. MR #10737 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/manually.md
. MR #10738 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/concepts.md
. MR #10744 by @nilslindemann. -
🌐 Update German translation fordocs/de/docs/features.md
. MR #10284 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/server-workers.md
. MR #10747 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/docker.md
. MR #10759 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/index.md
. MR #10769 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/general.md
. MR #10770 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/graphql.md
. MR #10788 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/custom-request-and-route.md
. MR #10789 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/conditional-openapi.md
. MR #10790 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/separate-openapi-schemas.md
. MR #10796 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/configure-swagger-ui.md
. MR #10804 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/how-to/custom-docs-ui-assets.md
. MR #10803 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/parameters.md
. MR #10814 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/status.md
. MR #10815 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/uploadfile.md
. MR #10816 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/exceptions.md
. MR #10817 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/dependencies.md
. MR #10818 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/apirouter.md
. MR #10819 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/websockets.md
. MR #10822 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/httpconnection.md
. MR #10823 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/response.md
. MR #10824 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/middleware.md
. MR #10837 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/openapi/*.md
. MR #10838 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/security/index.md
. MR #10839 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/staticfiles.md
. MR #10841 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/testclient.md
. MR #10843 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/project-generation.md
. MR #10851 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/history-design-future.md
. MR #10865 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/dependencies/dependencies-with-yield.md
. MR #10422 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/dependencies/global-dependencies.md
. MR #10420 by @nilslindemann. -
🌐 Update German translation fordocs/de/docs/fastapi-people.md
. MR #10285 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/dependencies/sub-dependencies.md
. MR #10409 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/security/index.md
. MR #10429 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. MR #10411 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/extra-data-types.md
. MR #10534 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/security/simple-oauth2.md
. MR #10504 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/security/get-current-user.md
. MR #10439 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/request-forms-and-files.md
. MR #10368 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/encoder.md
. MR #10385 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/request-forms.md
. MR #10361 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/deployment/versions.md
. MR #10491 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/async.md
. MR #10449 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/cookie-params.md
. MR #10323 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/dependencies/classes-as-dependencies.md
. MR #10407 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/dependencies/index.md
. MR #10399 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/header-params.md
. MR #10326 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/path-params-numeric-validations.md
. MR #10307 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/query-params-str-validations.md
. MR #10304 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/tutorial/request-files.md
. MR #10364 by @nilslindemann. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/templates.md
. MR #11338 by @SamuelBFavarin. -
🌐 Add Bengali translations fordocs/bn/docs/learn/index.md
. MR #11337 by @imtiaz101325. -
🌐 Fix Korean translation fordocs/ko/docs/index.md
. MR #11296 by @choi-haram. -
🌐 Add Korean translation fordocs/ko/docs/about/index.md
. MR #11299 by @choi-haram. -
🌐 Add Korean translation fordocs/ko/docs/advanced/index.md
. MR #9613 by @ElliottLarsen. -
🌐 Add German translation fordocs/de/docs/how-to/extending-openapi.md
. MR #10794 by @nilslindemann. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/metadata.md
. MR #11286 by @jackleeio. -
🌐 Update Chinese translation fordocs/zh/docs/contributing.md
. MR #10887 by @Aruelius. -
🌐 Add Azerbaijani translation fordocs/az/docs/fastapi-people.md
. MR #11195 by @vusallyv. -
🌐 Add Russian translation fordocs/ru/docs/tutorial/dependencies/index.md
. MR #11223 by @kohiry. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/query-params.md
. MR #11242 by @jackleeio. -
🌐 Add Azerbaijani translation fordocs/az/learn/index.md
. MR #11192 by @vusallyv.
Internal
-
👥 Update FastAPI People. MR #11387 by @tiangolo. -
⬆ Bump actions/cache from 3 to 4. MR #10988 by @dependabot[bot]. -
⬆ Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14. MR #11318 by @dependabot[bot]. -
⬆ Bump pillow from 10.1.0 to 10.2.0. MR #11011 by @dependabot[bot]. -
⬆ Bump black from 23.3.0 to 24.3.0. MR #11325 by @dependabot[bot]. -
👷 Add cron to run test once a week on monday. MR #11377 by @estebanx64. -
➕ Replace mkdocs-markdownextradata-plugin with mkdocs-macros-plugin. MR #11383 by @tiangolo. -
👷 Disable MkDocs insiders social plugin while an issue in MkDocs Material is handled. MR #11373 by @tiangolo. -
👷 Fix logic for when to install and use MkDocs Insiders. MR #11372 by @tiangolo. -
👷 Do not use Python packages cache for publish. MR #11366 by @tiangolo. -
👷 Add CI to test sdists for redistribution (e.g. Linux distros). MR #11365 by @tiangolo. -
👷 Update build-docs GitHub Action path filter. MR #11354 by @tiangolo. -
🔧 Update Ruff config, add extra ignore rule from SQLModel. MR #11353 by @tiangolo. -
⬆ ️ Upgrade configuration for Ruff v0.2.0. MR #11075 by @charliermarsh. -
🔧 Update sponsors, add MongoDB. MR #11346 by @tiangolo. -
⬆ Bump dorny/paths-filter from 2 to 3. MR #11028 by @dependabot[bot]. -
⬆ Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.4. MR #11310 by @dependabot[bot]. -
♻ ️ Refactor computing FastAPI People, include 3 months, 6 months, 1 year, based on comment date, not discussion date. MR #11304 by @tiangolo. -
👥 Update FastAPI People. MR #11228 by @tiangolo. -
🔥 Remove Jina AI QA Bot from the docs. MR #11268 by @nan-wang. -
🔧 Update sponsors, remove Jina, remove Powens, move TestDriven.io. MR #11213 by @tiangolo.
v0.110.0
Breaking Changes
-
🐛 Fix unhandled growing memory for internal server errors, refactor dependencies withyield
andexcept
to require raising again as in regular Python. MR #11191 by @tiangolo.- This is a breaking change (and only slightly) if you used dependencies with
yield
, usedexcept
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
andexcept
.
- This is a breaking change (and only slightly) if you used dependencies with
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
-
✏ ️ Fix minor typos indocs/ko/docs/
. MR #11126 by @KaniKim. -
✏ ️ Fix minor typo infastapi/applications.py
. MR #11099 by @JacobHayes.
Translations
-
🌐 Add German translation fordocs/de/docs/reference/background.md
. MR #10820 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/templating.md
. MR #10842 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/external-links.md
. MR #10852 by @nilslindemann. -
🌐 Update Turkish translation fordocs/tr/docs/tutorial/query-params.md
. MR #11162 by @hasansezertasan. -
🌐 Add German translation fordocs/de/docs/reference/encoders.md
. MR #10840 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/responses.md
. MR #10825 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/reference/request.md
. MR #10821 by @nilslindemann. -
🌐 Add Turkish translation fordocs/tr/docs/tutorial/query-params.md
. MR #11078 by @emrhnsyts. -
🌐 Add German translation fordocs/de/docs/reference/fastapi.md
. MR #10813 by @nilslindemann. -
🌐 Add German translation fordocs/de/docs/newsletter.md
. MR #10853 by @nilslindemann. -
🌐 Add Traditional Chinese translation fordocs/zh-hant/docs/learn/index.md
. MR #11142 by @hsuanchi. -
🌐 Add Korean translation for/docs/ko/docs/tutorial/dependencies/global-dependencies.md
. MR #11123 by @riroan. -
🌐 Add Korean translation for/docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. MR #11124 by @riroan. -
🌐 Add Korean translation for/docs/ko/docs/tutorial/schema-extra-example.md
. MR #11121 by @KaniKim. -
🌐 Add Korean translation for/docs/ko/docs/tutorial/body-fields.md
. MR #11112 by @KaniKim. -
🌐 Add Korean translation for/docs/ko/docs/tutorial/cookie-params.md
. MR #11118 by @riroan. -
🌐 Update Korean translation for/docs/ko/docs/dependencies/index.md
. MR #11114 by @KaniKim. -
🌐 Update Korean translation for/docs/ko/docs/deployment/docker.md
. MR #11113 by @KaniKim. -
🌐 Update Turkish translation fordocs/tr/docs/tutorial/first-steps.md
. MR #11094 by @hasansezertasan. -
🌐 Add Spanish translation fordocs/es/docs/advanced/security/index.md
. MR #2278 by @Xaraxx. -
🌐 Add Spanish translation fordocs/es/docs/advanced/response-headers.md
. MR #2276 by @Xaraxx. -
🌐 Add Spanish translation fordocs/es/docs/deployment/index.md
and~/deployment/versions.md
. MR #9669 by @pabloperezmoya. -
🌐 Add Spanish translation fordocs/es/docs/benchmarks.md
. MR #10928 by @pablocm83. -
🌐 Add Spanish translation fordocs/es/docs/advanced/response-change-status-code.md
. MR #11100 by @alejsdev.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.