Update dependency fastapi to v0.115.5 #10
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.112.2
->==0.115.5
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
fastapi/fastapi (fastapi)
v0.115.5
Compare Source
Refactors
Docs
docs/en/docs/tutorial/body.md
. PR #12757 by @gsheni.docs/en/docs/advanced/testing-dependencies.md
. PR #12647 by @AyushSinghal1794.docs/en/docs/tutorial/metadata.md
. PR #12773 by @Nimitha-jagadeesha.docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
. PR #12045 by @xuvjso.docs/en/docs/tutorial/dependencies/global-dependencies.md
. PR #12653 by @vishnuvskvkl.docs/en/docs/tutorial/body-updates.md
. PR #12712 by @davioc.docs/en/docs/tutorial/header-param-models.md
. PR #12814 by @zhaohan-dong.contributing.md
docs, include note to not translate this page. PR #12841 by @tiangolo.docs/en/docs/tutorial/request-forms.md
. PR #12648 by @vishnuvskvkl.docs/en/docs/tutorial/request-form-models.md
. PR #12649 by @vishnuvskvkl.docs/en/docs/tutorial/security/oauth2-jwt.md
. PR #12650 by @OCE1960.docs/vi/docs/tutorial/first-steps.md
. PR #12754 by @MxPy.docs/pt/docs/advanced/wsgi.md
. PR #12769 by @Nimitha-jagadeesha.docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
. PR #12815 by @handabaldeep.docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
. PR #12813 by @handabaldeep.docs/en/docs/tutorial/middleware.md
. PR #12819 by @alejsdev.docs/en/docs/tutorial/security/get-current-user.md
. PR #12645 by @OCE1960.docs/en/docs/tutorial/security/first-steps.md
. PR #12643 by @OCE1960.docs/de/docs/advanced/additional-responses.md
. PR #12821 by @zhaohan-dong.docs/en/docs/advanced/generate-clients.md
. PR #12642 by @AyushSinghal1794.docs/zh/docs/advanced/additional-responses.md
. PR #12828 by @zhaohan-dong.docs/en/docs/tutorial/path-params-numeric-validations.md
. PR #12825 by @zhaohan-dong.docs/en/docs/advanced/testing-websockets.md
. PR #12761 by @hamidrasti.docs/en/docs/advanced/using-request-directly.md
. PR #12760 by @hamidrasti.docs/advanced/wsgi.md
. PR #12758 by @hamidrasti.docs/de/docs/tutorial/middleware.md
. PR #12729 by @paintdog.docs/en/docs/tutorial/schema-extra-example.md
. PR #12822 by @tiangolo.docs/fr/docs/advanced/additional-responses.md
. PR #12634 by @fegmorte.docs/fr/docs/advanced/path-operation-advanced-configuration.md
. PR #12633 by @kantandane.docs/fr/docs/advanced/response-directly.md
. PR #12632 by @kantandane.docs/en/docs/tutorial/header-params.md
. PR #12640 by @vishnuvskvkl.docs/en/docs/tutorial/cookie-param-models.md
. PR #12639 by @vishnuvskvkl.docs/en/docs/tutorial/extra-models.md
. PR #12638 by @vishnuvskvkl.docs/en/docs/tutorial/cors.md
. PR #12637 by @vishnuvskvkl.docs/en/docs/tutorial/dependencies/sub-dependencies.md
. PR #12810 by @handabaldeep.docs/en/docs/tutorial/body-nested-models.md
. PR #12812 by @zhaohan-dong.docs/en/docs/tutorial/path-operation-configuration.md
. PR #12809 by @AlexWendland.docs/en/docs/tutorial/request-files.md
. PR #12818 by @zhaohan-dong.docs/en/docs/tutorial/query-param-models.md
. PR #12817 by @handabaldeep.docs/en/docs/tutorial/path-params.md
. PR #12811 by @AlexWendland.docs/en/docs/tutorial/response-model.md
. PR #12621 by @kantandane.docs/en/docs/advanced/websockets.md
. PR #12606 by @vishnuvskvkl.docs/en/docs/tutorial/cookie-params.md
. PR #12808 by @handabaldeep.docs/en/docs/tutorial/middleware.md
. PR #12807 by @AlexWendland.docs/en/docs/advanced/sub-applications.md
. PR #12806 by @zhaohan-dong.docs/en/docs/advanced/response-headers.md
. PR #12805 by @zhaohan-dong.docs/fr/docs/tutorial/first-steps.md
. PR #12594 by @kantandane.docs/en/docs/advanced/response-cookies.md
. PR #12804 by @zhaohan-dong.docs/en/docs/advanced/path-operation-advanced-configuration.md
. PR #12802 by @zhaohan-dong.docs/en/docs/advanced/response-directly.md
. PR #12803 by @handabaldeep.docs/zh/docs/tutorial/background-tasks.md
. PR #12798 by @zhaohan-dong.docs/de/docs/tutorial/body-multiple-params.md
. PR #12699 by @alissadb.docs/em/docs/tutorial/body-updates.md
. PR #12799 by @AlexWendland.docs/en/docs/advanced/response-change-status-code.md
. PR #12801 by @handabaldeep.docs/en/docs/advanced/openapi-callbacks.md
. PR #12800 by @handabaldeep.docs/fr/docs/tutorial/body-multiple-params.md
. PR #12598 by @kantandane.docs/en/docs/tutorial/body-multiple-params.md
. PR #12593 by @Tashanam-Shahbaz.docs/pt/docs/tutorial/background-tasks.md
. PR #12736 by @bhunao.docs/en/docs/advanced/custom-response.md
. PR #12797 by @handabaldeep.docs/pt/docs/python-types.md
. PR #12671 by @ceb10n.docs/de/docs/python-types.md
. PR #12660 by @alissadb.docs/de/docs/advanced/dataclasses.md
. PR #12658 by @alissadb.docs/fr/docs/tutorial/path-params.md
. PR #12592 by @kantandane.docs/de/docs/how-to/configure-swagger-ui.md
. PR #12690 by @alissadb.docs/en/docs/advanced/security/oauth2-scopes.md
. PR #12572 by @krishnamadhavan.docs/en/docs/how-to/conditional-openapi.md
. PR #12624 by @rabinlamadong.docs/en/docs/tutorial/dependencies/index.md
. PR #12615 by @bharara.docs/en/docs/tutorial/response-status-code.md
. PR #12620 by @kantandane.docs/en/docs/how-to/custom-docs-ui-assets.md
. PR #12623 by @rabinlamadong.docs/en/docs/advanced/openapi-webhooks.md
. PR #12605 by @salmantec.docs/en/docs/advanced/events.md
. PR #12604 by @salmantec.docs/en/docs/advanced/dataclasses.md
. PR #12603 by @salmantec.docs/es/docs/tutorial/cookie-params.md
. PR #12602 by @antonyare93.docs/fr/docs/tutorial/path-params-numeric-validations.md
. PR #12601 by @kantandane.docs/fr/docs/tutorial/background-tasks.md
. PR #12600 by @kantandane.docs/en/docs/tutorial/encoder.md
. PR #12597 by @tonyjly.docs/en/docs/how-to/custom-docs-ui-assets.md
. PR #12557 by @philipokiokio.docs/en/docs/how-to/custom-request-and-route.md
. PR #12560 by @philipokiokio.Translations
docs/ko/docs/advanced/testing-websockets.md
. PR #12739 by @Limsunoh.docs/zh-hant/docs/environment-variables.md
. PR #12785 by @Vincy1230.docs/zh/docs/environment-variables.md
. PR #12784 by @Vincy1230.ko/docs/advanced/response-headers.md
. PR #12740 by @kwang1215.docs/zh/docs/virtual-environments.md
. PR #12790 by @Vincy1230./docs/ko/docs/environment-variables.md
. PR #12526 by @Tolerblanc.docs/ko/docs/history-design-future.md
. PR #12646 by @saeye.docs/ko/docs/advanced/advanced-dependencies.md
. PR #12675 by @kim-sangah.docs/ko/docs/how-to/conditional-openapi.md
. PR #12731 by @sptcnl.docs/ko/docs/advanced/using_request_directly.md
. PR #12738 by @kwang1215.docs/ko/docs/advanced/testing-events.md
. PR #12741 by @9zimin9.docs/ko/docs/security/index.md
. PR #12743 by @kim-sangah.docs/pt/docs/advanced/path-operation-advanced-configuration.md
. PR #12762 by @Joao-Pedro-P-Holanda.docs/ko/docs/advanced/wsgi.md
. PR #12659 by @Limsunoh.docs/pt/docs/advanced/websockets.md
. PR #12703 by @devfernandoa.docs/pt/docs/tutorial/security/simple-oauth2.md
. PR #12520 by @LidiaDomingos.docs/ko/docs/advanced/response-directly.md
. PR #12674 by @9zimin9.docs/pt/docs/advanced/middleware.md
. PR #12704 by @devluisrodrigues.docs/pt/docs/advanced/openapi-callbacks.md
. PR #12705 by @devfernandoa.docs/pt/docs/tutorial/request-files.md
. PR #12706 by @devluisrodrigues.docs/pt/docs/advanced/custom-response.md
. PR #12631 by @Joao-Pedro-P-Holanda.docs/pt/docs/tutorial/metadata.md
. PR #12538 by @LinkolnR.docs/ko/docs/tutorial/metadata.md
. PR #12541 by @kwang1215.docs/ko/docs/advanced/response-cookies.md
. PR #12546 by @kim-sangah.docs/ko/docs/fastapi-cli.md
. PR #12515 by @dhdld.docs/ko/docs/advanced/response-change-status-code.md
. PR #12547 by @9zimin9.Internal
v0.115.4
Compare Source
Refactors
python-multipart
for compatibility with newer version. PR #12627 by @tiangolo.Docs
docs/fr/docs/tutorial/body.md
. PR #12596 by @kantandane.docs/fr/docs/tutorial/debugging.md
. PR #12595 by @kantandane.docs/fr/docs/tutorial/query-params-str-validations.md
. PR #12591 by @kantandane.docs/fr/docs/tutorial/query-params.md
. PR #12589 by @kantandane.docs/en/tutorial/body-fields.md
. PR #12588 by @lucaromagnoli.docs/de/docs/tutorial/response-status-code.md
. PR #12585 by @abejaranoh.docs/en/docs/tutorial/body.md
. PR #12586 by @lucaromagnoli.docs/en/docs/advanced/behind-a-proxy.md
. PR #12583 by @imjuanleonard.docs/pl/docs/tutorial/first-steps.md
. PR #12584 by @sebkozlo.docs/en/docs/advanced/middleware.md
. PR #12582 by @montanarograziano.docs/en/docs/advanced/additional-status-codes.md
. PR #12577 by @krishnamadhavan.docs/en/docs/advanced/advanced-dependencies.md
. PR #12578 by @krishnamadhavan.docs/en/docs/advanced/additional-responses.md
. PR #12576 by @krishnamadhavan.docs/en/docs/tutorial/static-files.md
. PR #12575 by @lucaromagnoli.docs/en/docs/advanced/async-tests.md
. PR #12568 by @krishnamadhavan.docs/pt/docs/advanced/behind-a-proxy.md
. PR #12563 by @asmioglou.docs/de/docs/advanced/security/http-basic-auth.md
. PR #12561 by @Nimitha-jagadeesha.docs/en/docs/tutorial/background-tasks.md
. PR #12559 by @FarhanAliRaza.docs/fr/docs/python-types.md
. PR #12558 by @Ismailtlem.docs/en/docs/how-to/graphql.md
. PR #12564 by @philipokiokio.docs/en/docs/how-to/extending-openapi.md
. PR #12562 by @philipokiokio.docs/en/docs/how-to/configure-swagger-ui.md
. PR #12556 by @tiangolo.docs/en/docs/how-to/separate-openapi-schemas.md
. PR #12555 by @tiangolo.docs/en/docs/advanced/security/http-basic-auth.md
. PR #12553 by @tiangolo.docs/en/docs/tutorial/first-steps.md
. PR #12552 by @tiangolo.docs/en/docs/python-types.md
. PR #12551 by @tiangolo.Translations
docs/de/docs/advanced/async-tests.md
. PR #12567 by @imjuanleonard.docs/pt/docs/tutorial/sql-databases.md
. PR #12530 by @ilacftemp.docs/ko/docs/benchmarks.md
. PR #12540 by @Limsunoh.docs/pt/docs/how-to/separate-openapi-schemas.md
. PR #12518 by @ilacftemp.docs/zh-hant/docs/deployment/index.md
. PR #12521 by @codingjenny.docs/zh-hant/docs/deployment/cloud.md
. PR #12522 by @codingjenny.docs/zh-hant/docs/how-to/index.md
. PR #12523 by @codingjenny.docs/zh-hant/docs/tutorial/index.md
. PR #12524 by @codingjenny.docs/zh-hant/docs/how-to/index.md
. PR #12468 by @codingjenny.docs/zh-hant/docs/tutorial/index.md
. PR #12466 by @codingjenny.docs/pt/docs/tutorial/header-param-models.md
. PR #12437 by @Joao-Pedro-P-Holanda.docs/pt/docs/how-to/extending-openapi.md
. PR #12470 by @ilacftemp.docs/pt/docs/advanced/dataclasses.md
. PR #12475 by @leoscarlato.docs/pt/docs/how-to/custom-request-and-route.md
. PR #12483 by @devfernandoa.Internal
v0.115.3
Compare Source
Upgrades
>=0.40.0,<0.42.0
. PR #12469 by @defnull.Docs
Translations
docs/zh-hant/docs/fastapi-cli.md
. PR #12444 by @codingjenny.docs/zh-hant/docs/deployment/index.md
. PR #12439 by @codingjenny.docs/pt/docs/how-to/testing-database.md
. PR #12472 by @GuilhermeRameh.docs/pt/docs/how-to/custom-docs-ui-assets.md
. PR #12473 by @devluisrodrigues.docs/pt/docs/advanced/response-headers.md
. PR #12458 by @leonardopaloschi.docs/zh-hant/docs/deployment/cloud.md
. PR #12440 by @codingjenny.docs/pt/docs/python-types.md
. PR #12428 by @ceb10n.docs/ru/docs/environment-variables.md
. PR #12436 by @wisderfin.docs/zh-hant/docs/resources/index.md
. PR #12443 by @codingjenny.docs/zh-hant/docs/about/index.md
. PR #12438 by @codingjenny.docs/pt/docs/tutorial/query-param-models.md
. PR #12414 by @ceb10n.docs/pt/docs/deployment.md
. PR #12427 by @ceb10n.docs/pt/docs/tutorial/body-updates.md
. PR #12381 by @andersonrocha0.docs/pt/docs/advanced/response-cookies.md
. PR #12417 by @Paulofalcao2002.Internal
v0.115.2
Compare Source
Upgrades
>=0.37.2,<0.41.0
. PR #12431 by @tiangolo.v0.115.1
Compare Source
Fixes
Required
shadowing from fastapi using Pydantic v2. PR #12197 by @pachewise.Refactors
python-multipart
. PR #12407 by @tiangolo.Docs
base_path
formdx_include
Markdown extension in MkDocs. PR #12391 by @tiangolo.docs/project-generation.md
. PR #12274 by @kayqueGovetri.Translations
docs/pt/docs/tutorial/cookie-param-models.md
. PR #12298 by @ceb10n.docs/pt/docs/how-to/graphql.md
. PR #12215 by @AnandaCampelo.docs/pt/docs/advanced/security/oauth2-scopes.md
. PR #12263 by @ceb10n.docs/pt/docs/deployment/concepts.md
. PR #12219 by @marcelomarkus.docs/pt/docs/how-to/conditional-openapi.md
. PR #12221 by @marcelomarkus.docs/pt/docs/advanced/response-directly.md
. PR #12266 by @Joao-Pedro-P-Holanda.docs/pt/docs/tutorial/cookie-params.md
. PR #12297 by @ceb10n.docs/ko/docs/tutorial/index.md
. PR #12278 by @kkotipy.docs/pt/docs/advanced/security/http-basic-auth.md
. PR #12275 by @andersonrocha0.docs/pt/docs/deployment/cloud.md
. PR #12217 by @marcelomarkus.docs/es/docs/python-types.md
. PR #12235 by @JavierSanchezCastro.docs/nl/docs/environment-variables.md
. PR #12200 by @maxscheijen.docs/pt/docs/deployment/manually.md
. PR #12210 by @JoaoGustavoRogel.docs/pt/docs/deployment/server-workers.md
. PR #12220 by @marcelomarkus.docs/pt/docs/how-to/configure-swagger-ui.md
. PR #12222 by @marcelomarkus.Internal
sponsors_badge.yml
. PR #12404 by @tiangolo.v0.115.0
Compare Source
Highlights
Now you can declare
Query
,Header
, andCookie
parameters with Pydantic models. 🎉Query
Parameter ModelsUse Pydantic models for
Query
parameters:Read the new docs: Query Parameter Models.
Header
Parameter ModelsUse Pydantic models for
Header
parameters:Read the new docs: Header Parameter Models.
Cookie
Parameter ModelsUse Pydantic models for
Cookie
parameters:Read the new docs: Cookie Parameter Models.
Forbid Extra Query (Cookie, Header) Parameters
Use Pydantic models to restrict extra values for
Query
parameters (also applies toHeader
andCookie
parameters).To achieve it, use Pydantic's
model_config = {"extra": "forbid"}
:This applies to
Query
,Header
, andCookie
parameters, read the new docs:Features
Query
,Cookie
,Header
. PR #12199 by @tiangolo.Translations
docs/pt/docs/advanced/security/http-basic-auth.md
. PR #12195 by @ceb10n.Internal
v0.114.2
Compare Source
Fixes
alias
. PR #12194 by @Wurstnase.Translations
docs/pt/docs/tutorial/request-form-models.md
. PR #12175 by @ceb10n.docs/zh/docs/project-generation.md
. PR #12170 by @waketzheng.docs/nl/docs/python-types.md
. PR #12158 by @maxscheijen.Internal
v0.114.1
Compare Source
Refactors
Docs
docs/en/docs/environment-variables.md
. PR #12169 by @prometek.Translations
docs/pt/docs/virtual-environments.md
. PR #12163 by @marcelomarkus.docs/pt/docs/environment-variables.md
. PR #12162 by @marcelomarkus.docs/pt/docs/tutorial/testing.md
. PR #12164 by @marcelomarkus.docs/pt/docs/tutorial/debugging.md
. PR #12165 by @marcelomarkus.docs/ko/docs/project-generation.md
. PR #12157 by @BORA040126.Internal
issue-manager.yml
. PR #12159 by @tiangolo.fastapi/params.py
. PR #12143 by @surreal30.v0.114.0
Compare Source
You can restrict form fields to only include those declared in a Pydantic model and forbid any extra field sent in the request using Pydantic's
model_config = {"extra": "forbid"}
:Read the new docs: Form Models - Forbid Extra Form Fields.
Features
Docs
Internal
v0.113.0
Compare Source
Now you can declare form fields with Pydantic models:
Read the new docs: Form Models.
Features
Form
parameters. PR #12129 by @tiangolo.Internal
v0.112.4
Compare Source
This release is mainly a big internal refactor to enable adding support for Pydantic models for
Form
fields, but that feature comes in the next release.This release shouldn't affect apps using FastAPI in any way. You don't even have to upgrade to this version yet. It's just a checkpoint. 🤓
Refactors
embed
body fields, do not overwrite fields, compute once per router, refactor internals in preparation for Pydantic models inForm
,Query
and others. PR #12117 by @tiangolo.Internal
Form
parameters" to make a checkpoint release. PR #12128 by @tiangolo.Form
parameters. PR #12127 by @tiangolo. Reverted to make a checkpoint release with only refactors.v0.112.3
Compare Source
This release is mainly internal refactors, it shouldn't affect apps using FastAPI in any way. You don't even have to upgrade to this ver
Configuration
📅 Schedule: Branch creation - "after 5am on saturday" (UTC), 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 this update again.
This PR has been generated by Renovate Bot.