Skip to content

chore(deps): update dependency fastapi to v0.139.0#163

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/fastapi-0.x
Open

chore(deps): update dependency fastapi to v0.139.0#163
renovate[bot] wants to merge 1 commit into
devfrom
renovate/fastapi-0.x

Conversation

@renovate

@renovate renovate Bot commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) ==0.124.0==0.139.0 age confidence

Release Notes

fastapi/fastapi (fastapi)

v0.139.0

Compare Source

Features
  • ✨ Support dependencies in app.frontend(), e.g. for automatic cookie authentication for the frontend. PR #​15908 by @​tiangolo.
Translations
Internal

v0.138.2

Compare Source

Refactors
  • ♻️ Make app.frontend() return 404 for methods other than GET or HEAD with no static file matches. PR #​15863 by @​tiangolo.
Internal

v0.138.1

Compare Source

Refactors
Internal

v0.138.0

Compare Source

Features
  • ✨ Add support for app.frontend("/", directory="dist") and router.frontend("/", directory="dist"). PR #​15800 by @​tiangolo.
Docs
Translations
Internal

v0.137.2

Compare Source

Features
  • ✨ Add iter_route_contexts() for advanced use cases that used to use router.routes (e.g. Jupyverse). PR #​15785 by @​tiangolo.
Translations
Internal

v0.137.1

Compare Source

Fixes

v0.137.0

Compare Source

Breaking Changes

Unblocks ✨ SO MANY THINGS ✨

Before this, router.include_router(other_router) would take each path operation from other_router and "clone" it, or recreate it from scratch.

This would mean that in the end there was only one top level router, part of the app.

The way it is structured here is that there are a few additional classes to handle intermediate metadata for router and route inclusion. That way the information of "router X includes Y and Y includes Z" is stored somewhere, without affecting (recreating / clonning) the final route.

Non Objectives

Dependencies for 404: previously I intended to support dependencies that would be executed even for 404, but that would conflict with the fact that a router could not find a match, but the next router did find a match. Executing dependencies in the router that did not find a match would not make sense, they could consume the request, body, etc. This original idea was discarded.

Specific Breaking Changes

Now router.routes is no longer a plain list of APIRoute objects, it can contain these intermediate objects that can contain additional routers, forming a tree.

Any logic that depended on iterating on the router.routes directly would be affected, that logic cannot expect to be able to extract data from a plain list of routes, as it's no longer a plain list but a tree.

Additionally, any logic that iterated on router.routes to modify them would now also see these new objects, and would not see all the routes in the app.

router.routes should be considered an internal implementation detail, only passed around to the FastAPI functions that need it.

Features
  • Adding routes (path operations) after a router is included now works, they are reflected as they are not copied.
  • Including subrouter in mainrouter can be done before adding routes (path operations) to subrouter, because now the the entire object is stored instead of copying the routes.
  • As routes are not copied, in some cases that might save some memory.
Alpha Features

This is not documented yet, so it's not officially supported yet and could change in the future.

But, as APIRoute and APIRouter instances are now preserved, they could be customized.

APIRouter has two new methods, .matches() and .handle(), counterpart to the existing ones in APIRoute. With this a router could customize how it matches and handles requests. For example, it could match only requests that include some specific header, for example for handling versions in headers.

Still, for now, consider this very experimental and potentially changing and breaking in the future.

Future Features Enabled
  • Custom APIRoute subclasses (undocumented, but alraedy works as desccribed above)
  • Custom APIRouter subclasses (undocumented, but already works as described above)
  • Dependencies per router
  • Exception handlers per router
  • Middleware per router
  • Other features planned
Docs
Translations
Internal

v0.136.3

Compare Source

Refactors
  • ♻️ Do not accept underscore headers when using convert_underscores=True (the default). PR #​15589 by @​tiangolo.

v0.136.1

Compare Source

Upgrades
Internal

v0.136.0

Compare Source

Upgrades

v0.135.4

Compare Source

Refactors
Internal

v0.135.3

Compare Source

Features
Docs
Internal

v0.135.2

Compare Source

Upgrades
Docs
Translations
Internal

v0.135.1

Compare Source

Fixes
  • 🐛 Fix, avoid yield from a TaskGroup, only as an async context manager, closed in the request async exit stack. PR #​15038 by @​tiangolo.
Docs
Internal

v0.135.0

Compare Source

Features

v0.134.0

Compare Source

Features
  • ✨ Add support for streaming JSON Lines and binary data with yield. PR #​15022 by @​tiangolo.
    • This also upgrades Starlette from >=0.40.0 to >=0.46.0, as it's needed to properly unrwap and re-raise exceptions from exception groups.
    • New docs: Stream JSON Lines.
    • And new docs: Stream Data.
Docs
Internal

v0.133.1

Compare Source

Features
Internal

v0.133.0

Compare Source

v0.132.1

Compare Source

Refactors
Internal

v0.132.0

Compare Source

Breaking Changes
  • 🔒️ Add strict_content_type checking for JSON requests. PR #​14978 by @​tiangolo.
    • Now FastAPI checks, by default, that JSON requests have a Content-Type header with a valid JSON value, like application/json, and rejects requests that don't.
    • If the clients for your app don't send a valid Content-Type header you can disable this with strict_content_type=False.
    • Check the new docs: Strict Content-Type Checking.
Internal

v0.131.0

[Compare Source](https://redirect.gith

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 changed the title chore(deps): update dependency fastapi to v0.124.2 chore(deps): update dependency fastapi to v0.124.3 Dec 12, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from 2f69c5d to 9d7ca36 Compare December 12, 2025 18:04
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.124.3 chore(deps): update dependency fastapi to v0.124.4 Dec 12, 2025
@renovate renovate 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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from 86ebb89 to 004eae6 Compare December 20, 2025 17:13
@renovate renovate 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
@renovate renovate 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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 004eae6 to e31c5d0 Compare December 21, 2025 17:37
@renovate renovate 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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from c22ec0c to b714a2e Compare December 27, 2025 17:59
@renovate renovate 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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from b714a2e to f13ad21 Compare February 4, 2026 18:58
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.0 chore(deps): update dependency fastapi to v0.128.1 Feb 4, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from f13ad21 to 98afd6a Compare February 5, 2026 21:08
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.1 chore(deps): update dependency fastapi to v0.128.2 Feb 5, 2026
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.2 chore(deps): update dependency fastapi to v0.128.3 Feb 6, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 98afd6a to 7428545 Compare February 6, 2026 18:08
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.3 chore(deps): update dependency fastapi to v0.128.4 Feb 7, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from 35c1179 to b3151eb Compare February 8, 2026 12:27
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.4 chore(deps): update dependency fastapi to v0.128.5 Feb 8, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from b3151eb to 10d3248 Compare February 9, 2026 18:34
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.5 chore(deps): update dependency fastapi to v0.128.6 Feb 9, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 10d3248 to 1179577 Compare February 10, 2026 14:14
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.6 chore(deps): update dependency fastapi to v0.128.7 Feb 10, 2026
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.128.7 chore(deps): update dependency fastapi to v0.128.8 Feb 11, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 1179577 to a8d806f Compare February 11, 2026 17:11
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.133.0 chore(deps): update dependency fastapi to v0.133.1 Feb 25, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from a031b57 to 34f401b Compare February 28, 2026 01:50
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.133.1 chore(deps): update dependency fastapi to v0.134.0 Feb 28, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 34f401b to e2501dd Compare March 1, 2026 21:02
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.134.0 chore(deps): update dependency fastapi to v0.135.1 Mar 1, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from e2501dd to bcfc9d4 Compare March 23, 2026 16:54
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.135.1 chore(deps): update dependency fastapi to v0.135.2 Mar 23, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from bcfc9d4 to 67247d5 Compare April 1, 2026 16:57
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.135.2 chore(deps): update dependency fastapi to v0.135.3 Apr 1, 2026
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.135.3 chore(deps): update dependency fastapi to v0.136.0 Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 67247d5 to 58c3bfb Compare April 16, 2026 12:15
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 58c3bfb to f8b791b Compare April 23, 2026 22:10
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.136.0 chore(deps): update dependency fastapi to v0.136.1 Apr 23, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from f8b791b to ec81d11 Compare May 24, 2026 10:57
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.136.1 chore(deps): update dependency fastapi to v0.136.3 May 24, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from ec81d11 to 4b1be81 Compare June 14, 2026 13:00
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.136.3 chore(deps): update dependency fastapi to v0.137.0 Jun 14, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 4b1be81 to 55ed2cf Compare June 15, 2026 14:02
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.137.0 chore(deps): update dependency fastapi to v0.137.1 Jun 15, 2026
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.137.1 chore(deps): update dependency fastapi to v0.137.2 Jun 18, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from 07d41e5 to 75a18ed Compare June 20, 2026 02:41
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.137.2 chore(deps): update dependency fastapi to v0.138.0 Jun 20, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 75a18ed to 208ced2 Compare June 25, 2026 18:47
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.138.0 chore(deps): update dependency fastapi to v0.138.1 Jun 25, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 208ced2 to a2826dd Compare June 29, 2026 15:50
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.138.1 chore(deps): update dependency fastapi to v0.138.2 Jun 29, 2026
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from a2826dd to 68b8dbc Compare July 1, 2026 22:02
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.138.2 chore(deps): update dependency fastapi to v0.139.0 Jul 1, 2026
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.

0 participants