Build(deps): bump strawberry-graphql[fastapi] from 0.227.3 to 0.229.0
Bumps strawberry-graphql[fastapi] from 0.227.3 to 0.229.0.
Release notes
Sourced from strawberry-graphql[fastapi]'s releases.
🍓 0.229.0This release improves our support for generic types, now using the same the same generic multiple times with a list inside an interface or union is supported, for example the following will work:
import strawberry @strawberry.type class BlockRow[T]: items: list[T] @strawberry.type class Query: @strawberry.field def blocks(self) -> list[BlockRow[str] | BlockRow[int]]: return [ BlockRow(items=["a", "b", "c"]), BlockRow(items=[1, 2, 3, 4]), ] schema = strawberry.Schema(query=Query)
Releases contributed by
@patrick91
via #3463
🍓 0.228.0This releases updates the JSON scalar definition to have the updated
specifiedBy
URL.The release is marked as minor because it will change the generated schema if you're using the JSON scalar.
Releases contributed by
@Birdi7
via #3478
🍓 0.227.7This releases updates the
field-extensions
documentation'sStrawberryField
stability warning to include stable features.The release is marked as patch because it only changes documentation.
Releases contributed by
@fireteam99
via #3496
🍓 0.227.6Fix
AssertionError
caused by theDatadogTracingExtension
whenever the query is unavailable.The bug in question was reported by issue #3150. The datadog extension would throw an
AssertionError
whenever there was no query available. This could happen if, for example, a user POSTed something to/graphql
with a JSON that doesn't contain aquery
field as per the GraphQL spec.
... (truncated)
Changelog
Sourced from strawberry-graphql[fastapi]'s changelog.
0.229.0 - 2024-05-12
This release improves our support for generic types, now using the same the same generic multiple times with a list inside an interface or union is supported, for example the following will work:
import strawberry @strawberry.type class BlockRow[T]: items: list[T] @strawberry.type class Query: @strawberry.field def blocks(self) -> list[BlockRow[str] | BlockRow[int]]: return [ BlockRow(items=["a", "b", "c"]), BlockRow(items=[1, 2, 3, 4]), ] schema = strawberry.Schema(query=Query)
Contributed by Patrick Arminio via [PR #3463](strawberry-graphql/strawberry#3463)
0.228.0 - 2024-05-12
This releases updates the JSON scalar definition to have the updated
specifiedBy
URL.The release is marked as minor because it will change the generated schema if you're using the JSON scalar.
Contributed by Egor via [PR #3478](strawberry-graphql/strawberry#3478)
0.227.7 - 2024-05-12
This releases updates the
field-extensions
documentation'sStrawberryField
stability warning to include stable features.The release is marked as patch because it only changes documentation.
Contributed by Ray Sy via [PR #3496](strawberry-graphql/strawberry#3496)
... (truncated)
Commits
-
60984d7
Release🍓 0.229.0 -
be42d02
Discriminate generics inside lists (#3463) -
4625d2e
Skip flaky test -
544062b
Release🍓 0.228.0 -
fc3c2ca
chore(docs): document all built-in scalar types. Closes #3404 (#3478) -
4b60f81
Release🍓 0.227.7 -
42a2f22
updated stability warning to include stable fields for StrawberryField API (#... -
92fecbd
Release🍓 0.227.6 -
2c9496f
fix(datadog): Fix datadogAssertionError
upon empty query (#3483) -
35e8866
chore: clean graphiql tests (#3495) - Additional commits viewable in compare view