Update dependency fastapi to ^0.115.0 #449
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.114.0
->^0.115.0
Release Notes
fastapi/fastapi (fastapi)
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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.