Skip to content

Bump fastapi from 0.117.1 to 0.119.0#2733

Merged
TheTechromancer merged 1 commit intodevfrom
dependabot/pip/dev/fastapi-0.119.0
Oct 14, 2025
Merged

Bump fastapi from 0.117.1 to 0.119.0#2733
TheTechromancer merged 1 commit intodevfrom
dependabot/pip/dev/fastapi-0.119.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2025

Bumps fastapi from 0.117.1 to 0.119.0.

Release notes

Sourced from fastapi's releases.

0.119.0

FastAPI now (temporarily) supports both Pydantic v2 models and pydantic.v1 models at the same time in the same app, to make it easier for any FastAPI apps still using Pydantic v1 to gradually but quickly migrate to Pydantic v2.

from fastapi import FastAPI
from pydantic import BaseModel as BaseModelV2
from pydantic.v1 import BaseModel
class Item(BaseModel):
name: str
description: str | None = None
class ItemV2(BaseModelV2):
title: str
summary: str | None = None
app = FastAPI()
@​app.post("/items/", response_model=ItemV2)
def create_item(item: Item):
return {"title": item.name, "summary": item.description}

Adding this feature was a big effort with the main objective of making it easier for the few applications still stuck in Pydantic v1 to migrate to Pydantic v2.

And with this, support for Pydantic v1 is now deprecated and will be removed from FastAPI in a future version soon.

Note: have in mind that the Pydantic team already stopped supporting Pydantic v1 for recent versions of Python, starting with Python 3.14.

You can read in the docs more about how to Migrate from Pydantic v1 to Pydantic v2.

Features

  • ✨ Add support for from pydantic.v1 import BaseModel, mixed Pydantic v1 and v2 models in the same app. PR #14168 by @​tiangolo.

0.118.3

Upgrades

0.118.2

Fixes

Internal

... (truncated)

Commits
  • 2e721e1 🔖 Release version 0.119.0
  • fc7a068 📝 Update release notes
  • 3a3879b 📝 Update release notes
  • d34918a ✨ Add support for from pydantic.v1 import BaseModel, mixed Pydantic v1 and ...
  • 352dbef 🔖 Release version 0.118.3
  • 96e7d6e 📝 Update release notes
  • 3611c3f ⬆️ Add support for Python 3.14 (#14165)
  • 942fce3 🔖 Release version 0.118.2
  • 13b067c 📝 Update release notes
  • 185cecd 🐛 Fix tagged discriminated union not recognized as body field (#12942)
  • 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 <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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 13, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2025

📊 Performance Benchmark Report

Comparing dev (baseline) vs dependabot/pip/dev/fastapi-0.119.0 (current)

📈 Detailed Results (All Benchmarks)

📋 Complete results for all benchmarks - includes both significant and insignificant changes

🧪 Test Name 📏 Base 📏 Current 📈 Change 🎯 Status
Bloom Filter Dns Mutation Tracking Performance 4.20ms 4.25ms +1.1%
Bloom Filter Large Scale Dns Brute Force 18.06ms 17.87ms -1.1%
Large Closest Match Lookup 348.76ms 346.91ms -0.5%
Realistic Closest Match Workload 190.02ms 190.64ms +0.3%
Event Validation Full Scan Startup Small Batch 434.18ms 454.17ms +4.6%
Event Validation Full Scan Startup Large Batch 798.57ms 798.73ms +0.0%
Make Event Autodetection Small 31.66ms 30.66ms -3.2%
Make Event Autodetection Large 320.36ms 310.53ms -3.1%
Make Event Explicit Types 13.99ms 13.83ms -1.1%
Excavate Single Thread Small 4.064s 4.087s +0.6%
Excavate Single Thread Large 9.488s 9.497s +0.1%
Excavate Parallel Tasks Small 4.249s 4.266s +0.4%
Excavate Parallel Tasks Large 7.287s 7.324s +0.5%
Is Ip Performance 3.15ms 3.17ms +0.7%
Make Ip Type Performance 11.31ms 11.62ms +2.7%
Mixed Ip Operations 4.42ms 4.49ms +1.5%
Typical Queue Shuffle 62.17µs 61.83µs -0.6%
Priority Queue Shuffle 702.71µs 697.04µs -0.8%

🎯 Performance Summary

No significant performance changes detected (all changes <10%)


🐍 Python Version 3.11.13

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

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.119.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/dev/fastapi-0.119.0 branch from 2a0ddf9 to be46de3 Compare October 13, 2025 17:58
@TheTechromancer TheTechromancer merged commit dfa6448 into dev Oct 14, 2025
17 checks passed
@dependabot dependabot bot deleted the dependabot/pip/dev/fastapi-0.119.0 branch October 14, 2025 00:48
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