343 Commits (c0bfb91120df88fd117d90376aae08e8a9dd6bfa)

Author SHA1 Message Date
Alejandra 9b88c7c18a
Simplify tests for body_fields (#13169) 8 months ago
Alejandra 0cc031f477
Simplify tests for body (#13168) 8 months ago
Alejandra 5d3f45c2d4
Simplify tests for bigger_applications (#13167) 8 months ago
Alejandra 44adb29ce1
Simplify tests for background_tasks (#13166) 8 months ago
Sebastián Ramírez 994340f839
Simplify tests for additional_status_codes (#13149) 8 months ago
Sebastián Ramírez 4881d1e225
📝 Update docs for `fastapi-cli` (#13031) 9 months ago
Abdullah Hashim 4f8157588e
🐛 Preserve traceback when exception is raised in sync dependency with `yield` (#5823) 9 months ago
Tamir Duberstein bf4fad1fda
♻️ Update tests and internals for compatibility with Pydantic >=2.10 (#12971) 10 months ago
Sebastián Ramírez 5c080d81ae
📝 Update includes for `docs/en/docs/tutorial/schema-extra-example.md` (#12822) 10 months ago
Sebastián Ramírez b31cbbf5f5
♻️ Update logic to import and check `python-multipart` for compatibility with newer version (#12627) 11 months ago
Felix Fanghaenel e049fc4ea1
🐛 Fix openapi generation with responses kwarg (#10895) 11 months ago
Sebastián Ramírez 7daaac2bc3
Add new tutorial for SQL databases with SQLModel (#12285) 11 months ago
Peter Volf cca673514c
fix duplicate websocket dependency test 11 months ago
Peter Volf bda286314a
add tests for duplicate special dependency bug fix 11 months ago
Sebastián Ramírez 55035f440b
Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` (#12199) 12 months ago
Nico Tonnhofer 88d4f2cb18
🐛 Fix form field regression (#12194) 1 year ago
Sebastián Ramírez b0eedbb580
️ Improve performance in request body parsing with a cache for internal model fields (#12184) 1 year ago
Sebastián Ramírez 4633b1bca9
Add support for forbidding extra form fields with Pydantic models (#12134) 1 year ago
Sebastián Ramírez c411b81c29
Update internal tests for latest Pydantic, including CI tweaks to install the latest Pydantic (#12147) 1 year ago
Sebastián Ramírez 7bad7c0975
Add support for Pydantic models in `Form` parameters (#12129) 1 year ago
Sebastián Ramírez 8e6cf9ee9c
️ Temporarily revert " Add support for Pydantic models in `Form` parameters" to make a checkpoint release (#12128) 1 year ago
Sebastián Ramírez 0f3e65b007
Add support for Pydantic models in `Form` parameters (#12127) 1 year ago
Sebastián Ramírez aa21814a89
♻️ Refactor deciding if `embed` body fields, do not overwrite fields, compute once per router, refactor internals in preparation for Pydantic models in `Form`, `Query` and others (#12117) 1 year ago
Giunio 51b625e127
🐛 Fix `allow_inf_nan` option for Param and Body classes (#11867) 1 year ago
Pastukhov Nikita 3a4ac24675
🐛 Ensure that `app.include_router` merges nested lifespans (#9630) 1 year ago
Sebastián Ramírez 3a3ad5d66d
⬆️ Upgrade version of Ruff and reformat (#12032) 1 year ago
Sebastián Ramírez a25c92ceb9
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935) 1 year ago
jianghuyiyuan 2e35b176cf
✏️ Fix typos in docs (#11926) 1 year ago
Nir Schulman a69f38340f
📝 Restored Swagger-UI links to use the latest version possible. (#11459) 1 year ago
Nils Lindemann 6d523d62d0
📝 Fix types in examples under `docs_src/extra_data_types` (#10535) 1 year ago
arjwilliams 09e4859cab
🐛 Fix support for query parameters with list types, handle JSON encoding Pydantic `UndefinedType` (#9929) 1 year ago
Sebastián Ramírez 27da0d02a7
Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 1 year ago
Nadav Zingerman eec612ca8d
🐛 Fix parameterless `Depends()` with generics (#9479) 1 year ago
Charlie Marsh 5ccc869fee
⬆️ Upgrade configuration for Ruff v0.2.0 (#11075) 1 year ago
Alejandra 93034fea48
📝 Update links to Pydantic docs to point to new website (#11328) 1 year ago
bebop 478288700a
📝 Update examples for tests to replace "inexistent" for "nonexistent" (#11220) 2 years ago
Sebastián Ramírez bf771bd781
🐛 Fix unhandled growing memory for internal server errors, refactor dependencies with `yield` and `except` to require raising again as in regular Python (#11191) 2 years ago
Emmett Butler f18eadb7de
Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite (#10876) 2 years ago
ooknimm be0bd34446
Re-enable test in `tests/test_tutorial/test_header_params/test_tutorial003.py` after fix in Starlette (#10904) 2 years ago
Ezzeddin Abdullah 0c796747a3
📝 Update template docs with more info about `url_for` (#5937) 2 years ago
Sebastián Ramírez dd790c34ff
✏️ Fix typo in dependencies with yield source examples (#10847) 2 years ago
Sebastián Ramírez a4aa79e0b4
Add support for raising exceptions (including `HTTPException`) in dependencies with `yield` in the exit code, do not support them in background tasks (#10831) 2 years ago
Sebastián Ramírez 6f5aa81c07
Add support for multiple Annotated annotations, e.g. `Annotated[str, Field(), Query()]` (#10773) 2 years ago
Alejandra Klachquin 758a8f29e1
📌 Pin Swagger UI version to 5.9.0 temporarily to handle a bug crashing it in 5.9.1 (#10529) 2 years ago
Sebastián Ramírez 2e14c69c31
👷 Adopt Ruff format (#10517) 2 years ago
Heinz-Alexander Fuetterer ae84ff6e44
✏️ Fix typos in emoji docs and in some source examples (#10438) 2 years ago
Sebastián Ramírez 05ca41cfd1
Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 2 years ago
Sebastián Ramírez bc935e08b6
⬆️ Upgrade compatibility with Pydantic v2.4, new renamed functions and JSON Schema input/output models with default values (#10344) 2 years ago
Sebastián Ramírez 37d46e6b6c
Add missing test for OpenAPI examples, it was missing in coverage (#10188) 2 years ago
Sebastián Ramírez 1b714b3177
Add support for `openapi_examples` in all FastAPI parameters (#10152) 2 years ago