Skip to content

Build(deps): bump strawberry-graphql[fastapi] from 0.227.3 to 0.227.6

Bumps strawberry-graphql[fastapi] from 0.227.3 to 0.227.6.

Release notes

Sourced from strawberry-graphql[fastapi]'s releases.

🍓 0.227.6

Fix AssertionError caused by the DatadogTracingExtension 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 a query field as per the GraphQL spec.

The fix consists of adding query_missing to the operation_type tag, and also adding query_missing to the resource name. It also makes it easier to look for logs of users making invalid queries by searching for query_missing in Datadog.

Releases contributed by @​serramatutu via #3483

🍓 0.227.5

Deprecations: This release deprecates the Starlite integration in favour of the LiteStar integration. Refer to the LiteStar integration for more information. LiteStar is a renamed and upgraded version of Starlite.

Before:

from strawberry.starlite import make_graphql_controller

After:

from strawberry.litestar import make_graphql_controller

Releases contributed by @​Birdi7 via #3492

🍓 0.227.4

This release fixes a bug in release 0.227.3 where FragmentSpread nodes were not resolving edges.

Releases contributed by @​euriostigue via #3487

Changelog

Sourced from strawberry-graphql[fastapi]'s changelog.

0.227.6 - 2024-05-11

Fix AssertionError caused by the DatadogTracingExtension 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 a query field as per the GraphQL spec.

The fix consists of adding query_missing to the operation_type tag, and also adding query_missing to the resource name. It also makes it easier to look for logs of users making invalid queries by searching for query_missing in Datadog.

Contributed by Lucas Valente via [PR #3483](strawberry-graphql/strawberry#3483)

0.227.5 - 2024-05-11

Deprecations: This release deprecates the Starlite integration in favour of the LiteStar integration. Refer to the LiteStar integration for more information. LiteStar is a renamed and upgraded version of Starlite.

Before:

from strawberry.starlite import make_graphql_controller

After:

from strawberry.litestar import make_graphql_controller

Contributed by Egor via [PR #3492](strawberry-graphql/strawberry#3492)

0.227.4 - 2024-05-09

This release fixes a bug in release 0.227.3 where FragmentSpread nodes were not resolving edges.

Contributed by Eric Uriostigue via [PR #3487](strawberry-graphql/strawberry#3487)

Commits

Merge request reports