323 Commits (155905194b91814e3a259d95abaf40bc7d8e9822)

Author SHA1 Message Date
pre-commit-ci[bot] 69d3529a4a 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 9 months ago
merlinz01 d57cd4f379 make compatible with Python <3.10 and Pydantic v1 9 months ago
merlinz01 41113e1199 make tests compatible with Python 3.8 and 3.9 9 months ago
pre-commit-ci[bot] e3f6632fa0 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 9 months ago
merlinz01 ebc60c12a3 Pass None instead of the default value to parameters that accept it when null is given 9 months ago
merlinz01 5658b92b4c Pass None instead of the default value to parameters that accept it when null is given 10 months ago
Sebastián Ramírez 7bad7c0975
Add support for Pydantic models in `Form` parameters (#12129) 10 months ago
Sebastián Ramírez 8e6cf9ee9c
️ Temporarily revert " Add support for Pydantic models in `Form` parameters" to make a checkpoint release (#12128) 10 months ago
Sebastián Ramírez 0f3e65b007
Add support for Pydantic models in `Form` parameters (#12127) 10 months 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) 10 months ago
Giunio 51b625e127
🐛 Fix `allow_inf_nan` option for Param and Body classes (#11867) 10 months ago
Pastukhov Nikita 3a4ac24675
🐛 Ensure that `app.include_router` merges nested lifespans (#9630) 10 months ago
Sebastián Ramírez 3a3ad5d66d
⬆️ Upgrade version of Ruff and reformat (#12032) 10 months ago
Sebastián Ramírez a25c92ceb9
♻️ Add support for `pip install "fastapi[standard]"` with standard dependencies and `python -m fastapi` (#11935) 11 months ago
jianghuyiyuan 2e35b176cf
✏️ Fix typos in docs (#11926) 11 months 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) 1 year 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) 1 year ago
Emmett Butler f18eadb7de
Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite (#10876) 1 year ago
ooknimm be0bd34446
Re-enable test in `tests/test_tutorial/test_header_params/test_tutorial003.py` after fix in Starlette (#10904) 1 year ago
Ezzeddin Abdullah 0c796747a3
📝 Update template docs with more info about `url_for` (#5937) 1 year ago
Sebastián Ramírez dd790c34ff
✏️ Fix typo in dependencies with yield source examples (#10847) 1 year 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
Sebastián Ramírez ea43f227e5
Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (#10145) 2 years ago
Sebastián Ramírez 8cd7cfc2b6
📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (#10114) 2 years ago
Sebastián Ramírez 7a06de2bb9
♻️ Refactor tests for new Pydantic 2.2.1 (#10115) 2 years ago
Sebastián Ramírez 5e8f7f13d7
Add `ResponseValidationError` printable details, to show up in server error logs (#10078) 2 years ago
Sebastián Ramírez 19a2c3bb54
Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients (#10011) 2 years ago
David Montague 25694f5ae1
Fix tests for compatibility with pydantic 2.1.1 (#9943) 2 years ago
Irfanuddin Shafi Ahmed 37818f553d
Fix test error in Windows for `jsonable_encoder` (#9840) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez 07e1dea467
🐛 Fix JSON Schema accepting bools as valid JSON Schemas, e.g. `additionalProperties: false` (#9781) 2 years ago
Sebastián Ramírez 4d83f984cc
📝 Update source examples to use new JSON Schema examples field (#9776) 2 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 2 years ago
Carson Crane 1f21b16e03
Add support for `deque` objects and children in `jsonable_encoder` (#9433) 2 years ago
Ryan Russell b4b39d3359
✏️ Fix typos in data for tests (#4958) 2 years ago