strawberry-graphql / strawberry-sqlalchemy

A SQLAlchemy Integration for strawberry-graphql
MIT License
93 stars 27 forks source link

Bump strawberry-graphql from 0.209.1 to 0.222.0 #144

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps strawberry-graphql from 0.209.1 to 0.222.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.222.0

This release adds support for Apollo Federation v2.7 which includes the @authenticated, @requiresScopes, @policy directives, as well as the label argument for @override. As usual, we have first class support for them in the strawberry.federation namespace, here's an example:

from strawberry.federation.schema_directives import Override

@​strawberry.federation.type( authenticated=True, policy=[["client", "poweruser"], ["admin"]], requires_scopes=[["client", "poweruser"], ["admin"]], ) class Product: upc: str = strawberry.federation.field( override=Override(override_from="mySubGraph", label="percent(1)") )

Releases contributed by @​TygerTaco via #3420

🍓 0.221.1

This release properly allows passing one argument to the Info class.

This is now fully supported:

import strawberry

from typing import TypedDict

class Context(TypedDict): user_id: str

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

Releases contributed by @​patrick91 via #3419

🍓 0.221.0

This release improves the Info type, by adding support for default TypeVars and by exporting it from the main module. This makes it easier to use Info in your own code, without having to import it from strawberry.types.info.

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.222.0 - 2024-03-27

This release adds support for Apollo Federation v2.7 which includes the @authenticated, @requiresScopes, @policy directives, as well as the label argument for @override. As usual, we have first class support for them in the strawberry.federation namespace, here's an example:

from strawberry.federation.schema_directives import Override

@​strawberry.federation.type( authenticated=True, policy=[["client", "poweruser"], ["admin"]], requires_scopes=[["client", "poweruser"], ["admin"]], ) class Product: upc: str = strawberry.federation.field( override=Override(override_from="mySubGraph", label="percent(1)") )

Contributed by Tyger Taco via [PR #3420](strawberry-graphql/strawberry#3420)

0.221.1 - 2024-03-21

This release properly allows passing one argument to the Info class.

This is now fully supported:

import strawberry

from typing import TypedDict

class Context(TypedDict): user_id: str

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

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

... (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)
codspeed-hq[bot] commented 7 months ago

CodSpeed Performance Report

Merging #144 will not alter performance

Comparing dependabot/pip/strawberry-graphql-0.222.0 (8687c8e) with main (ba0dceb)

Summary

âś… 1 untouched benchmarks

dependabot[bot] commented 7 months ago

Superseded by #145.