alv2017
3eb2ee7510
✏️ Fix typos in OAuth2 password request forms ( #14112 )
Fixed typos in OAuth2PasswordRequestForm and in OAuth2PasswordRequestFormStrict
9 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
Carlos Mario Toro
bc5013cd56
✨ Add OpenAPI `external_docs` parameter to `FastAPI` ( #13713 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
9 months ago
secrett2633
c831cdbde2
🐛 Fix `inspect.getcoroutinefunction()` can break testing with `unittest.mock.patch()` ( #14022 )
9 months ago
Sofie Van Landeghem
fe4542279d
🚨 Install pydantic.mypy plugin ( #14081 )
9 months ago
Tamir Duberstein
a95e91e46e
⬆️ Update mypy to 1.14.1 ( #12970 )
Co-authored-by: Motov Yurii <[email protected] >
Co-authored-by: Sofie Van Landeghem <[email protected] >
Co-authored-by: svlandeg <[email protected] >
Co-authored-by: svlandeg <[email protected] >
9 months ago
Arif Dogan
93e98d5cb7
Refactor code for improved readability and update tests to handle Pydantic v1 and v2 differences.
9 months ago
pre-commit-ci[bot]
9a5da94657
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
9 months ago
Arif Dogan
6b907a57f8
feat: enhance JSON parse errors with line/column info and snippets
column positions and error snippets to JSON decode errors for
better debugging experience. Updates error location format and provides
context around the problematic JSON.
9 months ago
Sebastián Ramírez
a372edf7e8
🔖 Release version 0.116.2
9 months ago
Ben Beasley
7563579dc8
⬆️ Upgrade Starlette supported version range to >=0.40.0,<0.49.0 ( #14077 )
Co-authored-by: svlandeg <[email protected] >
9 months ago
Sebastián Ramírez
313723494b
🔖 Release version 0.116.1
11 months ago
Sebastián Ramírez
cad6880fd9
⬆️ Upgrade Starlette supported version range to `>=0.40.0,<0.48.0` ( #13884 )
11 months ago
Sebastián Ramírez
bd8f358fd9
🔖 Release version 0.116.0
11 months ago
Sebastián Ramírez
ebdeda2de6
🔖 Release version 0.115.14
12 months ago
Patrick Arminio
9d0d8828cc
🐛 Fix support for unions when using `Form` ( #13827 )
12 months ago
Sebastián Ramírez
4734df1db8
🔖 Release version 0.115.13
12 months ago
Gabriel
dfe9dde982
📝 Add annotations to HTTP middleware example ( #11530 )
Co-authored-by: Sofie Van Landeghem <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
12 months ago
Salar Nosrati-Ershad
aebff5006f
✨ Add `refreshUrl` parameter in `OAuth2PasswordBearer` ( #11460 )
Co-authored-by: Salar Nosrati-Ershad <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alejandra <[email protected] >
Co-authored-by: Motov Yurii <[email protected] >
12 months ago
oogee
30b9dfb11c
🚸 Set format to password for fields `password` and `client_secret` in `OAuth2PasswordRequestForm`, make docs show password fields for passwords ( #11032 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
12 months ago
Peter
b4524145e6
✏️ Fix typo in docstring ( #13532 )
12 months ago
Timon
97fdbdd0d8
📝 Update exclude-parameters-from-openapi documentation links ( #13600 )
12 months ago
Motov Yurii
535d5b3f9f
🐛 Fix truncating the model's description with form feed (`\f`) character for Pydantic V2 ( #13698 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
12 months ago
Joakim Nordling
8fa56b46a1
⬆️ Update ReDoc to version 2.x ( #9700 )
Co-authored-by: svlandeg <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
Co-authored-by: Sofie Van Landeghem <[email protected] >
1 year ago
Sebastián Ramírez
628c34e0ca
🔖 Release version 0.115.12
1 year ago
Sebastián Ramírez
2537d9d1c2
🐛 Fix `convert_underscores=False` for header Pydantic models ( #13515 )
1 year ago
dependabot[bot]
8c94e97c89
⬆ Bump ruff to 0.9.4 ( #13299 )
* ⬆ Bump ruff from 0.6.4 to 0.9.4
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.6.4 to 0.9.4.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.4...0.9.4 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
* update pre-commit accordingly and make formatting changes
* 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alejandra <[email protected] >
Co-authored-by: svlandeg <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 year ago
Sebastián Ramírez
3824664620
🔖 Release version 0.115.11
1 year ago
Sebastián Ramírez
74fe89bf35
🐛 Add docs examples and tests (support) for `Annotated` custom validations, like `AfterValidator`, revert #13440 ( #13442 )
This reverts commit 15dd2b67d3 .
1 year ago
Sebastián Ramírez
433837d9ca
🔖 Release version 0.115.10
1 year ago
Victorien
15dd2b67d3
♻️ Update internal annotation usage for compatibilty with Pydantic 2.11 ( #13314 )
Co-authored-by: Sofie Van Landeghem <[email protected] >
Co-authored-by: svlandeg <[email protected] >
1 year ago
Sebastián Ramírez
d90030c1e2
🔖 Release version 0.115.9
1 year ago
Arthur Rio
ccc7c8fef9
🐛 Ensure that `HTTPDigest` only raises an exception when `auto_error is True` ( #2939 )
Co-authored-by: svlandeg <[email protected] >
1 year ago
Sebastián Ramírez
7128971f1d
🔖 Release version 0.115.8
1 year ago
Shahriyar Rzayev
30b270be9a
♻️ Move duplicated code portion to a static method in the `APIKeyBase` super class ( #3142 )
Co-authored-by: Sofie Van Landeghem <[email protected] >
Co-authored-by: svlandeg <[email protected] >
1 year ago
Rahul Pai
d5ecbaceae
🐛 Fix `OAuth2PasswordRequestForm` and `OAuth2PasswordRequestFormStrict` fixed `grant_type` "password" RegEx ( #9783 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alejandra <[email protected] >
Co-authored-by: Sofie Van Landeghem <[email protected] >
Co-authored-by: svlandeg <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
1 year ago
Sebastián Ramírez
fe513719ea
🔖 Release version 0.115.7
1 year ago
Sebastián Ramírez
bb8c2a6498
🔖 Release version 0.115.6
2 years ago
Abdullah Hashim
4f8157588e
🐛 Preserve traceback when exception is raised in sync dependency with `yield` ( #5823 )
Co-authored-by: Marcelo Trylesinski <[email protected] >
2 years ago
Tamir Duberstein
bf4fad1fda
♻️ Update tests and internals for compatibility with Pydantic >=2.10 ( #12971 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2 years ago
Sebastián Ramírez
f057f4a067
🔖 Release version 0.115.5
2 years ago