fix(deps): update dependency fastapi to ^0.112.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
fastapi | dependencies | minor |
^0.110.0 -> ^0.112.0
|
Release Notes
fastapi/fastapi (fastapi)
v0.112.0
Breaking Changes
-
♻ ️ Add support forpip install "fastapi[standard]"
with standard dependencies andpython -m fastapi
. MR #11935 by @tiangolo.
Summary
Install with:
pip install "fastapi[standard]"
Other Changes
- This adds support for calling the CLI as:
python -m python
- And it upgrades
fastapi-cli[standard] >=0.0.5
.
Technical Details
Before this, fastapi
would include the standard dependencies, with Uvicorn and the fastapi-cli
, etc.
And fastapi-slim
would not include those standard dependencies.
Now fastapi
doesn't include those standard dependencies unless you install with pip install "fastapi[standard]"
.
Before, you would install pip install fastapi
, now you should include the standard
optional dependencies (unless you want to exclude one of those): pip install "fastapi[standard]"
.
This change is because having the standard optional dependencies installed by default was being inconvenient to several users, and having to install instead fastapi-slim
was not being a feasible solution.
Discussed here: #11522 and here: #11525
Docs
-
✏ ️ Fix typos in docs. MR #11926 by @jianghuyiyuan. -
📝 Tweak management docs. MR #11918 by @tiangolo. -
🚚 Rename GitHub links from tiangolo/fastapi to fastapi/fastapi. MR #11913 by @tiangolo. -
📝 Add docs about FastAPI team and project management. MR #11908 by @tiangolo. -
📝 Re-structure docs main menu. MR #11904 by @tiangolo. -
📝 Update Speakeasy URL. MR #11871 by @ndimares.
Translations
-
🌐 Update Portuguese translation fordocs/pt/docs/alternatives.md
. MR #11931 by @ceb10n. -
🌐 Add Russian translation fordocs/ru/docs/tutorial/dependencies/sub-dependencies.md
. MR #10515 by @AlertRED. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/response-change-status-code.md
. MR #11863 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/reference/background.md
. MR #11849 by @lucasbalieiro. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
. MR #11848 by @Joao-Pedro-P-Holanda. -
🌐 Add Portuguese translation fordocs/pt/docs/reference/apirouter.md
. MR #11843 by @lucasbalieiro.
Internal
-
🔧 Update sponsors: add liblab. MR #11934 by @tiangolo. -
👷 Update GitHub Action label-approved permissions. MR #11933 by @tiangolo. -
👷 Refactor GitHub Action to comment docs deployment URLs and update token. MR #11925 by @tiangolo. -
👷 Update tokens for GitHub Actions. MR #11924 by @tiangolo. -
👷 Update token permissions to comment deployment URL in docs. MR #11917 by @tiangolo. -
👷 Update token permissions for GitHub Actions. MR #11915 by @tiangolo. -
👷 Update GitHub Actions token usage. MR #11914 by @tiangolo. -
👷 Update GitHub Action to notify translations with labelapproved-1
. MR #11907 by @tiangolo. -
🔧 Update sponsors, remove Reflex. MR #11875 by @tiangolo. -
🔧 Update sponsors: remove TalkPython. MR #11861 by @tiangolo. -
🔨 Update docs Termynal scripts to not include line nums for local dev. MR #11854 by @tiangolo.
v0.111.1
Upgrades
-
➖ Removeorjson
andujson
from default dependencies. MR #11842 by @tiangolo.- These dependencies are still installed when you install with
pip install "fastapi[all]"
. But they not included inpip install fastapi
.
- These dependencies are still installed when you install with
-
📝 Restored Swagger-UI links to use the latest version possible. MR #11459 by @UltimateLobster.
Docs
-
✏ ️ Rewording indocs/en/docs/fastapi-cli.md
. MR #11716 by @alejsdev. -
📝 Update Hypercorn links in all the docs. MR #11744 by @kittydoor. -
📝 Update docs with Ariadne reference from Starlette to FastAPI. MR #11797 by @DamianCzajkowski. -
📝 Update fastapi instrumentation external link. MR #11317 by @softwarebloat. -
✏ ️ Fix links to alembic example repo in docs. MR #11628 by @augiwan. -
✏ ️ Updatedocs/en/docs/fastapi-cli.md
. MR #11715 by @alejsdev. -
📝 Update External Links . MR #11500 by @devon2018. -
📝 Add External Link: Tutorial de FastAPI, ¿el mejor framework de Python?. MR #11618 by @EduardoZepeda. -
📝 Fix typo indocs/en/docs/tutorial/body-multiple-params.md
. MR #11698 by @mwb-u. -
📝 Add External Link: Deploy a Serverless FastAPI App with Neon Postgres and AWS App Runner at any scale. MR #11633 by @ananis25. -
📝 Updatesecurity/first-steps.md
. MR #11674 by @alejsdev. -
📝 Updatesecurity/first-steps.md
. MR #11673 by @alejsdev. -
📝 Update note inpath-params-numeric-validations.md
. MR #11672 by @alejsdev. -
📝 Tweak intro docs aboutAnnotated
andQuery()
params. MR #11664 by @tiangolo. -
📝 Update JWT auth documentation to use PyJWT instead of pyhon-jose. MR #11589 by @estebanx64. -
📝 Update docs. MR #11603 by @alejsdev. -
✏ ️ Fix typo: convert every 're-use' to 'reuse'.. MR #11598 by @hasansezertasan. -
✏ ️ Fix typo infastapi/applications.py
. MR #11593 by @petarmaric. -
✏ ️ Fix link infastapi-cli.md
. MR #11524 by @svlandeg.
Translations
-
🌐 Add Spanish translation fordocs/es/docs/how-to/graphql.md
. MR #11697 by @camigomezdev. -
🌐 Add Portuguese translation fordocs/pt/docs/reference/index.md
. MR #11840 by @lucasbalieiro. -
🌐 Fix link in German translation. MR #11836 by @anitahammer. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/sub-dependencies.md
. MR #11792 by @Joao-Pedro-P-Holanda. -
🌐 Add Turkish translation fordocs/tr/docs/tutorial/request-forms.md
. MR #11553 by @hasansezertasan. -
🌐 Add Portuguese translation fordocs/pt/docs/reference/exceptions.md
. MR #11834 by @lucasbalieiro. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/global-dependencies.md
. MR #11826 by @Joao-Pedro-P-Holanda. -
🌐 Add Portuguese translation fordocs/pt/docs/how-to/general.md
. MR #11825 by @lucasbalieiro. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/async-tests.md
. MR #11808 by @ceb10n. -
🌐 Add Ukrainian translation fordocs/uk/docs/tutorial/first-steps.md
. MR #11809 by @vkhoroshchak. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-operators.md
. MR #11804 by @Joao-Pedro-P-Holanda. -
🌐 Add Chinese translation fordocs/zh/docs/fastapi-cli.md
. MR #11786 by @logan2d5. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/openapi-webhooks.md
. MR #11791 by @ceb10n. -
🌐 Update Chinese translation fordocs/tutorial/security/oauth2-jwt.md
. MR #11781 by @logan2d5. -
📝 Fix image missing in French translation fordocs/fr/docs/async.md
. MR #11787 by @pe-brian. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/advanced-dependencies.md
. MR #11775 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
. MR #11768 by @Joao-Pedro-P-Holanda. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/additional-status-codes.md
. MR #11753 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/tutorial/dependencies/index.md
. MR #11757 by @Joao-Pedro-P-Holanda. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/settings.md
. MR #11739 by @Joao-Pedro-P-Holanda. -
🌐 Add French translation fordocs/fr/docs/learn/index.md
. MR #11712 by @benjaminvandammeholberton. -
🌐 Add Portuguese translation fordocs/pt/docs/how-to/index.md
. MR #11731 by @vhsenna. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/additional-responses.md
. MR #11736 by @ceb10n. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/benchmarks.md
. MR #11713 by @ceb10n. -
🌐 Fix Korean translation fordocs/ko/docs/tutorial/response-status-code.md
. MR #11718 by @nayeonkinn. -
🌐 Add Korean translation fordocs/ko/docs/tutorial/extra-data-types.md
. MR #11711 by @nayeonkinn. -
🌐 Fix Korean translation fordocs/ko/docs/tutorial/body-nested-models.md
. MR #11710 by @nayeonkinn. -
🌐 Add Portuguese translation fordocs/pt/docs/advanced/fastapi-cli.md
. MR #11641 by @ayr-ton. -
🌐 Add Traditional Chinese translation fordocs/zh-hant/docs/fastapi-people.md
. MR #11639 by @hsuanchi. -
🌐 Add Turkish translation fordocs/tr/docs/advanced/index.md
. MR #11606 by @hasansezertasan. -
🌐 Add Turkish translation fordocs/tr/docs/deployment/cloud.md
. MR #11610 by @hasansezertasan. -
🌐 Add Turkish translation fordocs/tr/docs/advanced/security/index.md
. MR #11609 by @hasansezertasan. -
🌐 Add Turkish translation fordocs/tr/docs/advanced/testing-websockets.md
. MR #11608 by @hasansezertasan. -
🌐 Add Turkish translation fordocs/tr/docs/how-to/general.md
. MR #11607 by @hasansezertasan. -
🌐 Update Chinese translation fordocs/zh/docs/advanced/templates.md
. MR #11620 by @chaoless. -
🌐 Add Turkish translation fordocs/tr/docs/deployment/index.md
. MR #11605 by @hasansezertasan. -
🌐 Add Turkish translation fordocs/tr/docs/tutorial/static-files.md
. MR #11599 by @hasansezertasan. -
🌐 Polish translation fordocs/pl/docs/fastapi-people.md
. MR #10196 by @isulim. -
🌐 Add Turkish translation fordocs/tr/docs/advanced/wsgi.md
. MR #11575 by @hasansezertasan. -
🌐 Add Turkish translation fordocs/tr/docs/tutorial/cookie-params.md
. MR #11561 by @hasansezertasan. -
🌐 Add Russian translation fordocs/ru/docs/about/index.md
. MR #10961 by @s111d. -
🌐 Update Chinese translation fordocs/zh/docs/tutorial/sql-databases.md
. MR #11539 by @chaoless. -
🌐 Add Chinese translation fordocs/zh/docs/how-to/configure-swagger-ui.md
. MR #11501 by @Lucas-lyh. -
🌐 Update Chinese translation for/docs/advanced/security/http-basic-auth.md
. MR #11512 by @nick-cjyx9.
Internal
-
♻ ️ Simplify internal docs script. MR #11777 by @gitworkflows. -
🔧 Update sponsors: add Fine. MR #11784 by @tiangolo. -
🔧 Tweak sponsors: Kong URL. MR #11765 by @tiangolo. -
🔧 Tweak sponsors: Kong URL. MR #11764 by @tiangolo. -
🔧 Update sponsors, add Stainless. MR #11763 by @tiangolo. -
🔧 Update sponsors, add Zuplo. MR #11729 by @tiangolo. -
🔧 Update Sponsor link: Coherence. MR #11730 by @tiangolo. -
👥 Update FastAPI People. MR #11669 by @tiangolo. -
🔧 Add sponsor Kong. MR #11662 by @tiangolo. -
👷 Update Smokeshow, fix sync download artifact and smokeshow configs. MR #11563 by @tiangolo. -
👷 Update Smokeshow download artifact GitHub Action. MR #11562 by @tiangolo. -
👷 Update GitHub actions to download and upload artifacts to v4, for docs and coverage. MR #11550 by @tamird. -
👷 Tweak CI for test-redistribute, add needed env vars for slim. MR #11549 by @tiangolo. -
👥 Update FastAPI People. MR #11511 by @tiangolo.
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.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.