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.195.2 #87

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.190.0 to 0.195.2.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.195.2

This release introduces a bug fix for relay connection where previously they wouldn't work without padding the first argument.

Releases contributed by @​devkral via #2938

🍓 0.195.1

This release fixes a bug where returning a generic type from a field that was returning an interface would throw an error.

Releases contributed by @​patrick91 via #2955

🍓 0.195.0

Improve the time complexity of strawberry.interface using resolve_type. Achieved time complexity is now O(1) with respect to the number of implementations of an interface. Previously, the use of is_type_of resulted in a worst-case performance of O(n).

Before:

---------------------------------------------------------------------------
Name (time in ms)                         Min                 Max
---------------------------------------------------------------------------
test_interface_performance[1]         18.0224 (1.0)       50.3003 (1.77)
test_interface_performance[16]        22.0060 (1.22)      28.4240 (1.0)
test_interface_performance[256]       69.1364 (3.84)      76.1349 (2.68)
test_interface_performance[4096]     219.6461 (12.19)    231.3732 (8.14)
---------------------------------------------------------------------------

After:

---------------------------------------------------------------------------
Name (time in ms)                        Min                Max
---------------------------------------------------------------------------
test_interface_performance[1]        14.3921 (1.0)      46.2064 (2.79)
test_interface_performance[16]       14.8669 (1.03)     16.5732 (1.0)
test_interface_performance[256]      15.8977 (1.10)     24.4618 (1.48)
test_interface_performance[4096]     18.7340 (1.30)     21.2899 (1.28)
---------------------------------------------------------------------------

Releases contributed by @​skilkis via #1949

🍓 0.194.4

This release makes sure that Schema.process_errors() is called once for every error which happens with graphql-transport-ws operations.

Releases contributed by @​kristjanvalur via #2899

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.195.2 - 2023-07-15

This release introduces a bug fix for relay connection where previously they wouldn't work without padding the first argument.

Contributed by Alexander via [PR #2938](strawberry-graphql/strawberry#2938)

0.195.1 - 2023-07-15

This release fixes a bug where returning a generic type from a field that was returning an interface would throw an error.

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

0.195.0 - 2023-07-14

Improve the time complexity of strawberry.interface using resolve_type. Achieved time complexity is now O(1) with respect to the number of implementations of an interface. Previously, the use of is_type_of resulted in a worst-case performance of O(n).

Before:

---------------------------------------------------------------------------
Name (time in ms)                         Min                 Max
---------------------------------------------------------------------------
test_interface_performance[1]         18.0224 (1.0)       50.3003 (1.77)
test_interface_performance[16]        22.0060 (1.22)      28.4240 (1.0)
test_interface_performance[256]       69.1364 (3.84)      76.1349 (2.68)
test_interface_performance[4096]     219.6461 (12.19)    231.3732 (8.14)
---------------------------------------------------------------------------

After:

---------------------------------------------------------------------------
Name (time in ms)                        Min                Max
---------------------------------------------------------------------------
test_interface_performance[1]        14.3921 (1.0)      46.2064 (2.79)
test_interface_performance[16]       14.8669 (1.03)     16.5732 (1.0)
test_interface_performance[256]      15.8977 (1.10)     24.4618 (1.48)
test_interface_performance[4096]     18.7340 (1.30)     21.2899 (1.28)
---------------------------------------------------------------------------

... (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 #87 (06cf7d2) into main (86054d9) will decrease coverage by 0.01%. The diff coverage is 95.65%.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   93.30%   93.30%   -0.01%     
==========================================
  Files          10       10              
  Lines         807      836      +29     
==========================================
+ Hits          753      780      +27     
- Misses         54       56       +2     
Impacted Files 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:

: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 #88.