Skip to content

fix(deps): update dependency fastapi to v0.141.1 - #1048

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

fix(deps): update dependency fastapi to v0.141.1#1048
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/fastapi-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fastapi (changelog) ==0.136.3==0.141.1 age confidence

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

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 is behind base branch, 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 added the dependencies Pull requests that update a dependency file label Jun 14, 2026
@renovate
renovate Bot requested a review from rclement June 14, 2026 13:38
@github-actions

Copy link
Copy Markdown
Contributor

Code coverage report

Name Stmts Miss Branch BrPart Cover Missing
mailer/__about__.py 8 0 0 0 100%
mailer/__init__.py 17 0 2 0 100%
mailer/api.py 83 0 10 0 100%
mailer/home.py 10 0 0 0 100%
mailer/mailer.py 99 0 10 0 100%
mailer/recaptcha.py 9 0 4 0 100%
mailer/sentry.py 8 0 0 0 100%
mailer/settings.py 35 0 4 0 100%
tests/__init__.py 0 0 0 0 100%
tests/conftest.py 35 0 0 0 100%
tests/test_api.py 421 0 10 0 100%
tests/test_home.py 36 0 0 0 100%
tests/test_mailer.py 9 0 0 0 100%
tests/test_settings.py 26 0 0 0 100%
tests/utils.py 91 0 2 0 100%
TOTAL 887 0 42 0 100%

Diff Coverage

Diff: origin/master..HEAD

No lines with coverage information in this diff.

@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.137.0 fix(deps): update dependency fastapi to v0.137.1 Jun 16, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 562c0d0 to 448f8c6 Compare June 16, 2026 00:53
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.137.1 fix(deps): update dependency fastapi to v0.137.2 Jun 18, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 448f8c6 to f14201c Compare June 18, 2026 12:51
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.137.2 fix(deps): update dependency fastapi to v0.138.0 Jun 20, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from f14201c to d59c56a Compare June 20, 2026 03:26
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.138.0 fix(deps): update dependency fastapi to v0.138.1 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from d59c56a to bf42340 Compare June 25, 2026 17:52
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.138.1 fix(deps): update dependency fastapi to v0.138.2 Jun 29, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from bf42340 to 50ff404 Compare June 29, 2026 18:05
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.138.2 fix(deps): update dependency fastapi to v0.139.0 Jul 1, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 50ff404 to 8286148 Compare July 1, 2026 22:12
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 8286148 to 178d37b Compare July 16, 2026 09:57
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.139.0 fix(deps): update dependency fastapi to v0.139.1 Jul 16, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 178d37b to a7a3eda Compare July 16, 2026 23:56
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.139.1 fix(deps): update dependency fastapi to v0.139.2 Jul 16, 2026
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.139.2 fix(deps): update dependency fastapi to v0.140.0 Jul 24, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch 2 times, most recently from 2daaddc to a50b145 Compare July 27, 2026 12:47
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.140.0 fix(deps): update dependency fastapi to v0.140.1 Jul 27, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from a50b145 to eb991fc Compare July 27, 2026 19:06
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.140.1 fix(deps): update dependency fastapi to v0.140.7 Jul 27, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from eb991fc to 1bb41db Compare July 28, 2026 10:44
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.140.7 fix(deps): update dependency fastapi to v0.140.8 Jul 28, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 1bb41db to b35d87c Compare July 28, 2026 15:12
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.140.8 fix(deps): update dependency fastapi to v0.140.12 Jul 28, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from b35d87c to f4952ea Compare July 28, 2026 19:51
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.140.12 fix(deps): update dependency fastapi to v0.140.13 Jul 28, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from f4952ea to 028155c Compare July 29, 2026 15:37
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.140.13 fix(deps): update dependency fastapi to v0.141.0 Jul 29, 2026
@renovate
renovate Bot force-pushed the renovate/fastapi-0.x branch from 028155c to 99c297c Compare July 29, 2026 19:02
@renovate renovate Bot changed the title fix(deps): update dependency fastapi to v0.141.0 fix(deps): update dependency fastapi to v0.141.1 Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant