Skip to content

chore(deps): update dependency fastapi to v0.138.1#99

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

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

Conversation

@renovate

@renovate renovate Bot commented Sep 13, 2024

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.114.1==0.138.1 age confidence

Release Notes

fastapi/fastapi (fastapi)

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

Breaking Changes

v0.130.0

Compare Source

Features

v0.129.2

Compare Source

Internal

v0.129.1

Compare Source

Fixes
  • ♻️ Fix JSON Schema for bytes, use "contentMediaType": "application/octet-stream" instead of "format": "binary". PR #​14953 by @​tiangolo.
Docs
Translations
Internal

v0.129.0

Compare Source

Breaking Changes
Refactors

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.114.2 chore(deps): update dependency fastapi to v0.115.0 Sep 17, 2024
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from af3e0e0 to 81a8eec Compare September 17, 2024 20:02
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 81a8eec to e085127 Compare October 12, 2024 13:22
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.115.0 chore(deps): update dependency fastapi to v0.115.2 Oct 12, 2024
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.115.2 chore(deps): update dependency fastapi to v0.115.3 Oct 22, 2024
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from e085127 to ed15397 Compare October 22, 2024 15:33
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.115.3 chore(deps): update dependency fastapi to v0.115.4 Oct 27, 2024
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from ed15397 to 2a6b250 Compare October 27, 2024 22:17
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 2a6b250 to 7001b56 Compare November 12, 2024 19:48
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.115.4 chore(deps): update dependency fastapi to v0.115.5 Nov 12, 2024
@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 3, 2024
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 7001b56 to 9ab419e Compare December 3, 2024 23:24
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 9ab419e to bf4a1da Compare January 23, 2025 02:13
@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 bf4a1da to 690052e Compare January 30, 2025 17:27
@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 690052e to 42dad58 Compare February 27, 2025 20:02
@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 42dad58 to 3f5d3bc Compare February 28, 2025 19:18
@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 3f5d3bc to 0388413 Compare March 2, 2025 01:34
@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 0388413 to 822e99c Compare March 24, 2025 03:00
@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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 822e99c to b7fb543 Compare June 17, 2025 13:46
@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 b7fb543 to ea01917 Compare June 26, 2025 16:49
@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 ea01917 to 6ed6188 Compare July 7, 2025 20:00
@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 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 f56cbf0 to 4cfab8b Compare October 11, 2025 21:13
@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 4cfab8b to 718472c Compare October 25, 2025 03:55
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.119.0 chore(deps): update dependency fastapi to v0.120.0 Oct 25, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 718472c to d5bd4eb Compare October 27, 2025 18:59
@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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from d5bd4eb to 0b94e91 Compare October 29, 2025 23:04
@renovate renovate 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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 0b94e91 to 73a35d7 Compare October 30, 2025 22:00
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.120.2 chore(deps): update dependency fastapi to v0.120.3 Oct 30, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 73a35d7 to 6c5e5a7 Compare October 31, 2025 21:07
@renovate renovate 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
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 6c5e5a7 to ca08a42 Compare November 3, 2025 12:01
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.120.4 chore(deps): update dependency fastapi to v0.121.0 Nov 3, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from ca08a42 to fc23966 Compare November 15, 2025 08:12
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.121.0 chore(deps): update dependency fastapi to v0.121.2 Nov 15, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from fc23966 to 9012550 Compare November 20, 2025 11:35
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.121.2 chore(deps): update dependency fastapi to v0.121.3 Nov 20, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from 9012550 to f5f44b4 Compare November 25, 2025 07:57
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.121.3 chore(deps): update dependency fastapi to v0.122.0 Nov 25, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from f5f44b4 to e00d47f Compare December 1, 2025 23:29
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.122.0 chore(deps): update dependency fastapi to v0.123.0 Dec 1, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from e00d47f to f341c32 Compare December 2, 2025 23:58
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.123.0 chore(deps): update dependency fastapi to v0.123.5 Dec 2, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from f341c32 to e47542d Compare December 4, 2025 11:57
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.123.5 chore(deps): update dependency fastapi to v0.123.7 Dec 4, 2025
@renovate renovate Bot force-pushed the renovate/fastapi-0.x branch from e47542d to 800a4c8 Compare December 5, 2025 23:04
@renovate renovate Bot changed the title chore(deps): update dependency fastapi to v0.123.7 chore(deps): update dependency fastapi to v0.123.10 Dec 5, 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.

0 participants