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.199.3 #93

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.190.0 to 0.199.3.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.199.3

This release fixes an issue on relay.ListConnection where async iterables that returns non async iterable objects after being sliced where producing errors.

This should fix an issue with async strawberry-graphql-django when returning already prefetched QuerySets.

Releases contributed by @​bellini666 via #3014

🍓 0.199.2

This releases improves how we handle Annotated and async types (used in subscriptions). Previously we weren't able to use unions with names inside subscriptions, now that's fixed 😊

Example:

@strawberry.type
class A:
    a: str

@​strawberry.type class B: b: str

@​strawberry.type class Query: x: str = "Hello"

@​strawberry.type class Subscription: @​strawberry.subscription async def example_with_union(self) -> AsyncGenerator[Union[A, B], None]: yield A(a="Hi")

Releases contributed by @​patrick91 via #3008

🍓 0.199.1

This release fixes an issue in the graphql-ws implementation where sending a null payload would cause the connection to be closed.

Releases contributed by @​patrick91 via #3007

🍓 0.199.0

This release changes how we handle generic type vars, bringing

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.199.3 - 2023-08-06

This release fixes an issue on relay.ListConnection where async iterables that returns non async iterable objects after being sliced where producing errors.

This should fix an issue with async strawberry-graphql-django when returning already prefetched QuerySets.

Contributed by Thiago Bellini Ribeiro via [PR #3014](strawberry-graphql/strawberry#3014)

0.199.2 - 2023-08-03

This releases improves how we handle Annotated and async types (used in subscriptions). Previously we weren't able to use unions with names inside subscriptions, now that's fixed 😊

Example:

@strawberry.type
class A:
    a: str

@​strawberry.type class B: b: str

@​strawberry.type class Query: x: str = "Hello"

@​strawberry.type class Subscription: @​strawberry.subscription async def example_with_union(self) -> AsyncGenerator[Union[A, B], None]: yield A(a="Hi")

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

0.199.1 - 2023-08-02

... (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 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)
codecov[bot] commented 1 year ago

Codecov Report

Merging #93 (6b755ce) into main (86054d9) will decrease coverage by 0.13%. Report is 11 commits behind head on main. The diff coverage is 95.65%.

@@            Coverage Diff             @@
##             main      #93      +/-   ##
==========================================
- Coverage   93.30%   93.18%   -0.13%     
==========================================
  Files          10       10              
  Lines         807      836      +29     
==========================================
+ Hits          753      779      +26     
- Misses         54       57       +3     
Files Changed Coverage Δ
src/coniql/simplugin.py 94.54% <66.66%> (-0.52%) :arrow_down:
src/coniql/types.py 94.19% <66.66%> (-0.55%) :arrow_down:
src/coniql/strawberry_schema.py 98.67% <98.24%> (+0.17%) :arrow_up:
src/coniql/caplugin.py 92.81% <100.00%> (+0.22%) :arrow_up:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

dependabot[bot] commented 1 year ago

Superseded by #96.