Commit Graph

720 Commits

Author SHA1 Message Date
Michael Jones a0541ab1bb
Merge branch 'master' into master 2025-11-10 12:34:35 +00:00
JONEMI21 535a3ffc55 lint, fmt 2025-11-10 12:30:50 +00:00
JONEMI21 88d2ace66a ignore invalid for pydantic v1 2025-11-10 12:23:26 +00:00
pre-commit-ci[bot] 4a7f704a07 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 2025-11-10 11:14:45 +00:00
JONEMI21 8472f4addf raise error in pydantic v1 2025-11-10 11:14:33 +00:00
JONEMI21 1121414bf2 fmt 2025-11-10 10:29:45 +00:00
JONEMI21 03d445ad5e omit by default for pydantic v2 2025-11-10 10:29:17 +00:00
JONEMI21 45825d7d11 omit by default query params 2025-11-10 08:47:21 +00:00
JONEMI21 076a8cf3fa rm omit by default fn 2025-11-10 07:08:41 +00:00
Sebastián Ramírez 1c7e2540c2 🔖 Release version 0.121.1 2025-11-08 22:47:00 +01:00
luzzodev 282f372eda
🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies (#14301) 2025-11-08 22:43:30 +01:00
JONEMI21 62344d272d right directions maybe 2025-11-07 17:12:51 +00:00
JONEMI21 d90b39a60a persuing 'on_error="omit"' 2025-11-07 15:02:37 +00:00
JONEMI21 1e22422ff9 WrapValidator pydanticv2 only - need different solution for v1 2025-11-07 14:47:08 +00:00
JONEMI21 687dd65c31 align tests with intended functionality 2025-11-07 14:25:13 +00:00
pre-commit-ci[bot] 147ca63107 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 2025-11-07 13:57:11 +00:00
JONEMI21 c9bfba04dd use wrap validator to remove failing values 2025-11-07 13:56:50 +00:00
JONEMI21 103d46921b simplify typing 2025-11-07 09:34:44 +00:00
JONEMI21 9b4e4df2d8 add typing 2025-11-07 09:32:52 +00:00
JONEMI21 61b683e562 fix for pydantic v1 2025-11-07 09:28:03 +00:00
JONEMI21 78cffc8ad7 rm unused 2025-11-06 22:33:37 +00:00
JONEMI21 b922665568 add shape mapping 2025-11-06 22:08:00 +00:00
JONEMI21 3bece4211b lint 2025-11-06 22:06:02 +00:00
JONEMI21 1a57459eda update and remove otherwise captured query params 2025-11-06 22:04:36 +00:00
pre-commit-ci[bot] dcd67c7feb 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks 2025-11-06 14:48:21 +00:00
JONEMI21 c22878a48d Merge remote-tracking branch 'fastapi-origin/master' 2025-11-06 14:46:38 +00:00
Sebastián Ramírez 4efae81a76 🔖 Release version 0.121.0 2025-11-03 11:21:36 +01:00
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>
2025-11-03 11:12:49 +01:00
Sebastián Ramírez fad35ef43f 🔖 Release version 0.120.4 2025-10-31 19:35:33 +01:00
Motov Yurii 496de1816a
🐛 Fix security schemes in OpenAPI when added at the top level app (#14266)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-10-31 19:34:30 +01:00
Sebastián Ramírez 2cf04ee30d 🔖 Release version 0.120.3 2025-10-30 21:40:08 +01:00
Sebastián Ramírez dcfb8b9dda
♻️ Reduce internal cyclic recursion in dependencies, from 2 functions calling each other to 1 calling itself (#14256) 2025-10-30 20:35:04 +01:00
Sebastián Ramírez bb88a0f94a
♻️ Refactor internals of dependencies, simplify code and remove `get_param_sub_dependant` (#14255) 2025-10-30 05:58:49 +01:00
Sebastián Ramírez c144f9fbd3
♻️ Refactor internals of dependencies, simplify using dataclasses (#14254) 2025-10-30 05:51:50 +01:00
Sebastián Ramírez 22ccca21fc 🔖 Release version 0.120.2 2025-10-29 14:44:41 +01:00
Sebastián Ramírez 6a657f360d
🐛 Fix separation of schemas with nested models introduced in 0.119.0 (#14246) 2025-10-29 14:09:30 +01:00
Sebastián Ramírez 78c94c3f56 🔖 Release version 0.120.1 2025-10-27 18:51:46 +01:00
Sebastián Ramírez cd40c5b40f 🔖 Release version 0.120.0 2025-10-23 22:54:45 +02:00
Sebastián Ramírez d390f2e41f
Migrate internal reference documentation from `typing_extensions.Doc` to `annotated_doc.Doc` (#14222) 2025-10-23 22:31:35 +02:00
Sebastián Ramírez 864b569cf8 🔖 Release version 0.119.1 2025-10-20 13:28:38 +02:00
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 <tiangolo@gmail.com>
2025-10-20 13:26:49 +02:00
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>
2025-10-11 17:48:49 +00:00
Sebastián Ramírez 2e721e1b02 🔖 Release version 0.119.0 2025-10-11 19:09:01 +02:00
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>
2025-10-11 18:45:54 +02:00
Sebastián Ramírez 352dbefc63 🔖 Release version 0.118.3 2025-10-10 12:34:39 +02:00
Sebastián Ramírez 942fce394b 🔖 Release version 0.118.2 2025-10-08 16:49:59 +02:00
François Voron 185cecd891
🐛 Fix tagged discriminated union not recognized as body field (#12942)
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
Co-authored-by: Patrick Arminio <patrick.arminio@gmail.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-10-08 14:48:30 +00:00
Sebastián Ramírez 01be148429 🔖 Release version 0.118.1 2025-10-08 11:05:44 +02:00
Colin Watson c970d8a735
👽️ Ensure compatibility with Pydantic 2.12.0 (#14036)
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Co-authored-by: svlandeg <svlandeg@github.com>
Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
Co-authored-by: Patrick Arminio <patrick.arminio@gmail.com>
2025-10-08 10:57:37 +02:00
Sebastián Ramírez 333f1ba737 🔖 Release version 0.118.0 2025-09-29 05:34:21 +02:00