An open index of dependabot pull requests across open source projects.

Bump fastapi from 0.115.12 to 0.119.0

Closed
Number: #1033
Type: Pull Request
State: Closed
Author: dependabot[bot] dependabot[bot]
Association: Unknown
Comments: 1
Created: October 13, 2025 at 11:12 PM UTC
(3 months ago)
Updated: October 20, 2025 at 11:09 PM UTC
(2 months ago)
Closed: October 20, 2025 at 11:09 PM UTC
(2 months ago)
Time to Close: 7 days
Labels:
dependencies python
Description:

Bumps fastapi from 0.115.12 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)
Package Dependencies
Package:
fastapi
Ecosystem:
pip
Version Change:
0.115.12 → 0.119.0
Update Type:
Minor
Technical Details
ID: 10386994
UUID: 3511751168
Node ID: PR_kwDOBjX6Ks6tjdhJ
Host: GitHub
Repository: python-openapi/openapi-core