527 Commits
Author SHA1 Message Date
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
Sebastián Ramírez 4d3dc78b26 ✨ Add support for app.frontend("/", directory="dist") and router.frontend("/", directory="dist") (#15800) 2026-06-20 00:20:49 +00:00
Sebastián Ramírez 6ac122071d ✨ Add iter_route_contexts() for advanced use cases that used to use router.routes (e.g. Jupyverse) (#15785) 2026-06-18 08:49:38 +02:00
Sebastián Ramírez b7de2b7feb 🔧 Add ty configs to check docs sources (#15770) 2026-06-15 17:53:46 +02:00
Sebastián Ramírez d8aad201eb 🐛 Fix bug, allow empty path in path operation in prefixless router (#15763) 2026-06-15 12:55:06 +02:00
Sebastián Ramírez 8e1d774cef ♻️ Refactor internals to preserve APIRouter and APIRoute instances (#15745) 2026-06-14 14:35:48 +02:00
Sebastián Ramírez b4d58fddee 👷 Automate release preparation (#15661) 2026-05-31 16:00:38 +00:00
Yurii Motov 59d4a80fcf ✅ Add httpx2 test dependency to avoid deprecation warning (#15603) 2026-05-27 12:47:28 +02:00
Sebastián Ramírez 063b5bf582 ♻️ Do not accept underscore headers when using convert_underscores=True (the default) (#15589) 2026-05-23 18:35:05 +00:00
Sebastián Ramírez c7fb7851b3 ♻️ Validate Server Sent Event fields to avoid applications from sending broken data (#15588) 2026-05-23 17:23:05 +00:00
Sebastián Ramírez 00f805cec9 ✅ Update tests, don't double dispose the engine (#15587) 2026-05-23 17:02:16 +00:00
Roman PostnovandSebastián Ramírez 8b647e3405 ⚡️ Speed up test suite via caching and fixture scopes to make it ~24% faster (#13583)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-05-23 17:32:48 +02:00
Sebastián Ramírez fb7429378d 👷 Add pre-commit to check typos (#15482) 2026-05-05 09:44:36 +00:00
Sofie Van Landeghemandpre-commit-ci-lite[bot] 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>
2026-04-23 18:40:29 +02:00