rpgrca / proyecto-ispc-fullstack

Repositorio del Proyecto Full-Stack del ISPC
7 stars 0 forks source link

Bump fastapi from 0.112.2 to 0.114.1 in /back-end #514

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Bumps fastapi from 0.112.2 to 0.114.1.

Release notes

Sourced from fastapi's releases.

0.114.1

Refactors

  • ⚡️ Improve performance in request body parsing with a cache for internal model fields. PR #12184 by @​tiangolo.

Docs

  • 📝 Remove duplicate line in docs for docs/en/docs/environment-variables.md. PR #12169 by @​prometek.

Translations

Internal

0.114.0

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"}:

from typing import Annotated

from fastapi import FastAPI, Form from pydantic import BaseModel

app = FastAPI()

class FormData(BaseModel): username: str password: str model_config = {"extra": "forbid"}

@​app.post("/login/") async def login(data: Annotated[FormData, Form()]): return data

Read the new docs: Form Models - Forbid Extra Form Fields.

Features

... (truncated)

Commits
  • 212fd5e 🔖 Release version 0.114.1
  • 8dc882f 📝 Update release notes
  • b0eedbb ⚡️ Improve performance in request body parsing with a cache for internal mode...
  • 7445118 📝 Update release notes
  • a4c5f7f 📝 Update release notes
  • eb45bad 📝 Update release notes
  • 944b6e5 🌐 Add Portuguese translation for docs/pt/docs/virtual-environments.md (#12163)
  • e69ba26 🌐 Add Portuguese translation for docs/pt/docs/environment-variables.md (#12...
  • a4a7925 🌐 Add Portuguese translation for docs/pt/docs/tutorial/testing.md (#12164)
  • 73d4f34 📝 Update release notes
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)