Jean-Baptiste Braun
eca7bc9602
🐛 Propagate `stream_item_type` through `include_router` for SSE / JSONL routes ( #15401 )
When an SSE route (or JSONL streaming route) is defined on an
`APIRouter` and merged onto a `FastAPI` app via `include_router`, the
merged route silently lost its `stream_item_type`. As a consequence the
emitted OpenAPI schema dropped the `contentSchema` describing the
streamed item and downstream tools (`datamodel-codegen`, etc.) could no
longer generate frame models from the spec.
Root cause: `APIRoute.__init__` only ran stream-item detection inside
the `isinstance(response_model, DefaultPlaceholder)` branch. The source
route's `__init__` collapses `self.response_model` to `None` after
detection, so when `APIRouter.include_router` re-instantiates the route
via `add_api_route(response_model=route.response_model, ...)` the new
init sees an explicit `None` and skips detection entirely.
Fix: also run detection when `response_model is None` on entry, and
restrict the "promote return annotation to response_model" fallback to
the original `DefaultPlaceholder` case so an explicit `response_model=
None` still disables response validation as documented.
Adds a regression test asserting both `stream_item_type` propagation and
the presence of `contentSchema` in the merged route's OpenAPI.
Co-Authored-By: Claude Code <[email protected] >
2 months ago
github-actions[bot]
622b6356b5
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
fb7429378d
👷 Add pre-commit to check typos ( #15482 )
2 months ago
github-actions[bot]
3efd86c1fd
📝 Update release notes
[skip ci]
2 months ago
Carlos Rodríguez Romo
f8cbeabf81
🌐 Fix typos in Spanish LLM-prompt ( #15472 )
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
8c660a6819
📝 Update release notes
[skip ci]
2 months ago
Isaac
810fd2a888
✏️ Fix Azkaban spelling typo in `virtual-environments.md` ( #15463 )
2 months ago
github-actions[bot]
ecf73d61c3
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
9ccaab154a
👥 Update FastAPI GitHub topic repositories ( #15470 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
f72afb6f6e
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
8da79ec2fe
👥 Update FastAPI People - Experts ( #15471 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
205bd85a46
📝 Update release notes
[skip ci]
2 months ago
Sebastián Ramírez
bc8b1d101c
👥 Update FastAPI People - Contributors and Translators ( #15467 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
e0a2c75b1a
📝 Update release notes
[skip ci]
2 months ago
Motov Yurii
33ed5aecdf
👷 Fix missing credentials issue in `translate` workflow ( #15468 )
2 months ago
github-actions[bot]
d8a2c1edaa
📝 Update release notes
[skip ci]
2 months ago
Alejandra
b363a1d002
💄 Improve layout and styling ( #15462 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
a3ceb9ca74
📝 Update release notes
[skip ci]
2 months ago
Alejandra
aff0b7cd43
💄 Refactor opinions section with interactive tabs and new logos ( #15458 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
6b20159c59
📝 Update release notes
[skip ci]
2 months ago
Alejandra
a217d2ff2a
📝 Add FastAPI Conf '26 announcement to docs ( #15457 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
4f64b8f651
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
1f7c8c1ad3
⬆ Bump sqlmodel from 0.0.32 to 0.0.38 ( #15437 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
0e78824634
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
4bad6d2597
⬆ Bump CodSpeedHQ/action from 4.12.1 to 4.14.0 ( #15436 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
44ddc3e7c8
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
edc4c8ba33
⬆ Bump pydantic from 2.12.5 to 2.13.2 ( #15439 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
b44585589a
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
f43cc1c0ef
⬆ Bump pydantic-ai from 1.63.0 to 1.83.0 ( #15417 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
5c89b88c9f
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
4216f99515
⬆ Bump prek from 0.3.2 to 0.3.9 ( #15418 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
33aa27c7b7
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
086048e395
⬆ Bump fastar from 0.9.0 to 0.11.0 ( #15419 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
91dd310da9
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
3747204677
⬆ Bump astral-sh/setup-uv from 7.6.0 to 8.1.0 ( #15415 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Sebastián Ramírez
e54e5a8980
🔖 Release version 0.136.1
2 months ago
github-actions[bot]
9a8a5fd999
📝 Update release notes
[skip ci]
2 months ago
Sofie Van Landeghem
7815a32f2e
⬆️ Update Pydantic v2 code to address deprecations ( #15101 )
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
ef1c927b05
📝 Update release notes
[skip ci]
2 months ago
Motov Yurii
38039e12a8
🔨 Tweak translation script ( #15174 )
2 months ago
github-actions[bot]
4fa826ce0a
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
c39415673e
⬆ Bump mkdocs-material from 9.7.1 to 9.7.6 ( #15408 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
ae230ad2f9
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
d9eb39d1a1
⬆ Bump inline-snapshot from 0.31.1 to 0.32.6 ( #15409 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
4f8b5d14d3
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
04958499e0
⬆ Bump pytest-codspeed from 4.3.0 to 4.4.0 ( #15407 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
71f3c30108
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
ea230dc80b
⬆ Bump pytest-cov from 7.0.0 to 7.1.0 ( #15406 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
5f68b19002
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
7402e33375
⬆ Bump cloudflare/wrangler-action from 3.14.1 to 3.15.0 ( #15405 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago