Update dependency fastapi to v0.112.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
fastapi | minor |
==0.111.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.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.