Skip to content

Update dependency fastapi to ^0.141.0 - #21

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

Update dependency fastapi to ^0.141.0#21
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fastapi-0.x

Conversation

@renovate

@renovaterenovateBot commented Sep 20, 2025

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageChangeAgeConfidence
fastapi (changelog)^0.116.1^0.141.0ageconfidence

Release Notes

fastapi/fastapi (fastapi)

v0.141.1

Compare Source

Fixes
  • 🐛 Fix support for background tasks and headers from dependencies in app.frontend(). PR #​16105 by @​tiangolo.
Docs

v0.141.0

Compare Source

Features
  • ✨ Add app.frontend(check_dir="auto"), to make local development more convenient with fastapi dev. PR #​16102 by @​tiangolo.

v0.140.13

Compare Source

Fixes
Docs

v0.140.12

Compare Source

Fixes

v0.140.11

Compare Source

v0.140.10

Compare Source

Fixes
Internal

v0.140.9

Compare Source

Fixes
  • 🐛 Fix exclude_defaults not propagated to dict keys and values in jsonable_encoder. PR #​16043 by @​MBGrao.
Internal

v0.140.8

Compare Source

Fixes

v0.140.7

Compare Source

Refactors
Internal

v0.140.6

Compare Source

Refactors
  • ⚡️ Avoid flattening dependencies for request parameters, mainly for OpenAPI. PR #​16073 by @​tiangolo.

v0.140.5

Compare Source

Refactors

v0.140.4

Compare Source

v0.140.3

Compare Source

Refactors

v0.140.2

Compare Source

Refactors
Internal

v0.140.1

Compare Source

Refactors
  • ♻️ Update the lru_cache limit for dependencies to account for large apps. PR #​16062 by @​tiangolo.

v0.140.0

Compare Source

Refactors
Docs
Internal

v0.139.2

Compare Source

Fixes
  • 🐛 Refactor router route building to make it thread-safe, mainly relevant for tests running in parallel threads (uncommon). PR #​16013 by @​tiangolo.

v0.139.1

Compare Source

Fixes
Docs
  • 📝 Fix topic repository list not being displayed and skip_users not being applied. PR #​15995 by @​YuriiMotov.
Translations
Internal

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

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
renovateBotforce-pushed the renovate/fastapi-0.x branch from eb45828 to 1d06451CompareSeptember 29, 2025 05:59
@renovaterenovateBot changed the title Update dependency fastapi to ^0.117.0Update dependency fastapi to ^0.118.0Sep 29, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 4 times, most recently from bce987e to fef28eaCompareOctober 11, 2025 18:12
@renovaterenovateBot changed the title Update dependency fastapi to ^0.118.0Update dependency fastapi to ^0.119.0Oct 11, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 2 times, most recently from d675480 to 6eaabeaCompareOctober 24, 2025 02:09
@renovaterenovateBot changed the title Update dependency fastapi to ^0.119.0Update dependency fastapi to ^0.120.0Oct 24, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 5 times, most recently from 581eb28 to 7426d69CompareNovember 3, 2025 11:09
@renovaterenovateBot changed the title Update dependency fastapi to ^0.120.0Update dependency fastapi to ^0.121.0Nov 3, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 2 times, most recently from c5c8623 to fb5a783CompareNovember 13, 2025 22:59
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from fb5a783 to 2baa4a6CompareNovember 19, 2025 21:55
@renovaterenovateBot changed the title Update dependency fastapi to ^0.121.0Update dependency fastapi to ^0.122.0Nov 24, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 3 times, most recently from 4be68d7 to a7fbcf7CompareNovember 30, 2025 18:06
@renovaterenovateBot changed the title Update dependency fastapi to ^0.122.0Update dependency fastapi to ^0.123.0Nov 30, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 6 times, most recently from 2439afd to 9a63f8bCompareDecember 4, 2025 14:13
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 1f1bb68 to 0e2aa86CompareDecember 21, 2025 22:36
@renovaterenovateBot changed the title Update dependency fastapi to ^0.126.0Update dependency fastapi to ^0.127.0Dec 21, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 2 times, most recently from 3cbbcb9 to e9b6657CompareDecember 27, 2025 17:33
@renovaterenovateBot changed the title Update dependency fastapi to ^0.127.0Update dependency fastapi to ^0.128.0Dec 27, 2025
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 8 times, most recently from d512daa to 43611acCompareFebruary 11, 2026 17:10
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 43611ac to 77c36e1CompareFebruary 12, 2026 15:56
@renovaterenovateBot changed the title Update dependency fastapi to ^0.128.0Update dependency fastapi to ^0.129.0Feb 12, 2026
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 2 times, most recently from 6c8b9b9 to 9fc7d0eCompareFebruary 22, 2026 17:10
@renovaterenovateBot changed the title Update dependency fastapi to ^0.129.0Update dependency fastapi to ^0.131.0Feb 22, 2026
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 9fc7d0e to 9ef13dcCompareFebruary 23, 2026 18:45
@renovaterenovateBot changed the title Update dependency fastapi to ^0.131.0Update dependency fastapi to ^0.132.0Feb 23, 2026
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 9ef13dc to 89617b0CompareFebruary 24, 2026 14:07
@renovaterenovateBot changed the title Update dependency fastapi to ^0.132.0Update dependency fastapi to ^0.133.0Feb 24, 2026
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch 2 times, most recently from fc0bb60 to 6ee1d17CompareFebruary 27, 2026 22:36
@renovaterenovateBot changed the title Update dependency fastapi to ^0.133.0Update dependency fastapi to ^0.134.0Feb 27, 2026
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 6ee1d17 to 3f9119cCompareMarch 1, 2026 20:49
@renovaterenovateBot changed the title Update dependency fastapi to ^0.134.0Update dependency fastapi to ^0.135.0Mar 1, 2026
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 3f9119c to 8e56e73CompareMarch 23, 2026 18:19
@renovate
renovateBotforce-pushed the renovate/fastapi-0.x branch from 8e56e73 to 05aaa7fCompareApril 1, 2026 19:31
Sign up for freeto 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