Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 12, 2024

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) ==0.115.4 -> ==0.120.1 age confidence

Release Notes

fastapi/fastapi (fastapi)

v0.120.1

Compare Source

Upgrades
Internal
  • 🔧 Add license and license-files to pyproject.toml, remove License from classifiers. PR #​14230 by @​YuriiMotov.

v0.120.0

Compare Source

There are no major nor breaking changes in this release. ☕️

The internal reference documentation now uses annotated_doc.Doc instead of typing_extensions.Doc, this adds a new (very small) dependency on annotated-doc, a package made just to provide that Doc documentation utility class.

I would expect typing_extensions.Doc to be deprecated and then removed at some point from typing_extensions, for that reason there's the new annotated-doc micro-package. If you are curious about this, you can read more in the repo for annotated-doc.

This new version 0.120.0 only contains that transition to the new home package for that utility class Doc.

Translations
Internal

v0.119.1

Compare Source

Fixes
  • 🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1. PR #​14186 by @​svlandeg.
Docs
  • 📝 Replace starlette.io by starlette.dev and uvicorn.org by uvicorn.dev. PR #​14176 by @​Kludex.
Internal

v0.119.0

Compare Source

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.

v0.118.3

Compare Source

Upgrades

v0.118.2

Compare Source

Fixes
Internal

v0.118.1

Compare Source

Upgrades
Docs
Translations
Internal

v0.118.0

Compare Source

0.118.0

Fixes
  • 🐛 Fix support for StreamingResponses with dependencies with yield or UploadFiles, close after the response is done. PR #​14099 by @​tiangolo.

Before FastAPI 0.118.0, if you used a dependency with yield, it would run the exit code after the path operation function returned but right before sending the response.

This change also meant that if you returned a StreamingResponse, the exit code of the dependency with yield would have been already run.

For example, if you had a database session in a dependency with yield, the StreamingResponse would not be able to use that session while streaming data because the session would have already been closed in the exit code after yield.

This behavior was reverted in 0.118.0, to make the exit code after yield be executed after the response is sent.

You can read more about it in the docs for Advanced Dependencies - Dependencies with yield, HTTPException, except and Background Tasks. Including what you could do if you wanted to close a database session earlier, before returning the response to the client.

Docs
Translations
Internal

v0.117.1

Compare Source

Fixes

v0.117.0

Compare Source

Features
Fixes
  • ⚡️ Fix default_factory for response model field with Pydantic V1. PR #​9704 by @​vvanglro.
  • 🐛 Fix inconsistent processing of model docstring formfeed char with Pydantic V1. PR #​6039 by @​MaxwellPayne.
  • 🐛 Fix jsonable_encoder alters json_encoders of Pydantic v1 objects. PR #​4972 by @​aboubacs.
  • 🐛 Reenable allow_arbitrary_types when only 1 argument is used on the API endpoint. PR #​13694 by @​rmawatson.
  • 🐛 Fix inspect.getcoroutinefunction() can break testing with unittest.mock.patch(). PR #​14022 by @​secrett2633.
Refactors
Docs
Translations
Internal

v0.116.2

Compare Source

Upgrades
Docs
Translations
Internal

v0.116.1

Compare Source

Upgrades
Docs
  • 📝 Add notification about impending changes in Translations to docs/en/docs/contributing.md. PR #​13886 by @​YuriiMotov.
Internal

v0.116.0

Compare Source

Features

Installing fastapi[standard] now includes fastapi-cloud-cli.

This will allow you to deploy to FastAPI Cloud with the fastapi deploy command.

If you want to install fastapi with the standard dependencies but without fastapi-cloud-cli, you can install instead fastapi[standard-no-fastapi-cloud-cli].

Translations
Internal

v0.115.14

Compare Source

Fixes
Docs
Translations
Internal

v0.115.13

Compare Source

Fixes
  • 🐛 Fix truncating the model's description with form feed (\f) character for Pydantic V2. PR #​13698 by @​YuriiMotov.
Refactors
Upgrades
Docs
Translations
Internal

v0.115.12

Compare Source

Fixes
Docs
Translations
  • 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/metadata.md page. PR #​13459 by @​valentinDruzhinin.
  • 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/response-status-code.md page. PR #​13462 by @​valentinDruzhinin.
  • 🌐 Add Ukrainian translation for docs/uk/docs/tutorial/cookie-param-models.md page. PR #​13460 by [@​valentinD

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from egvimo as a code owner November 12, 2024 18:17
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.5 chore(deps): update dependency fastapi to v0.115.6 Dec 4, 2024
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 08ca86b to 9ad8d0d Compare December 4, 2024 01:46
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 9ad8d0d to fdf382d Compare January 23, 2025 01:49
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.6 chore(deps): update dependency fastapi to v0.115.7 Jan 23, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from fdf382d to 128dc0c Compare January 30, 2025 15:03
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.7 chore(deps): update dependency fastapi to v0.115.8 Jan 30, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 128dc0c to 4f6f52d Compare February 27, 2025 18:42
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.8 chore(deps): update dependency fastapi to v0.115.9 Feb 27, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 4f6f52d to b2eb9e5 Compare February 28, 2025 18:41
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.9 chore(deps): update dependency fastapi to v0.115.10 Feb 28, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from b2eb9e5 to 9c90e20 Compare March 2, 2025 01:52
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.10 chore(deps): update dependency fastapi to v0.115.11 Mar 2, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 9c90e20 to c7b623d Compare March 24, 2025 01:54
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.11 chore(deps): update dependency fastapi to v0.115.12 Mar 24, 2025
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from c7b623d to 0b7b37b Compare June 17, 2025 12:01
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.12 chore(deps): update dependency fastapi to v0.115.13 Jun 17, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 0b7b37b to 982f1d2 Compare June 26, 2025 16:56
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.13 chore(deps): update dependency fastapi to v0.115.14 Jun 26, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 982f1d2 to 3174903 Compare July 7, 2025 16:14
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.115.14 chore(deps): update dependency fastapi to v0.116.0 Jul 7, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 3174903 to 8b28af3 Compare July 11, 2025 20:13
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.116.0 chore(deps): update dependency fastapi to v0.116.1 Jul 11, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 8b28af3 to ad6c91a Compare August 10, 2025 14:23
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from ad6c91a to ff701d1 Compare September 16, 2025 20:29
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.116.1 chore(deps): update dependency fastapi to v0.116.2 Sep 16, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from ff701d1 to 9c882ac Compare September 20, 2025 20:57
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.116.2 chore(deps): update dependency fastapi to v0.117.1 Sep 20, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 9c882ac to a3a61af Compare September 29, 2025 04:33
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.117.1 chore(deps): update dependency fastapi to v0.118.0 Sep 29, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from a3a61af to 3d8195d Compare October 8, 2025 13:31
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.118.0 chore(deps): update dependency fastapi to v0.118.1 Oct 8, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 3d8195d to 4a02d18 Compare October 8, 2025 18:09
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.118.1 chore(deps): update dependency fastapi to v0.118.2 Oct 8, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 4a02d18 to a1b11b2 Compare October 10, 2025 13:55
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.118.2 chore(deps): update dependency fastapi to v0.118.3 Oct 10, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from a1b11b2 to b1532cf Compare October 11, 2025 22:02
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.118.3 chore(deps): update dependency fastapi to v0.119.0 Oct 11, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from b1532cf to af17a58 Compare October 20, 2025 14:11
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.119.0 chore(deps): update dependency fastapi to v0.119.1 Oct 20, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from af17a58 to 4fa04b3 Compare October 23, 2025 21:27
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.119.1 chore(deps): update dependency fastapi to v0.120.0 Oct 23, 2025
@renovate renovate bot force-pushed the renovate/fastapi-0.x branch from 4fa04b3 to 109393a Compare October 27, 2025 19:12
@renovate renovate bot changed the title chore(deps): update dependency fastapi to v0.120.0 chore(deps): update dependency fastapi to v0.120.1 Oct 27, 2025
@sonarqubecloud
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant