Ofek Danny
dcce6ecd91
fix: resolve ForwardRef inside Annotated in get_typed_annotation
When a type annotation uses a string literal inside Annotated, e.g.
Annotated['Potato', Depends(get_potato)], Python stores it as
Annotated[ForwardRef('Potato'), Depends(get_potato)] at runtime.
get_typed_annotation only handled the case where the annotation itself
is a string/ForwardRef. It did not recurse into Annotated's first
argument. As a result, the ForwardRef was never resolved, FastAPI
could not identify the type, and the parameter was treated as Any,
producing an incorrect OpenAPI schema.
Fix by also handling the case where annotation is ForwardRef directly
(not wrapped in a string), and by recursively resolving any
ForwardRef found as the first argument of an Annotated type.
Fixes #13056
2 months ago
github-actions[bot]
91dd310da9
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
3747204677
⬆ Bump astral-sh/setup-uv from 7.6.0 to 8.1.0 ( #15415 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Sebastián Ramírez
e54e5a8980
🔖 Release version 0.136.1
2 months ago
github-actions[bot]
9a8a5fd999
📝 Update release notes
[skip ci]
2 months ago
Sofie Van Landeghem
7815a32f2e
⬆️ Update Pydantic v2 code to address deprecations ( #15101 )
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
ef1c927b05
📝 Update release notes
[skip ci]
2 months ago
Motov Yurii
38039e12a8
🔨 Tweak translation script ( #15174 )
2 months ago
github-actions[bot]
4fa826ce0a
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
c39415673e
⬆ Bump mkdocs-material from 9.7.1 to 9.7.6 ( #15408 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
ae230ad2f9
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
d9eb39d1a1
⬆ Bump inline-snapshot from 0.31.1 to 0.32.6 ( #15409 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
4f8b5d14d3
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
04958499e0
⬆ Bump pytest-codspeed from 4.3.0 to 4.4.0 ( #15407 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
71f3c30108
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
ea230dc80b
⬆ Bump pytest-cov from 7.0.0 to 7.1.0 ( #15406 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
5f68b19002
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
7402e33375
⬆ Bump cloudflare/wrangler-action from 3.14.1 to 3.15.0 ( #15405 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
750ef483f2
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
7c6b79eb3b
⬆ Bump mypy from 1.19.1 to 1.20.1 ( #15410 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
c38782e0e8
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
840e462667
⬆ Bump python-dotenv from 1.2.1 to 1.2.2 ( #15400 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
88021c3dc0
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
13eade2fd9
⬆ Bump starlette from 0.52.1 to 1.0.0 ( #15397 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
e0900abc6d
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
4e6d8dc600
⬆ Bump pygithub from 2.8.1 to 2.9.1 ( #15396 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
2bf3cdeb19
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
043fdce921
⬆ Bump pyjwt from 2.12.0 to 2.12.1 ( #15393 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
9d79b257ad
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
6fadc67d62
⬆ Bump zizmor from 1.23.1 to 1.24.1 ( #15394 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
a93b1db937
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
e5a86c3972
⬆ Bump strawberry-graphql from 0.312.3 to 0.314.3 ( #15395 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
916edab526
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
355c12ce0e
⬆ Bump python-multipart from 0.0.22 to 0.0.26 ( #15360 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
4a29794efb
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
c6bf1a9702
⬆ Bump authlib from 1.6.9 to 1.6.11 ( #15373 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
19c7b4bc28
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
0d68ccc87c
⬆ Bump aiohttp from 3.13.3 to 3.13.4 ( #15282 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
fb5f830bf8
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
7ce742e2c1
⬆ Bump pygments from 2.19.2 to 2.20.0 ( #15263 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
28b18ced2d
📝 Update release notes
[skip ci]
2 months ago
Motov Yurii
2d625c0962
⬆ Bump pymdown-extensions from 10.20.1 to 10.21.2 ( #15391 )
2 months ago
github-actions[bot]
ecc9069b90
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
7d23cc8fe8
⬆ Bump pillow from 12.1.1 to 12.2.0 ( #15333 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Motov Yurii <[email protected] >
2 months ago
github-actions[bot]
636998e53a
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
a8773aadf8
⬆ Bump pytest from 9.0.2 to 9.0.3 ( #15334 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
2378fbbc45
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
c874e067dc
⬆ Bump actions/upload-artifact from 7.0.0 to 7.0.1 ( #15374 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
github-actions[bot]
bdd6c70760
📝 Update release notes
[skip ci]
2 months ago
dependabot[bot]
a595e44d28
⬆ Bump actions/cache from 5.0.4 to 5.0.5 ( #15385 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago