Skip to content

Bump strawberry-graphql from 0.263.2 to 0.265.1 in /ci/latest #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 16, 2025

Bumps strawberry-graphql from 0.263.2 to 0.265.1.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.265.1

Fix bug where files would be converted into io.BytesIO when using the sanic GraphQLView instead of using the sanic File type

Releases contributed by @​Maypher via #3751

🍓 0.265.0

This release adds support for using strawberry.union with generics, like in this example:

@strawberry.type
class ObjectQueries[T]:
    @strawberry.field
    def by_id(
        self, id: strawberry.ID
    ) -> Union[T, Annotated[NotFoundError, strawberry.union("ByIdResult")]]: ...
@​strawberry.type
class Query:
@​strawberry.field
def some_type_queries(self, id: strawberry.ID) -> ObjectQueries[SomeType]: ...

which, now, creates a correct union type named SomeTypeByIdResult

Releases contributed by @​enoua5 via #3515

🍓 0.264.1

Change pydantic conversion to not load field data unless requested

Releases contributed by @​Mark90 via #3812

🍓 0.264.0

This releases improves support for relay.Edge subclasses.

resolve_edge now accepts **kwargs, so custom fields can be added to your edge classes without wholly replacing resolve_edge:

@strawberry.type(name="Edge", description="An edge in a connection.")
class CustomEdge(relay.Edge[NodeType]):
    index: int
@classmethod
def resolve_edge(cls, node: NodeType, *, cursor: Any = None, **kwargs: Any) -> Self:
    assert isinstance(cursor, int)
    return super().resolve_edge(node, cursor=cursor, index=cursor, **kwargs)

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.265.1 - 2025-04-15

Fix bug where files would be converted into io.BytesIO when using the sanic GraphQLView instead of using the sanic File type

Contributed by Maypher via [PR #3751](strawberry-graphql/strawberry#3751)

0.265.0 - 2025-04-15

This release adds support for using strawberry.union with generics, like in this example:

@strawberry.type
class ObjectQueries[T]:
    @strawberry.field
    def by_id(
        self, id: strawberry.ID
    ) -> Union[T, Annotated[NotFoundError, strawberry.union("ByIdResult")]]: ...
@​strawberry.type
class Query:
@​strawberry.field
def some_type_queries(self, id: strawberry.ID) -> ObjectQueries[SomeType]: ...

which, now, creates a correct union type named SomeTypeByIdResult

Contributed by Jacob Allen via [PR #3515](strawberry-graphql/strawberry#3515)

0.264.1 - 2025-04-15

Change pydantic conversion to not load field data unless requested

Contributed by Mark Moes via [PR #3812](strawberry-graphql/strawberry#3812)

0.264.0 - 2025-04-12

This releases improves support for relay.Edge subclasses.

resolve_edge now accepts **kwargs, so custom fields can be added to your edge classes without wholly replacing resolve_edge:

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

Bumps [strawberry-graphql](https://github.com/strawberry-graphql/strawberry) from 0.263.2 to 0.265.1.
- [Release notes](https://github.com/strawberry-graphql/strawberry/releases)
- [Changelog](https://github.com/strawberry-graphql/strawberry/blob/main/CHANGELOG.md)
- [Commits](strawberry-graphql/strawberry@0.263.2...0.265.1)

---
updated-dependencies:
- dependency-name: strawberry-graphql
  dependency-version: 0.265.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 16, 2025
@dependabot dependabot bot requested a review from TaiSakuma as a code owner April 16, 2025 03:57
Copy link
Contributor Author

dependabot bot commented on behalf of github May 7, 2025

Superseded by #224.

@dependabot dependabot bot closed this May 7, 2025
@dependabot dependabot bot deleted the dependabot/pip/ci/latest/strawberry-graphql-0.265.1 branch May 7, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants