Skip to content

Conversation

@red-hat-konflux
Copy link
Contributor

@red-hat-konflux red-hat-konflux bot commented Jun 28, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) ==0.115.11 -> ==0.128.0 age confidence

Release Notes

fastapi/fastapi (fastapi)

v0.128.0

Compare Source

Breaking Changes
Internal

v0.127.1

Compare Source

Refactors
Docs
Translations
Internal

v0.127.0

Compare Source

Breaking Changes
Translations
  • 🔧 Add LLM prompt file for Korean, generated from the existing translations. PR #​14546 by @​tiangolo.
  • 🔧 Add LLM prompt file for Japanese, generated from the existing translations. PR #​14545 by @​tiangolo.
Internal

v0.126.0

Compare Source

Upgrades
  • ➖ Drop support for Pydantic v1, keeping short temporary support for Pydantic v2's pydantic.v1. PR #​14575 by @​tiangolo.
    • The minimum version of Pydantic installed is now pydantic >=2.7.0.
    • The standard dependencies now include pydantic-settings >=2.0.0 and pydantic-extra-types >=2.0.0.
Docs
Translations
  • 🔧 Add LLM prompt file for Ukrainian, generated from the existing translations. PR #​14548 by @​tiangolo.
Internal

v0.125.0

Compare Source

Breaking Changes
  • 🔧 Drop support for Python 3.8. PR #​14563 by @​tiangolo.
    • This would actually not be a breaking change as no code would really break. Any Python 3.8 installer would just refuse to install the latest version of FastAPI and would only install 0.124.4. Only marking it as a "breaking change" to make it visible.
Refactors
Docs
Translations
Internal

v0.124.4

Compare Source

Fixes

v0.124.3

Compare Source

Fixes
  • 🐛 Fix support for tagged union with discriminator inside of Annotated with Body(). PR #​14512 by @​tiangolo.
Refactors
Docs
Translations
Internal

v0.124.2

Compare Source

Fixes
  • 🐛 Fix support for if TYPE_CHECKING, non-evaluated stringified annotations. PR #​14485 by @​tiangolo.

v0.124.1

Compare Source

Fixes
  • 🐛 Fix handling arbitrary types when using arbitrary_types_allowed=True. PR #​14482 by @​tiangolo.
Docs
Internal

v0.124.0

Compare Source

Features
Internal

v0.123.10

Compare Source

Fixes

v0.123.9

Compare Source

Fixes
  • 🐛 Fix OAuth2 scopes in OpenAPI in extra corner cases, parent dependency with scopes, sub-dependency security scheme without scopes. PR #​14459 by @​tiangolo.

v0.123.8

Compare Source

Fixes
  • 🐛 Fix OpenAPI security scheme OAuth2 scopes declaration, deduplicate security schemes with different scopes. PR #​14455 by @​tiangolo.

v0.123.7

Compare Source

Fixes

v0.123.6

Compare Source

Fixes
  • 🐛 Fix support for functools wraps and partial combined, for async and regular functions and classes in path operations and dependencies. PR #​14448 by @​tiangolo.

v0.123.5

Compare Source

Features
Fixes
  • 🐛 Fix optional sequence handling with new union syntax from Python 3.10. PR #​14430 by @​Viicos.
Refactors
  • 🔥 Remove dangling extra condiitonal no longer needed. PR #​14435 by @​tiangolo.
  • ♻️ Refactor internals, update is_coroutine check to reuse internal supported variants (unwrap, check class). PR #​14434 by @​tiangolo.
Translations

v0.123.4

Compare Source

Fixes
  • 🐛 Fix OpenAPI schema support for computed fields when using separate_input_output_schemas=False. PR #​13207 by @​vgrafe.
Docs

v0.123.3

Compare Source

Fixes

v0.123.2

Compare Source

Fixes
Docs

v0.123.1

Compare Source

Fixes
Internal

v0.123.0

Compare Source

Fixes
  • 🐛 Cache dependencies that don't use scopes and don't have sub-dependencies with scopes. PR #​14419 by @​tiangolo.

v0.122.1

Compare Source

Fixes
Docs
Internal

v0.122.0

Compare Source

Fixes
Internal

v0.121.3

Compare Source

0.121.3

Refactors
  • ♻️ Make the result of Depends() and Security() hashable, as a workaround for other tools interacting with these internal parts. PR #​14372 by @​tiangolo.
Upgrades
Docs

v0.121.2

Compare Source

Fixes
Docs
Translations

v0.121.1

Compare Source

Fixes
  • 🐛 Fix Depends(func, scope='function') for top level (parameterless) dependencies. PR #​14301 by @​luzzodev.
Docs
  • 📝 Upate docs for advanced dependencies with yield, noting the changes in 0.121.0, adding scope. PR #​14287 by @​tiangolo.
Internal

v0.121.0

Compare Source

Features
Internal

v0.120.4

Compare Source

Fixes

v0.120.3

Compare Source

Refactors
  • ♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself. PR #​14256 by @​tiangolo.
  • ♻️ Refactor internals of dependencies, simplify code and remove get_param_sub_dependant. PR #​14255 by @​tiangolo.
  • ♻️ Refactor internals of dependencies, simplify using dataclasses. PR #​14254 by @​tiangolo.
Docs

v0.120.2

Compare Source

Fixes
Internal

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

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

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux red-hat-konflux bot requested a review from a team as a code owner June 28, 2025 05:45
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from d7bbac1 to 265caec Compare July 12, 2025 07:03
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.115.14 chore(deps): update dependency fastapi to v0.116.1 Jul 12, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 265caec to 4fa4839 Compare July 14, 2025 02:42
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 4fa4839 to 185ecc8 Compare September 20, 2025 09:24
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.116.1 chore(deps): update dependency fastapi to v0.116.2 Sep 20, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 185ecc8 to 5c0e42d Compare September 20, 2025 20:25
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.116.2 chore(deps): update dependency fastapi to v0.117.0 Sep 20, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 5c0e42d to 144b8eb Compare September 24, 2025 17:40
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.117.0 chore(deps): update dependency fastapi to v0.117.1 Sep 24, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 144b8eb to ea93663 Compare September 29, 2025 04:35
@red-hat-konflux red-hat-konflux 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
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from ea93663 to c0ab3bb Compare October 8, 2025 16:42
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.118.0 chore(deps): update dependency fastapi to v0.118.2 Oct 8, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from c0ab3bb to 000350d Compare October 10, 2025 12:30
@red-hat-konflux red-hat-konflux 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
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 000350d to 1d1b313 Compare October 13, 2025 20:40
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.118.3 chore(deps): update dependency fastapi to v0.119.0 Oct 13, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 1d1b313 to edf946a Compare October 20, 2025 12:34
@red-hat-konflux red-hat-konflux 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
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from edf946a to baf2713 Compare October 24, 2025 00:29
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.119.1 chore(deps): update dependency fastapi to v0.120.0 Oct 24, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from baf2713 to 06954a9 Compare October 27, 2025 20:31
@red-hat-konflux red-hat-konflux 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
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 06954a9 to cca94fc Compare October 29, 2025 16:34
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.120.1 chore(deps): update dependency fastapi to v0.120.2 Oct 29, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from cca94fc to f6dcb70 Compare October 31, 2025 00:36
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.120.2 chore(deps): update dependency fastapi to v0.120.3 Oct 31, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from f6dcb70 to 6542756 Compare October 31, 2025 20:31
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.120.3 chore(deps): update dependency fastapi to v0.120.4 Oct 31, 2025
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.3 chore(deps): update dependency fastapi to v0.123.4 Dec 2, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from afd4c12 to 252f574 Compare December 2, 2025 21:25
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.4 chore(deps): update dependency fastapi to v0.123.5 Dec 2, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 252f574 to 5db3a18 Compare December 4, 2025 09:44
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.5 chore(deps): update dependency fastapi to v0.123.6 Dec 4, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 5db3a18 to 3debe8d Compare December 4, 2025 13:27
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.6 chore(deps): update dependency fastapi to v0.123.7 Dec 4, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 3debe8d to 40d9f08 Compare December 4, 2025 17:31
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.7 chore(deps): update dependency fastapi to v0.123.8 Dec 4, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 40d9f08 to dcbd18b Compare December 5, 2025 01:29
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.8 chore(deps): update dependency fastapi to v0.123.9 Dec 5, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from dcbd18b to df8c5d1 Compare December 6, 2025 01:32
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.9 chore(deps): update dependency fastapi to v0.123.10 Dec 6, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from df8c5d1 to 2eb0110 Compare December 6, 2025 17:18
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.123.10 chore(deps): update dependency fastapi to v0.124.0 Dec 6, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 2eb0110 to d63bfb6 Compare December 10, 2025 17:35
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.124.0 chore(deps): update dependency fastapi to v0.124.2 Dec 10, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from d63bfb6 to bafbd04 Compare December 12, 2025 17:33
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.124.2 chore(deps): update dependency fastapi to v0.124.4 Dec 12, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from bafbd04 to c169d80 Compare December 18, 2025 01:27
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.124.4 chore(deps): update dependency fastapi to v0.125.0 Dec 18, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from c169d80 to 462fd81 Compare December 20, 2025 17:37
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.125.0 chore(deps): update dependency fastapi to v0.126.0 Dec 20, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 462fd81 to 4d82d79 Compare December 21, 2025 17:41
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.126.0 chore(deps): update dependency fastapi to v0.127.0 Dec 21, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from 4d82d79 to abd6882 Compare December 26, 2025 17:44
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.127.0 chore(deps): update dependency fastapi to v0.127.1 Dec 26, 2025
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/development/fastapi-0.x branch from abd6882 to 7fc2bc8 Compare December 27, 2025 17:37
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update dependency fastapi to v0.127.1 chore(deps): update dependency fastapi to v0.128.0 Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant