DiamondLightSource / coniql

Control system interface in GraphQL
Apache License 2.0
6 stars 4 forks source link

Bump strawberry-graphql from 0.190.0 to 0.229.1 #114

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps strawberry-graphql from 0.190.0 to 0.229.1.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.229.1

This release fixes a regression from 0.229.0 where using a generic interface inside a union would return an error.

Releases contributed by @​patrick91 via #3502

🍓 0.229.0

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)

Releases contributed by @​patrick91 via #3463

🍓 0.228.0

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.

Releases contributed by @​Birdi7 via #3478

🍓 0.227.7

This releases updates the field-extensions documentation's StrawberryField 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.6

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.229.1 - 2024-05-15

This release fixes a regression from 0.229.0 where using a generic interface inside a union would return an error.

Contributed by Patrick Arminio via [PR #3502](strawberry-graphql/strawberry#3502)

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)

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 6 months ago

Superseded by #115.