Arif Dogan
93e98d5cb7
Refactor code for improved readability and update tests to handle Pydantic v1 and v2 differences.
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
Sebastián Ramírez
91a929319c
♻️ Update internal checks to support Pydantic 2.10 ( #12914 )
2 years ago
Sebastián Ramírez
31887b1cc6
🔖 Release version 0.115.4
2 years ago
Sebastián Ramírez
b31cbbf5f5
♻️ Update logic to import and check `python-multipart` for compatibility with newer version ( #12627 )
2 years ago
Kevin Kirsche
8081d2302e
📝 Fix minor typos ( #12516 )
2 years ago
Sebastián Ramírez
c519614b45
🔖 Release version 0.115.3
2 years ago
Sebastián Ramírez
07684aea79
🔖 Release version 0.115.2
2 years ago
Sebastián Ramírez
113da5b0a7
🔖 Release version 0.115.1
2 years ago
Felix Fanghaenel
e049fc4ea1
🐛 Fix openapi generation with responses kwarg ( #10895 )
Co-authored-by: flxdot <[email protected] >
Co-authored-by: Sofie Van Landeghem <[email protected] >
Co-authored-by: Sławek Ehlert <[email protected] >
2 years ago
José Pacheco
8ae4603d68
🐛 Remove `Required` shadowing from fastapi using Pydantic v2 ( #12197 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <[email protected] >
2 years ago
Sebastián Ramírez
40490abaa3
♻️ Update type annotations for improved `python-multipart` ( #12407 )
2 years ago
Albert Villanova del Moral
6cc24416e2
✏️ Fix docstring typos in http security ( #12223 )
Fix docstring typos in http security
2 years ago
Sebastián Ramírez
40e33e492d
🔖 Release version 0.115.0
2 years ago
Sebastián Ramírez
55035f440b
✨ Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` ( #12199 )
2 years ago
Sebastián Ramírez
2ada1615a3
🔖 Release version 0.114.2
2 years ago
Nico Tonnhofer
88d4f2cb18
🐛 Fix form field regression ( #12194 )
2 years ago
Sebastián Ramírez
212fd5e247
🔖 Release version 0.114.1
2 years ago