661 Commits (3d14dda1c4ce0de72f636da23e9d0c78550fdcb9)

Author SHA1 Message Date
Sebastián Ramírez 3d14dda1c4 🎨 Tweak types 10 months ago
Sebastián Ramírez 0f9902a62a 🎨 Tweak types for Python 3.8 10 months ago
Sebastián Ramírez adf9b89c76 ♻️ Workaround for Python 3.8 10 months ago
Sebastián Ramírez 49492b0efc 🎨 Tweak types for Python 3.9 and below 10 months ago
pre-commit-ci[bot] 1a9e9a18ac 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 10 months ago
Sebastián Ramírez 3667b6af91 🔀 Merge new changes from master in the right files 10 months ago
Sebastián Ramírez 942fce394b 🔖 Release version 0.118.2 10 months ago
François Voron 185cecd891
🐛 Fix tagged discriminated union not recognized as body field (#12942) 10 months ago
Sebastián Ramírez 01be148429 🔖 Release version 0.118.1 10 months ago
Colin Watson c970d8a735
👽️ Ensure compatibility with Pydantic 2.12.0 (#14036) 10 months ago
Sebastián Ramírez 09bba353ae ♻️ Update getting model types from annotations 10 months ago
Sebastián Ramírez 097dfc09de ♻️ Tweak types 10 months ago
Sebastián Ramírez 658c2603ce ♻️ Add Pydantic v1 schema functions to v2 _compat to allow generating JSON Schema for all together 10 months ago
Sebastián Ramírez aa584829a0 ♻️ Tweak implementation and tests for coverage 10 months ago
Sebastián Ramírez a63e1a5c2b 🐛 Handle creating ModelField in v1 when v2 is not installed 10 months ago
Sebastián Ramírez 4a60fa8d5e 🐛 Fix import in _compat 10 months ago
Sebastián Ramírez 0d4d7d21ad ♻️ Tweak _compat to account for lists of models 10 months ago
Sebastián Ramírez 7cd3a71a0e ♻️ Refactor internals to use new compat utils for v1 10 months ago
Sebastián Ramírez 6c4ec85165 ♻️ Refactor _compat.v1 module 10 months ago
Sebastián Ramírez a83cd00c50 Add util to check if annotation is Pydantic v1 10 months ago
Sebastián Ramírez 04ed076690 ♻️ Update and refactor main module in _compat 10 months ago
Sebastián Ramírez f6b2f22fd1 ♻️ Duplicate params for v1 compatibility 10 months ago
Sebastián Ramírez 22a1ccab6f ♻️ Refactor internals to use new _compat utils 10 months ago
Sebastián Ramírez ac47072c6e ♻️ Refactor _compat, prepare compatibility for Pydantic v1 in v2 10 months ago
Sebastián Ramírez 333f1ba737 🔖 Release version 0.118.0 10 months ago
Sebastián Ramírez e329d78f86
🐛 Fix support for `StreamingResponse`s with dependencies with `yield` or `UploadFile`s, close after the response is done (#14099) 10 months ago
alv2017 3eb2ee7510
✏️ Fix typos in OAuth2 password request forms (#14112) 10 months ago
Sebastián Ramírez 784f06cb9b 🔖 Release version 0.117.1 10 months ago
Thomas LÉVEIL 44fc67632b
🐛 Fix validation error when `File` is declared after `Form` parameter (#11194) 10 months ago
Sebastián Ramírez 382d083e26 🔖 Release version 0.117.0 10 months ago
vvanglro f1e6f978ce
️ Fix `default_factory` for response model field with Pydantic V1 (#9704) 10 months ago
Robert Hofer b51ec36f2e
Allow `None` as return type for bodiless responses (#9425) 10 months ago
Max McLennan 86e515784d
🐛 Fix inconsistent processing of model docstring formfeed char with Pydantic V1 (#6039) 10 months ago
Salim Aboubacar 2dc769b121
🐛 Fix `jsonable_encoder` alters `json_encoders` of Pydantic v1 objects (#4972) 10 months ago
sammasak 8ede27223e
Allow array values for OpenAPI schema `type` field (#13639) 10 months ago
Evgeny Bokshitsky c2c6049b8f
♻️ Create `dependency-cache` dict in `solve_dependencies` only if `None` (don't re-create if empty) (#13689) 10 months ago
rmawatson 9ac56c70f2
🐛 Reenable `allow_arbitrary_types` when only 1 argument is used on the API endpoint (#13694) 10 months ago
Carlos Mario Toro bc5013cd56
Add OpenAPI `external_docs` parameter to `FastAPI` (#13713) 10 months ago
secrett2633 c831cdbde2
🐛 Fix `inspect.getcoroutinefunction()` can break testing with `unittest.mock.patch()` (#14022) 10 months ago
Sofie Van Landeghem fe4542279d
🚨 Install pydantic.mypy plugin (#14081) 10 months ago
Tamir Duberstein a95e91e46e
⬆️ Update mypy to 1.14.1 (#12970) 10 months ago
Sebastián Ramírez a372edf7e8 🔖 Release version 0.116.2 10 months ago
Ben Beasley 7563579dc8
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 (#14077) 10 months ago
Sebastián Ramírez 313723494b 🔖 Release version 0.116.1 1 year ago
Sebastián Ramírez cad6880fd9
⬆️ Upgrade Starlette supported version range to `>=0.40.0,<0.48.0` (#13884) 1 year ago
Sebastián Ramírez bd8f358fd9 🔖 Release version 0.116.0 1 year ago
Sebastián Ramírez ebdeda2de6 🔖 Release version 0.115.14 1 year ago
Patrick Arminio 9d0d8828cc
🐛 Fix support for unions when using `Form` (#13827) 1 year ago
Sebastián Ramírez 4734df1db8 🔖 Release version 0.115.13 1 year ago
Gabriel dfe9dde982
📝 Add annotations to HTTP middleware example (#11530) 1 year ago