strawberry-graphql / strawberry-sqlalchemy

A SQLAlchemy Integration for strawberry-graphql
MIT License
91 stars 26 forks source link

Bump strawberry-graphql from 0.209.1 to 0.219.0 #114

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps strawberry-graphql from 0.209.1 to 0.219.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.219.0

This release adds support for litestar.

import strawberry
from litestar import Request, Litestar
from strawberry.litestar import make_graphql_controller
from strawberry.types.info import Info

def custom_context_getter(request: Request): return {"custom": "context"}

@​strawberry.type class Query: @​strawberry.field def hello(self, info: Info[object, None]) -> str: return info.context["custom"]

schema = strawberry.Schema(Query)

GraphQLController = make_graphql_controller( schema, path="/graphql", context_getter=custom_context_getter, )

app = Litestar( route_handlers=[GraphQLController], )

Releases contributed by @​gazorby via #3213

🍓 0.218.1

This release fixes a small issue in the GraphQL Transport websocket where the connection would fail when receiving extra parameters in the payload sent from the client.

This would happen when using Apollo Sandbox.

Releases contributed by @​patrick91 via #3356

🍓 0.218.0

This release adds a new method get_fields on the Schema class. You can use get_fields to hide certain field based on some conditions, for example:

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.219.0 - 2024-01-24

This release adds support for litestar.

import strawberry
from litestar import Request, Litestar
from strawberry.litestar import make_graphql_controller
from strawberry.types.info import Info

def custom_context_getter(request: Request): return {"custom": "context"}

@​strawberry.type class Query: @​strawberry.field def hello(self, info: Info[object, None]) -> str: return info.context["custom"]

schema = strawberry.Schema(Query)

GraphQLController = make_graphql_controller( schema, path="/graphql", context_getter=custom_context_getter, )

app = Litestar( route_handlers=[GraphQLController], )

Contributed by Matthieu MN via [PR #3213](strawberry-graphql/strawberry#3213)

0.218.1 - 2024-01-23

This release fixes a small issue in the GraphQL Transport websocket where the connection would fail when receiving extra parameters in the payload sent from the client.

This would happen when using Apollo Sandbox.

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

... (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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov-commenter commented 8 months ago

Codecov Report

Merging #114 (eb9e870) into main (ba0dceb) will decrease coverage by 0.65%. The diff coverage is n/a.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #114 +/- ## ========================================== - Coverage 84.28% 83.64% -0.65% ========================================== Files 15 15 Lines 1559 1559 Branches 256 256 ========================================== - Hits 1314 1304 -10 - Misses 192 202 +10 Partials 53 53 ```
codspeed-hq[bot] commented 8 months ago

CodSpeed Performance Report

Merging #114 will not alter performance

Comparing dependabot/pip/strawberry-graphql-0.219.0 (eb9e870) with main (ba0dceb)

Summary

âś… 1 untouched benchmarks

dependabot[bot] commented 8 months ago

Superseded by #117.