Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fastapi[standard] from 0.112.2 to 0.113.0 #884

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 6, 2024

Bumps fastapi[standard] from 0.112.2 to 0.113.0.

Release notes

Sourced from fastapi[standard]'s releases.

0.113.0

Now you can declare form fields with Pydantic models:

from typing import Annotated
from fastapi import FastAPI, Form
from pydantic import BaseModel
app = FastAPI()
class FormData(BaseModel):
username: str
password: str
@​app.post("/login/")
async def login(data: Annotated[FormData, Form()]):
return data

Read the new docs: Form Models.

Features

Internal

0.112.4

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

  • ♻️ Refactor deciding if embed body fields, do not overwrite fields, compute once per router, refactor internals in preparation for Pydantic models in Form, Query and others. PR #12117 by @​tiangolo.

Internal

  • ⏪️ Temporarily revert "✨ Add support for Pydantic models in Form parameters" to make a checkpoint release. PR #12128 by @​tiangolo.
  • ✨ Add support for Pydantic models in Form parameters. PR #12127 by @​tiangolo. Reverted to make a checkpoint release with only refactors.

0.112.3

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

... (truncated)

Commits

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 <dependency name> 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)

Bumps [fastapi[standard]](https://github.com/fastapi/fastapi) from 0.112.2 to 0.113.0.
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.112.2...0.113.0)

---
updated-dependencies:
- dependency-name: fastapi[standard]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 6, 2024
Copy link

github-actions bot commented Sep 6, 2024

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run (incl. overhead) 23.4173 1915.05 3.88 494
Measurement #1 23.3597 1915.05 3.89 492

🌳 CO2 Data:
City: Phoenix, Lat: 33.4475, Lon: -112.0866
IP: 20.172.29.192
CO₂ from energy is: 0.967100250 g
CO₂ from manufacturing (embodied carbon) is: 0.140945021 g
Carbon Intensity for this location: 505 gCO₂eq/kWh
SCI: 1.108045 gCO₂eq / pipeline run emitted

@ArneTR ArneTR merged commit c72b0fb into main Sep 6, 2024
4 checks passed
@ArneTR ArneTR deleted the dependabot/pip/main/fastapi-standard--0.113.0 branch September 6, 2024 09:00
ArneTR added a commit that referenced this pull request Sep 25, 2024
* main: (79 commits)
  Missing commit hash should still allow comparison
  Removed non ASCII character
  Missing notes should not throw error
  Simplied access to phase_stats_object
  Bump python from 3.12.5-slim-bookworm to 3.12.6-slim-bookworm in /docker (#898)
  Bump psycopg[binary] from 3.2.1 to 3.2.2 (#900)
  Bump fastapi[standard] from 0.114.0 to 0.114.2 (#899)
  Added new demo data [skip ci] (#892)
  Added re-licensing option
  Bump pytest from 8.3.2 to 8.3.3 (#890)
  Updated Cloud Energy
  Bump pydantic from 2.9.0 to 2.9.1 (#889)
  Adds checks to the install scripts (#886)
  Bump fastapi[standard] from 0.113.0 to 0.114.0 (#887)
  Fetch mode named digestable (#885)
  Clarifications on units in CarbonDB
  Guard clause when non-git root supplied in CLI (#874)
  Bump pydantic from 2.8.2 to 2.9.0 (#883)
  Bump fastapi[standard] from 0.112.2 to 0.113.0 (#884)
  Bump pylint from 3.2.6 to 3.2.7 (#881)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant