Commit Graph
540 Commits
Author SHA1 Message Date
Sebastián Ramírez 75f3a14935 🐛 Fix AliasChoices extraction for form models (#16557) 2026-10-20 22:19:33 +00:00
Sebastián Ramírez dfb3b91b7c 🐛 Fix AliasChoices for query parameters, headers, and cookies (#16555) 2026-10-20 23:37:24 +02:00
Sebastián Ramírez f5a439d59b 🐛 Preserve Pydantic field metadata in inferred request parameters (#16553) 2026-10-20 22:01:01 +02:00
Sebastián Ramírez 0a8c3fae54 🐛 Preserve Pydantic field metadata when request options are omitted (#16549) 2026-10-20 20:12:10 +02:00
Sebastián Ramírez f8cba1038d 🐛 Preserve Pydantic Field() attributes in request parameters (#16547) 2026-10-20 19:19:31 +02:00
Sebastián Ramírez 34b1783f88 🔥 Remove deprecated **extra from request parameters (#16545) 2026-10-20 18:34:47 +02:00
Sebastián Ramírez 597b5a7c82 ✨ Add Pydantic validation options to request parameters (#16542) 2026-10-20 17:29:14 +02:00
Sebastián Ramírez fef9257394 🐛 Apply browser form handling to unions of Pydantic models (#16540) 2026-10-20 15:34:52 +02:00
Sebastián Ramírez 5ef18bfe8e 🐛 Fix header model validation errors to report HTTP header names (#16538) 2026-10-20 13:50:40 +02:00
Sebastián Ramírez b3e04195ab 🐛 Distinguish JSON null from omitted body values (#16536) 2026-10-20 09:58:32 +02:00
Sebastián Ramírez 0890e2a329 🐛 Treat unselected browser file inputs as missing (#16534) 2026-10-20 00:27:28 +02:00
Sebastián Ramírez f214cd3462 🐛 Treat empty scalar values as missing in form models (#16529) 2026-10-19 19:10:12 +02:00
Sebastián Ramírez 32240026ad 🐛 Fix default handling for request parameters and models (#16527) 2026-10-19 14:14:40 +02:00
Sebastián Ramírez 19c0b7a5b0 🐛 Treat omitted boolean form fields as False (#16523) 2026-10-19 11:36:46 +02:00
6a5069998a ✅ Add tests for parameter defaults, nullability, and browser form behavior (#14829)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-10-19 09:42:19 +02:00
Sebastián Ramírez 45c4199384 🗑️ Deprecate the root_path parameter in FastAPI (#16520) 2026-10-18 17:07:43 +02:00
Sebastián Ramírez a37a162de6 🔥 Remove deprecated openapi_prefix and unused **extra from FastAPI (#16518) 2026-10-18 16:22:43 +02:00
Sebastián Ramírez 4f940b1b72 📝 Document URL paths in templates (#16517) 2026-10-18 14:58:54 +02:00
1884325cd6 ✨ Add WebSocket support to security dependencies (#10147)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-10-18 13:09:15 +02:00
fab6eeacae 🐛 Fix handling of empty value for byte file list parameter (#9383)
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-10-18 11:01:43 +02:00
Sebastián Ramírez d1fd422fd9 🐛 Fix non-finite float serialization in JSONL and SSE streams (#16509) 2026-10-16 16:03:22 +02:00
Sebastián Ramírez d0282a388b 🐛 Fix blocking frontend fallback file checks (#16503) 2026-10-15 15:22:29 +02:00
Sebastián Ramírez 5e6a1eec1f 🐛 Fix included route metadata in iter_route_contexts() (#16484) 2026-10-14 14:41:50 +02:00
Sebastián Ramírez af889e400b 💥 Require opt-in for automatic OpenTelemetry exporter setup (#16476) 2026-10-08 13:51:39 +02:00
Sebastián Ramírez 4e31a07baf 🐛 Isolate FastAPI telemetry for excluded requests (#16470) 2026-10-07 23:02:49 +02:00
Sebastián Ramírez 6eae2f3456 🐛 Cache OpenTelemetry tracers to preserve warning deduplication (#16468) 2026-10-07 21:04:19 +02:00
Sebastián Ramírez 1d4953d2e5 🐛 Allow startup when automatic OpenTelemetry configuration fails (#16418) 2026-09-30 11:37:28 +02:00
Sebastián Ramírez ac88f563db 🐛 Fix repeated endpoint wrapping in included routers (#16414) 2026-09-29 22:25:03 +00:00
Sebastián Ramírez 4b3949cd9e ✨ Add native OpenTelemetry support (#16403) 2026-09-29 19:25:55 +02:00
Yurii Motov 79d42b219b ✅ Fix frontend test timeout with Starlette Git (#16408) 2026-09-29 10:26:14 +02:00
Sebastián Ramírez 24ecb120f4 👷 Update translation PR branches with PR Push (#16224) 2026-08-18 21:42:27 +02:00
dependabot[bot]andYurii Motov 84fc3860b7 ⬆ Bump the python-packages group with 12 updates (#16121)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com>
2026-08-05 09:34:07 +02:00
Sebastián Ramírez d62354434b 🐛 Fix support for background tasks and headers from dependencies in app.frontend() (#16105) 2026-07-29 19:04:36 +02:00
Sebastián Ramírez 5429fed84e ✨ Add app.frontend(check_dir="auto"), to make local development more convenient with fastapi dev (#16102) 2026-07-29 16:31:28 +02:00
e92a0dc3ce 🐛 Fix status_code being ignored for SSE and JSONL streaming endpoints (#15937)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com>
2026-07-28 17:25:12 +02:00
0f3e7bd682 🐛 Fix line splitting in format_sse_event to comply with SSE spec (#15515)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <109919500+YuriiMotov@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-07-28 16:54:54 +02:00
Yurii MotovandSebastián Ramírez d6537f774b 🐛 Fix response_model_* params ignored for non-generator endpoints with Iterable[..] return type (#15093)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-07-28 16:22:05 +02:00
Yurii MotovandSebastián Ramírez 65e42bd5ec 🐛 Fix handling sequences with nested Annotated types (#14874)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-07-28 16:04:16 +02:00
Muhammad Bin GulzarandSebastián Ramírez aadfcce763 🐛 Fix exclude_defaults not propagated to dict keys and values in jsonable_encoder (#16043)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-07-28 12:28:18 +00:00
ad03e117c0 🐛 Fix stream item type lost when using include_router() (#15077)
Co-authored-by: Alexander Rauhut <alexander.rauhut@adnova.gmbh>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-07-28 12:22:08 +02:00
Sebastián Ramírez 7bcb78d10d ⚡️ Avoid flattening dependencies for OpenAPI (#16076) 2026-07-27 17:16:40 +00:00
Sebastián Ramírez 3d3c6913e8 👷 Add OpenAPI dependency benchmarks (#16075) 2026-07-27 18:46:54 +02:00
Sebastián Ramírez 2f34b90742 👷 Add new memory benchmark (#16064) 2026-07-27 12:39:36 +00:00
Sebastián Ramírez 65ef53ae6a ♻️ Update the lru_cache limit for dependencies to account for large apps (#16062) 2026-07-27 11:18:26 +00:00
Sebastián Ramírez 0270829500 ⚡️ Reduce memory usage in dependencies (#16049) 2026-07-24 21:07:51 +00:00
Sebastián Ramírez 513c396322 👷 Add CI memory benchmark (#16046) 2026-07-24 20:21:58 +00:00
Sebastián Ramírez 7fe315c21a 🐛 Refactor router route building to make it thread-safe, mainly relevant for tests running in parallel threads (uncommon) (#16013) 2026-07-16 16:57:38 +02:00
Sebastián Ramírez eb75fd078e 🐛 Fix frontend fallback support for doted paths like /users/john.doe (#16011) 2026-07-16 10:59:23 +02:00
Sebastián Ramírez 319be508ce ✨ Support dependencies in app.frontend(), e.g. for automatic cookie authentication for the frontend (#15908) 2026-07-01 18:12:33 +02:00
Sebastián Ramírez b790e14cb6 ♻️ Make app.frontend() return 404 for methods other than GET or HEAD with no static file matches (#15863) 2026-06-29 13:57:59 +02:00