Sofie Van Landeghem
|
8f99a2b734
|
🐛 Avoid accessing non-existing "$ref" key for Pydantic v2 compat remapping (#14361)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
6 months ago |
Kent Huang
|
20f40b29c0
|
🐛 Fix `TypeError` when encoding a decimal with a `NaN` or `Infinity` value (#12935)
Signed-off-by: Kent Huang <[email protected]>
|
6 months ago |
Sebastián Ramírez
|
f2bab95267
|
🔖 Release version 0.123.0
|
6 months ago |
Sebastián Ramírez
|
7fbd30460f
|
🐛 Cache dependencies that don't use scopes and don't have sub-dependencies with scopes (#14419)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
6 months ago |
Sebastián Ramírez
|
63d7a2b997
|
🔖 Release version 0.122.1
|
6 months ago |
Kristján Valur Jónsson
|
378ad688b7
|
🐛 Fix hierarchical security scope propagation (#5624)
Co-authored-by: Sebastián Ramírez <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: svlandeg <[email protected]>
Co-authored-by: Sofie Van Landeghem <[email protected]>
|
6 months ago |
Sebastián Ramírez
|
5b0625df96
|
🔖 Release version 0.122.0
|
6 months ago |
Motov Yurii
|
51ad909ffe
|
🐛 Use `401` status code in security classes when credentials are missing (#13786)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
6 months ago |
Sebastián Ramírez
|
325fd16d32
|
🔖 Release version 0.121.3
|
7 months ago |
Sebastián Ramírez
|
85701631a0
|
♻️ Make the result of `Depends()` and `Security()` hashable, as a workaround for other tools interacting with these internal parts (#14372)
|
7 months ago |
Sebastián Ramírez
|
02e108d166
|
🔖 Release version 0.121.2
|
7 months ago |
Sebastián Ramírez
|
5d40dfbc9b
|
🐛 Fix handling of JSON Schema attributes named "$ref" (#14349)
|
7 months ago |
Sebastián Ramírez
|
1c7e2540c2
|
🔖 Release version 0.121.1
|
7 months ago |
luzzodev
|
282f372eda
|
🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies (#14301)
|
7 months ago |
Sebastián Ramírez
|
4efae81a76
|
🔖 Release version 0.121.0
|
7 months ago |
Sebastián Ramírez
|
ac438b9934
|
✨ Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
7 months ago |
Sebastián Ramírez
|
fad35ef43f
|
🔖 Release version 0.120.4
|
7 months ago |
Motov Yurii
|
496de1816a
|
🐛 Fix security schemes in OpenAPI when added at the top level app (#14266)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
7 months ago |
Sebastián Ramírez
|
2cf04ee30d
|
🔖 Release version 0.120.3
|
7 months ago |
Sebastián Ramírez
|
dcfb8b9dda
|
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself (#14256)
|
7 months ago |
Sebastián Ramírez
|
bb88a0f94a
|
♻️ Refactor internals of dependencies, simplify code and remove `get_param_sub_dependant` (#14255)
|
7 months ago |
Sebastián Ramírez
|
c144f9fbd3
|
♻️ Refactor internals of dependencies, simplify using dataclasses (#14254)
|
7 months ago |
Sebastián Ramírez
|
22ccca21fc
|
🔖 Release version 0.120.2
|
7 months ago |
Sebastián Ramírez
|
6a657f360d
|
🐛 Fix separation of schemas with nested models introduced in 0.119.0 (#14246)
|
7 months ago |
Sebastián Ramírez
|
78c94c3f56
|
🔖 Release version 0.120.1
|
7 months ago |
Sebastián Ramírez
|
cd40c5b40f
|
🔖 Release version 0.120.0
|
7 months ago |
Sebastián Ramírez
|
d390f2e41f
|
➕ Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222)
|
7 months ago |
Sebastián Ramírez
|
864b569cf8
|
🔖 Release version 0.119.1
|
8 months ago |
Sofie Van Landeghem
|
d8c691f7f0
|
🐛 Fix internal Pydantic v1 compatibility (warnings) for Python 3.14 and Pydantic 2.12.1 (#14186)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
8 months ago |
Marcelo Trylesinski
|
dde7bd1ceb
|
📝 Replace `starlette.io` by `starlette.dev` and `uvicorn.org` by `uvicorn.dev` (#14176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
8 months ago |
Sebastián Ramírez
|
2e721e1b02
|
🔖 Release version 0.119.0
|
8 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)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
8 months ago |
Sebastián Ramírez
|
352dbefc63
|
🔖 Release version 0.118.3
|
8 months ago |
Sebastián Ramírez
|
942fce394b
|
🔖 Release version 0.118.2
|
8 months ago |
François Voron
|
185cecd891
|
🐛 Fix tagged discriminated union not recognized as body field (#12942)
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Patrick Arminio <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
8 months ago |
Sebastián Ramírez
|
01be148429
|
🔖 Release version 0.118.1
|
8 months ago |
Colin Watson
|
c970d8a735
|
👽️ Ensure compatibility with Pydantic 2.12.0 (#14036)
Co-authored-by: Sofie Van Landeghem <[email protected]>
Co-authored-by: Victorien <[email protected]>
Co-authored-by: svlandeg <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Patrick Arminio <[email protected]>
|
8 months ago |
Sebastián Ramírez
|
333f1ba737
|
🔖 Release version 0.118.0
|
8 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)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
8 months ago |
alv2017
|
3eb2ee7510
|
✏️ Fix typos in OAuth2 password request forms (#14112)
Fixed typos in OAuth2PasswordRequestForm and in OAuth2PasswordRequestFormStrict
|
8 months ago |
Sebastián Ramírez
|
784f06cb9b
|
🔖 Release version 0.117.1
|
9 months ago |
Thomas LÉVEIL
|
44fc67632b
|
🐛 Fix validation error when `File` is declared after `Form` parameter (#11194)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
9 months ago |
Sebastián Ramírez
|
382d083e26
|
🔖 Release version 0.117.0
|
9 months ago |
vvanglro
|
f1e6f978ce
|
⚡️ Fix `default_factory` for response model field with Pydantic V1 (#9704)
Co-authored-by: Motov Yurii <[email protected]>
|
9 months ago |
Robert Hofer
|
b51ec36f2e
|
✨ Allow `None` as return type for bodiless responses (#9425)
Co-authored-by: Sebastián Ramírez <[email protected]>
|
9 months ago |
Max McLennan
|
86e515784d
|
🐛 Fix inconsistent processing of model docstring formfeed char with Pydantic V1 (#6039)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
9 months ago |
Salim Aboubacar
|
2dc769b121
|
🐛 Fix `jsonable_encoder` alters `json_encoders` of Pydantic v1 objects (#4972)
Co-authored-by: Sebastián Ramírez <[email protected]>
Co-authored-by: Yurii Motov <[email protected]>
|
9 months ago |
sammasak
|
8ede27223e
|
✨ Allow array values for OpenAPI schema `type` field (#13639)
Co-authored-by: Lukas Rajala <[email protected]>
Co-authored-by: dlax <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
Co-authored-by: Sebastián Ramírez <[email protected]>
|
9 months ago |
Evgeny Bokshitsky
|
c2c6049b8f
|
♻️ Create `dependency-cache` dict in `solve_dependencies` only if `None` (don't re-create if empty) (#13689)
|
9 months ago |
rmawatson
|
9ac56c70f2
|
🐛 Reenable `allow_arbitrary_types` when only 1 argument is used on the API endpoint (#13694)
Co-authored-by: Sofie Van Landeghem <[email protected]>
Co-authored-by: Motov Yurii <[email protected]>
|
9 months ago |