Update dependency fastapi to v0.112.2 #1227
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.109.2
->^0.112.0
==0.109.2
->==0.112.2
Release Notes
fastapi/fastapi (fastapi)
v0.112.2
Compare Source
Fixes
allow_inf_nan
option for Param and Body classes. PR #11867 by @giunio-prc.app.include_router
merges nested lifespans. PR #9630 by @Lancetnik.Refactors
FastAPI.add_api_route()
. PR #10240 by @ordinary-jamie.Docs
docs/en/docs/virtual-environments.md
. PR #12064 by @aymenkrifa.Security
. PR #11168 by @0shah0.docs/en/docs/tutorial/body-multiple-params.md
. PR #11978 by @svlandeg.email-validator
dependency with dash. PR #11515 by @jirikuncar.docs/es/docs/project-generation.md
. PR #11947 by @alejsdev.compresslevel
parameter on docs forGZipMiddleware
. PR #11350 by @junah201.docs/en/docs/tutorial/body.md
with Python 3.10 union type example. PR #11415 by @rangzen.Translations
docs/pt/docs/tutorial/request_file.md
. PR #12018 by @Joao-Pedro-P-Holanda.docs/ja/docs/learn/index.md
. PR #11592 by @ukwhatn.docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #12028 by @xuvjso.docs/ur/docs/benchmarks.md
. PR #10046 by @AhsanSheraz.Internal
.gitignore
. PR #11940 by @gitworkflows.v0.112.1
Compare Source
Upgrades
>=0.37.2,<0.39.0
. PR #11876 by @musicinmybrain.Docs
Translations
docs/pt/docs/tutorial/bigger-applications.md
. PR #11971 by @marcelomarkus.docs/pt/docs/advanced/testing-websockets.md
. PR #11994 by @ceb10n.docs/pt/docs/advanced/testing-dependencies.md
. PR #11995 by @ceb10n.docs/pt/docs/advanced/using-request-directly.md
. PR #11956 by @ceb10n.docs/fr/docs/tutorial/body-multiple-params.md
. PR #11796 by @pe-brian.docs/zh/docs/tutorial/query-params.md
. PR #11557 by @caomingpei.docs/zh/docs/advanced/testing-dependencies.md
. PR #11944 by @bestony.docs/pt/docs/advanced/sub-applications.md
anddocs/pt/docs/advanced/behind-a-proxy.md
. PR #11856 by @marcelomarkus.docs/pt/docs/tutorial/cors.md
anddocs/pt/docs/tutorial/middleware.md
. PR #11916 by @wesinalves.docs/fr/docs/tutorial/path-params-numeric-validations.md
. PR #11788 by @pe-brian.Internal
pyproject.toml
, shows in PyPI. PR #11152 by @Pierre-VF.deploy_docs_status.py
to account for deploy URLs with or without trailing slash. PR #11965 by @tiangolo.v0.112.0
Compare Source
Breaking Changes
pip install "fastapi[standard]"
with standard dependencies andpython -m fastapi
. PR #11935 by @tiangolo.Summary
Install with:
pip install "fastapi[standard]"
Other Changes
fastapi-cli[standard] >=0.0.5
.Technical Details
Before this,
fastapi
would include the standard dependencies, with Uvicorn and thefastapi-cli
, etc.And
fastapi-slim
would not include those standard dependencies.Now
fastapi
doesn't include those standard dependencies unless you install withpip install "fastapi[standard]"
.Before, you would install
pip install fastapi
, now you should include thestandard
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
Translations
docs/pt/docs/alternatives.md
. PR #11931 by @ceb10n.docs/ru/docs/tutorial/dependencies/sub-dependencies.md
. PR #10515 by @AlertRED.docs/pt/docs/advanced/response-change-status-code.md
. PR #11863 by @ceb10n.docs/pt/docs/reference/background.md
. PR #11849 by @lucasbalieiro.docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #11848 by @Joao-Pedro-P-Holanda.docs/pt/docs/reference/apirouter.md
. PR #11843 by @lucasbalieiro.Internal
approved-1
. PR #11907 by @tiangolo.v0.111.1
Compare Source
Upgrades
orjson
andujson
from default dependencies. PR #11842 by @tiangolo.pip install "fastapi[all]"
. But they not included inpip install fastapi
.Docs
docs/en/docs/fastapi-cli.md
. PR #11716 by @alejsdev.docs/en/docs/fastapi-cli.md
. PR #11715 by @alejsdev.docs/en/docs/tutorial/body-multiple-params.md
. PR #11698 by @mwb-u.security/first-steps.md
. PR #11674 by @alejsdev.security/first-steps.md
. PR #11673 by @alejsdev.path-params-numeric-validations.md
. PR #11672 by @alejsdev.Annotated
andQuery()
params. PR #11664 by @tiangolo.fastapi/applications.py
. PR #11593 by @petarmaric.fastapi-cli.md
. PR #11524 by @svlandeg.Translations
docs/es/docs/how-to/graphql.md
. PR #11697 by @camigomezdev.docs/pt/docs/reference/index.md
. PR #11840 by @lucasbalieiro.docs/pt/docs/tutorial/dependencies/sub-dependencies.md
. PR #11792 by @Joao-Pedro-P-Holanda.docs/tr/docs/tutorial/request-forms.md
. PR #11553 by @hasansezertasan.docs/pt/docs/reference/exceptions.md
. PR #11834 by @lucasbalieiro.docs/pt/docs/tutorial/dependencies/global-dependencies.md
. PR #11826 by @Joao-Pedro-P-Holanda.docs/pt/docs/how-to/general.md
. PR #11825 by @lucasbalieiro.docs/pt/docs/advanced/async-tests.md
. PR #11808 by @ceb10n.docs/uk/docs/tutorial/first-steps.md
. PR #11809 by @vkhoroshchak.docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-operators.md
. PR #11804 by @Joao-Pedro-P-Holanda.docs/zh/docs/fastapi-cli.md
. PR #11786 by @logan2d5.docs/pt/docs/advanced/openapi-webhooks.md
. PR #11791 by @ceb10n.docs/tutorial/security/oauth2-jwt.md
. PR #11781 by @logan2d5.docs/fr/docs/async.md
. PR #11787 by @pe-brian.docs/pt/docs/advanced/advanced-dependencies.md
. PR #11775 by @ceb10n.docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
. PR #11768 by @Joao-Pedro-P-Holanda.docs/pt/docs/advanced/additional-status-codes.md
. PR #11753 by @ceb10n.docs/pt/docs/tutorial/dependencies/index.md
. PR #11757 by @Joao-Pedro-P-Holanda.docs/pt/docs/advanced/settings.md
. PR #11739 by @Joao-Pedro-P-Holanda.docs/fr/docs/learn/index.md
. PR #11712 by @benjaminvandammeholberton.docs/pt/docs/how-to/index.md
. PR #11731 by @vhsenna.docs/pt/docs/advanced/additional-responses.md
. PR #11736 by @ceb10n.docs/pt/docs/advanced/benchmarks.md
. PR #11713 by @ceb10n.docs/ko/docs/tutorial/response-status-code.md
. PR #11718 by @nayeonkinn.docs/ko/docs/tutorial/extra-data-types.md
. PR #11711 by @nayeonkinn.docs/ko/docs/tutorial/body-nested-models.md
. PR #11710 by @nayeonkinn.docs/pt/docs/advanced/fastapi-cli.md
. PR #11641 by @ayr-ton.docs/zh-hant/docs/fastapi-people.md
. PR #11639 by @hsuanchi.docs/tr/docs/advanced/index.md
. PR #11606 by @hasansezertasan.docs/tr/docs/deployment/cloud.md
. PR #11610 by @hasansezertasan.docs/tr/docs/advanced/security/index.md
. PR #11609 by @hasansezertasan.docs/tr/docs/advanced/testing-websockets.md
. PR #11608 by @hasansezertasan.docs/tr/docs/how-to/general.md
. PR #11607 by @hasansezertasan.docs/zh/docs/advanced/templates.md
. PR #11620 by @chaoless.docs/tr/docs/deployment/index.md
. PR #11605 by @hasansezertasan.docs/tr/docs/tutorial/static-files.md
. PR #11599 by @hasansezertasan.docs/pl/docs/fastapi-people.md
. PR #10196 by @isulim.docs/tr/docs/advanced/wsgi.md
. PR #11575 by @hasansezertasan.docs/tr/docs/tutorial/cookie-params.md
. PR #11561 by @hasansezertasan.docs/ru/docs/about/index.md
. PR #10961 by @s111d.docs/zh/docs/tutorial/sql-databases.md
. PR #11539 by @chaoless.docs/zh/docs/how-to/configure-swagger-ui.md
. PR #11501 by @Lucas-lyh./docs/advanced/security/http-basic-auth.md
. PR #11512 by @nick-cjyx9.Internal
v0.111.0
Compare Source
Features
fastapi
command. PR #11522 by @tiangolo.Try it out with:
Refactors
fastapi-slim
including optional extrasfastapi-slim[standard]
, andfastapi
including by default the samestandard
extras. PR #11503 by @tiangolo.v0.110.3
Compare Source
Latest Changes
Docs
fastapi/security/api_key.py
. PR #11481 by @ch33zer.security/http.py
. PR #11455 by @omarmoo5.Translations
docs/zh-hant/benchmarks.md
. PR #11484 by @KNChiu.docs/zh/docs/fastapi-people.md
. PR #11476 by @billzhong.docs/zh/docs/how-to/index.md
anddocs/zh/docs/how-to/general.md
. PR #11443 by @billzhong.docs/es/docs/tutorial/cookie-params.md
. PR #11410 by @fabianfalon.Internal
v0.110.2
Compare Source
Fixes
UndefinedType
. PR #9929 by @arjwilliams.Refactors
fastapi/openapi/models.py
. PR #10886 by @JoeTanto2.Docs
docs_src/extra_data_types
. PR #10535 by @nilslindemann.docs/es/docs/async.md
. PR #11400 by @fabianfalon.@hey-api/openapi-ts
. PR #11339 by @jordanshatford.Translations
docs/zh/docs/index.html
. PR #11430 by @waketzheng.docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #11411 by @anton2yakovlev.learn/index.md
resources/index.md
help/index.md
about/index.md
. PR #10807 by @nazarepiedady.docs/bn/docs/python-types.md
. PR #11376 by @imtiaz101325.docs/ko/docs/tutorial/security/simple-oauth2.md
. PR #5744 by @KdHyeon0661.docs/ko/docs/help-fastapi.md
. PR #4139 by @kty4119.docs/ko/docs/advanced/events.md
. PR #5087 by @pers0n4.docs/ja/docs/tutorial/path-operation-configuration.md
. PR #1954 by @SwftAlpc.docs/ja/docs/tutorial/request-forms-and-files.md
. PR #1946 by @SwftAlpc.docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #10532 by @AlertRED.docs/ko/docs/tutorial/debugging.md
. PR #5695 by @JungWooGeon.Internal
v0.110.1
Compare Source
Fixes
Depends()
with generics. PR #9479 by @nzig.Refactors
fastapi/applications.py
. PR #11335 by @igeni.Upgrades
Docs
fastapi/security/oauth2.py
. PR #11368 by @shandongbinzhou.docs/en/docs/tutorial/extra-models.md
. PR #11329 by @alejsdev.project-generation.md
. PR #11326 by @alejsdev.python-multipart
GitHub link in all docs fromhttps://andrew-d.github.io/python-multipart/
tohttps://github.com/Kludex/python-multipart
. PR #11239 by @joshjhans.Translations
docs/de/docs/tutorial/response-status-code.md
. PR #10357 by @nilslindemann.docs/zh/docs/tutorial/query-params.md
. PR #3480 by @jaystone776.docs/zh/docs/tutorial/body.md
. PR #3481 by @jaystone776.docs/zh/docs/tutorial/path-params.md
. PR #3479 by @jaystone776.docs/tutorial/body-fields.md
. PR #3496 by @jaystone776.docs/tutorial/extra-models.md
. PR #3497 by @jaystone776.docs/ja/docs/tutorial/metadata.md
. PR #2667 by @tokusumi.docs/de/docs/contributing.md
. PR #10487 by @nilslindemann.docs/ja/docs/tutorial/query-params.md
. PR #10808 by @urushio.docs/zh/docs/tutorial/security/get-current-user.md
. PR #3842 by @jaystone776.docs/zh/docs/advanced/openapi-callbacks.md
. PR #3825 by @jaystone776.docs/zh/docs/advanced/extending-openapi.md
. PR #3823 by @jaystone776.docs/zh/docs/advanced/testing-dependencies.md
. PR #3819 by @jaystone776.docs/zh/docs/advanced/custom-request-and-route.md
. PR #3816 by @jaystone776.docs/zh/docs/external-links.md
. PR #3833 by @jaystone776.docs/zh/docs/advanced/templates.md
. PR #3812 by @jaystone776.docs/zh/docs/advanced/sub-applications.md
. PR #3811 by @jaystone776.docs/zh/docs/advanced/async-sql-databases.md
. PR #3805 by @jaystone776.docs/zh/docs/advanced/middleware.md
. PR #3804 by @jaystone776.docs/zh/docs/advanced/dataclasses.md
. PR #3803 by @jaystone776.docs/zh/docs/advanced/using-request-directly.md
. PR #3802 by @jaystone776.docs/zh/docs/advanced/security/http-basic-auth.md
. PR #3801 by @jaystone776.docs/zh/docs/advanced/security/oauth2-scopes.md
. PR #3800 by @jaystone776.docs/zh/docs/tutorial/cookie-params.md
. PR #3486 by @jaystone776.docs/zh/docs/tutorial/header-params.md
. PR #3487 by @jaystone776.docs/tutorial/response-status-code.md
. PR #3498 by @jaystone776.docs/de/docs/tutorial/security/first-steps.md
. PR #10432 by @nilslindemann.docs/de/docs/advanced/events.md
. PR #10693 by @nilslindemann.docs/de/docs/deployment/cloud.md
. PR #10746 by @nilslindemann.docs/de/docs/advanced/behind-a-proxy.md
. PR #10675 by @nilslindemann.docs/de/docs/help-fastapi.md
. PR #10455 by @nilslindemann.docs/de/docs/python-types.md
. PR #10287 by @nilslindemann.docs/de/docs/tutorial/path-params.md
. PR #10290 by @nilslindemann.docs/de/docs/tutorial/handling-errors.md
. PR #10379 by @nilslindemann.docs/de/docs/index.md
. PR #10283 by @nilslindemann.docs/de/docs/advanced/security/http-basic-auth.md
. PR #10651 by @nilslindemann.docs/de/docs/tutorial/bigger-applications.md
. PR #10554 by @nilslindemann.docs/de/docs/advanced/path-operation-advanced-configuration.md
. PR #10612 by @nilslindemann.docs/de/docs/tutorial/static-files.md
. PR #10584 by @nilslindemann.docs/de/docs/tutorial/security/oauth2-jwt.md
. PR #10522 by @nilslindemann.docs/de/docs/tutorial/response-model.md
. PR #10345 by @nilslindemann.docs/de/docs/tutorial/extra-models.md
. PR #10351 by @nilslindemann.docs/de/docs/tutorial/body-updates.md
. PR #10396 by @nilslindemann.docs/de/docs/alternatives.md
. PR #10855 by @nilslindemann.docs/de/docs/advanced/templates.md
. PR #10678 by @nilslindemann.docs/de/docs/advanced/security/oauth2-scopes.md
. PR #10643 by @nilslindemann.docs/de/docs/advanced/async-tests.md
. PR [#10708](https://togConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.