677 Commits (c866bdb078225313e1baa27dd895c9335c8bb4e2)

Author SHA1 Message Date
Sebastián Ramírez 81e4d909bd 📝 Update param docs for `Depends()` 9 months ago
Sebastián Ramírez 0fa09ee64a 🔥 Remove unnecessary comment 9 months ago
Sebastián Ramírez 1c084887c1 🐛 Fix running WebSocket function inside both async exit stacks 9 months ago
Sebastián Ramírez 936c1f415e ♻️ Improve the error for broken scopes in dependencies 9 months ago
Sebastián Ramírez eef80ba1e6 🔥 Remove unused imports 9 months ago
Sebastián Ramírez 9532170145 ♻️ Refactor Dependant to compute its scope 9 months ago
Sebastián Ramírez 87bec2962c ♻️ Refactor dependencies, allow a default scope of None 9 months ago
Sebastián Ramírez fad35ef43f 🔖 Release version 0.120.4 9 months ago
Motov Yurii 496de1816a
🐛 Fix security schemes in OpenAPI when added at the top level app (#14266) 9 months ago
pre-commit-ci[bot] 786d059c35 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 9 months ago
Sebastián Ramírez 2cf04ee30d 🔖 Release version 0.120.3 9 months ago
Sebastián Ramírez dcfb8b9dda
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself (#14256) 9 months ago
Sebastián Ramírez bb88a0f94a
♻️ Refactor internals of dependencies, simplify code and remove `get_param_sub_dependant` (#14255) 9 months ago
Sebastián Ramírez c144f9fbd3
♻️ Refactor internals of dependencies, simplify using dataclasses (#14254) 9 months ago
Sebastián Ramírez 86ad30fa92 Use new scoped async exit stacks for dependencies 9 months ago
Sebastián Ramírez 00b902852a Add new error for invalid dependencies' scopes 9 months ago
Sebastián Ramírez 1e0c2bce91 Add new exit async stack with scopes for function and request 9 months ago
Sebastián Ramírez f302b2aa84 Add scope logic to Dependant internal class 9 months ago
Sebastián Ramírez 33a2edbf10 Add scope to Depends parameters 9 months ago
Sebastián Ramírez ae64f11872 ♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself 9 months ago
Sebastián Ramírez 79d485350c ♻️ Simplify and clean up internals for dependencies 9 months ago
Sebastián Ramírez db77e81394 🔥 Remove spoiler 9 months ago
Sebastián Ramírez 7e0ce0605b ♻️ Handle security depends possibly with None 9 months ago
Sebastián Ramírez 7ce51a7395 ♻️ Simplify internal classes for Depends and Security with dataclasses 9 months ago
Sebastián Ramírez 22ccca21fc 🔖 Release version 0.120.2 9 months ago
Sebastián Ramírez 6a657f360d
🐛 Fix separation of schemas with nested models introduced in 0.119.0 (#14246) 9 months ago
Sebastián Ramírez 78c94c3f56 🔖 Release version 0.120.1 9 months ago
Sebastián Ramírez cd40c5b40f 🔖 Release version 0.120.0 9 months ago
Sebastián Ramírez d390f2e41f
Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222) 9 months ago
Sebastián Ramírez 864b569cf8 🔖 Release version 0.119.1 9 months ago
Sofie Van Landeghem d8c691f7f0
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186) 9 months ago
Marcelo Trylesinski dde7bd1ceb
📝 Replace `starlette.io` by `starlette.dev` and `uvicorn.org` by `uvicorn.dev` (#14176) 9 months ago
Sebastián Ramírez 2e721e1b02 🔖 Release version 0.119.0 9 months ago
Sebastián Ramírez d34918abf0
Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168) 9 months ago
Sebastián Ramírez 352dbefc63 🔖 Release version 0.118.3 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 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