Update dependency fastapi to v0.114.0 #5
Reference in New Issue
Block a user
Delete Branch "renovate/fastapi-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==0.112.1->==0.114.0Release Notes
fastapi/fastapi (fastapi)
v0.114.0Compare 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.0Compare Source
Now you can declare form fields with Pydantic models:
Read the new docs: Form Models.
Features
Formparameters. PR #12129 by @tiangolo.Internal
v0.112.4Compare Source
This release is mainly a big internal refactor to enable adding support for Pydantic models for
Formfields, 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
embedbody fields, do not overwrite fields, compute once per router, refactor internals in preparation for Pydantic models inForm,Queryand others. PR #12117 by @tiangolo.Internal
Formparameters" to make a checkpoint release. PR #12128 by @tiangolo.Formparameters. PR #12127 by @tiangolo. Reverted to make a checkpoint release with only refactors.v0.112.3Compare 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 version yet. There are a few bigger releases coming right after. 🚀
Refactors
check_file_field(), rename toensure_multipart_is_installed()to clarify its purpose. PR #12106 by @tiangolo.create_response_field()tocreate_model_field()as it's used for more than response models. PR #12103 by @tiangolo.solve_dependencies()using dataclasses. PR #12100 by @tiangolo.analyze_param()to structure data with dataclasses instead of tuple. PR #12099 by @tiangolo.Docs
time.perf_counter()in middlewares. PR #12095 by @tiangolo.time.time()totime.perf_counter(). PR #11957 by @domdent.docs_src/path_params_numeric_validations/tutorial006.py. PR #11478 by @MuhammadAshiqAmeer.docs/en/docs/async.md. PR #12062 by @Alec-Gillis.response_classparameter, validations, and returning a response directly. PR #12067 by @tiangolo.CMDexec form. PR #11960 by @GPla.Translations
docs/nl/docs/features.md. PR #12101 by @maxscheijen.docs/pt/docs/advanced/testing-events.md. PR #12108 by @ceb10n.docs/pt/docs/advanced/security/index.md. PR #12114 by @ceb10n.docs/nl/docs/index.md. PR #12042 by @svlandeg.docs/zh/docs/how-to/index.md. PR #12070 by @synthpop123.Internal
include-hidden-filestoTruewhen using theupload-artifactGH action. PR #12118 by @svlandeg.latest-changesGitHub Action. PR #12073 by @tiangolo.v0.112.2Compare Source
Fixes
allow_inf_nanoption for Param and Body classes. PR #11867 by @giunio-prc.app.include_routermerges 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-validatordependency with dash. PR #11515 by @jirikuncar.docs/es/docs/project-generation.md. PR #11947 by @alejsdev.compresslevelparameter on docs forGZipMiddleware. PR #11350 by @junah201.docs/en/docs/tutorial/body.mdwith 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.Configuration
📅 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 this update again.
This PR has been generated by Renovate Bot.
3ff776043dto53c323aff6Update dependency fastapi to v0.112.2to Update dependency fastapi to v0.114.0