567 Commits
Author SHA1 Message Date
Sebastián Ramírez b0a616d9fa ✨ Add configurable form parsing limits (#16784) 2026-11-18 18:57:33 +00:00
Sebastián Ramírez 55ee14be5e ✨ Add configurable request body size limits (#16781) 2026-11-18 13:52:37 +01:00
Sebastián Ramírez 2d64371a2b ♻️ Refactor query, header, and form parameter extraction (#16779)
♻️ Refactor query, header, and form parameter extraction

## AI Disclaimer

Made with the help of AI, using Codex with `gpt-6-astra`, manually reviewed.
2026-11-17 19:11:08 +01:00
Yurii MotovandSebastián Ramírez a1a05b75d3 🐛 Fix OpenAPI for response model with nested computed field (#14490)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-11-15 10:14:10 +01:00
Sebastián Ramírez fc07dde880 ✨ Add dependency concurrency limits with Depends(max_concurrency=...) (#16746) 2026-11-14 17:29:22 +01:00
Sebastián Ramírez 5f4f9c1976 🐛 Fix async yield dependency cleanup on cancellation (#16739) 2026-11-13 18:22:00 +01:00
Sebastián Ramírez 28eaf6a22c 💥 Drop support for Python 3.10 (#16737) 2026-11-13 14:17:31 +01:00
Sebastián Ramírez eb2f4926de 🐛 Fix synchronous dependency cleanup on cancellation (#16734) 2026-11-11 23:11:06 +01:00
Sebastián Ramírez 993400812c 📝 Adopt unversioned snippets and _non_an variants (#16707) 2026-11-09 15:42:59 +01:00
Sebastián Ramírez bc8b188201 🔧 Add an agent skills note to GitHub releases (#16696) 2026-11-07 16:09:46 +01:00
Sebastián Ramírez f02ef4900b 🐛 Restore default handling for omitted boolean form fields (#16605) 2026-10-23 20:33:36 +02:00
Sebastián Ramírez f90d036938 🐛 Fix OpenAPI schemas for standalone nullable form unions (#16598) 2026-10-22 21:02:05 +02:00
Sebastián Ramírez e42ac0a134 ✨ Add support for combining unions of form models (#16596) 2026-10-22 20:14:59 +02:00
Sebastián Ramírez 91a335ce94 🐛 Apply each parameter model's extra configuration to sibling fields (#16594) 2026-10-22 18:29:47 +02:00
Sebastián Ramírez 86274cc0ac ✨ Add support for optional unions of form models (#16586) 2026-10-21 22:37:01 +02:00
Sebastián Ramírez 2f6d43c6ec ✨ Add support for optional query, header, and cookie parameter models (#16584) 2026-10-21 21:53:11 +02:00
Sebastián Ramírez 410270fa3b ✨ Add support for optional form models (#16582) 2026-10-21 21:03:13 +02:00
Sebastián Ramírez c059fbf0f2 🐛 Preserve form media types in OpenAPI (#16579) 2026-10-21 19:31:34 +02:00
Sebastián Ramírez 48e43e5cbf ✨ Add support for combining form models (#16577) 2026-10-21 18:43:09 +02:00
Sebastián Ramírez 578af61e04 ✨ Add support for combining query, header, and cookie parameter models (#16573) 2026-10-21 15:43:11 +02:00
Sebastián Ramírez f23cd4f095 📝 Clarify boolean query parameter parsing (#16569) 2026-10-21 09:34:12 +00:00
Sebastián Ramírez f75181e4ad 📝 Clarify nullable query parameters and path parameter defaults (#16568) 2026-10-21 11:00:05 +02:00
Sebastián Ramírez b47e166dd5 🐛 Preserve uploaded file positions when converting to bytes (#16566) 2026-10-21 10:26:50 +02:00
Sebastián Ramírez 1282e9a9f1 🐛 Fix validation error locations for form and file AliasChoices (#16564) 2026-10-21 10:05:31 +02:00
Sebastián Ramírez bd4d5705d5 🐛 Respect model alias settings for query, header, and cookie parameters (#16562) 2026-10-21 09:43:57 +02:00
Sebastián Ramírez 89317c7003 🐛 Fix AliasChoices for path parameters (#16560) 2026-10-21 09:13:29 +02:00
Sebastián Ramírez 2d1851f35d 🐛 Fix AliasChoices for named JSON body parameters (#16559) 2026-10-21 00:46:44 +02:00
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