Update dependency fastapi to v0.114.0 #35
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.2->==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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.