Skip to content

build(deps): bump strawberry-graphql from 0.156.1 to 0.171.1 in /sdk/python - #278

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/strawberry-graphql-0.171.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/strawberry-graphql-0.171.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 7, 2023 •

Copy link
Copy Markdown

Bumps strawberry-graphql from 0.156.1 to 0.171.1.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.171.1

This release fix the return value of enums when using a custom name converter for them.

Releases contributed by @​patrick91 via #2696

🍓 0.171.0

This release adds support for Mypy 1.2.0

Releases contributed by @​patrick91 via #2693

🍓 0.170.0

This release add support for converting the enum value names from NameConverter. It looks like this:

from enum import Enum
import strawberry
from strawberry.enum import EnumDefinition, EnumValue
from strawberry.schema.config import StrawberryConfig
from strawberry.schema.name_converter import NameConverter
class EnumNameConverter(NameConverter):
def from_enum_value(self, enum: EnumDefinition, enum_value: EnumValue) -> str:
return f"{super().from_enum_value(enum, enum_value)}_enum_value"
@​strawberry.enum
class MyEnum(Enum):
A = "a"
B = "b"
@​strawberry.type
class Query:
a_enum: MyEnum
schema = strawberry.Schema(
query=Query,
config=StrawberryConfig(name_converter=EnumNameConverter()),
)

Releases contributed by @​patrick91 via #2690

🍓 0.169.0

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.171.1 - 2023-04-07

This release fix the return value of enums when using a custom name converter for them.

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

0.171.0 - 2023-04-06

This release adds support for Mypy 1.2.0

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

0.170.0 - 2023-04-06

This release add support for converting the enum value names from NameConverter. It looks like this:

from enum import Enum
import strawberry
from strawberry.enum import EnumDefinition, EnumValue
from strawberry.schema.config import StrawberryConfig
from strawberry.schema.name_converter import NameConverter
class EnumNameConverter(NameConverter):
def from_enum_value(self, enum: EnumDefinition, enum_value: EnumValue) -> str:
return f"{super().from_enum_value(enum, enum_value)}_enum_value"
@​strawberry.enum
class MyEnum(Enum):
A = "a"
B = "b"
@​strawberry.type
class Query:
a_enum: MyEnum
schema = strawberry.Schema(
</tr></table>

... (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)

@dependabot @github

dependabot Bot commented on behalf of github Apr 7, 2023

Copy link
Copy Markdown
Author

The following labels could not be found: kind/dependencies, sdk/python.

@dependabot
dependabot Bot force-pushed the dependabot/pip/sdk/python/strawberry-graphql-0.171.1 branch from c238f59 to fa76acd Compare April 18, 2023 16:07
@dependabot @github

dependabot Bot commented on behalf of github Apr 21, 2023

Copy link
Copy Markdown
Author

Superseded by #301.

@dependabot dependabot Bot closed this Apr 21, 2023
@dependabot
dependabot Bot deleted the dependabot/pip/sdk/python/strawberry-graphql-0.171.1 branch April 21, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants