KundaPanda / strawberry-django-jwt

[UNMAINTAINED] JSON Web Token (JWT) authentication for Django with Strawberry GraphQL
MIT License
37 stars 15 forks source link

Bump strawberry-graphql from 0.133.5 to 0.141.0 #377

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.133.5 to 0.141.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.141.0

This release adds support for an implicit resolve_reference method on Federation type. This method will automatically create a Strawberry instance for a federation type based on the input data received, for example, the following:

@strawberry.federation.type(keys=["id"])
class Something:
    id: str

@​strawberry.federation.type(keys=["upc"]) class Product: upc: str something: Something

@staticmethod
def resolve_reference(**data):
    return Product(
        upc=data["upc"], something=Something(id=data["something_id"])
    )

doesn't need the resolve_reference method anymore.

🍓 0.140.3

[Internal] Update StrawberryField so that type_annotation is always an instance of StrawberryAnnotation.

🍓 0.140.2

This release fixes an issue that prevented using enums that were using strawberry.enum_value, like the following example:

from enum import Enum
import strawberry

@​strawberry.enum class TestEnum(Enum): A = strawberry.enum_value("A") B = "B"

@​strawberry.type class Query: @​strawberry.field def receive_enum(self, test: TestEnum) -> int: return 0

schema = strawberry.Schema(query=Query)

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.141.0 - 2022-11-10

This release adds support for an implicit resolve_reference method on Federation type. This method will automatically create a Strawberry instance for a federation type based on the input data received, for example, the following:

@strawberry.federation.type(keys=["id"])
class Something:
    id: str

@​strawberry.federation.type(keys=["upc"]) class Product: upc: str something: Something

@staticmethod
def resolve_reference(**data):
    return Product(
        upc=data["upc"], something=Something(id=data["something_id"])
    )

doesn't need the resolve_reference method anymore.

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

0.140.3 - 2022-11-09

[Internal] Update StrawberryField so that type_annotation is always an instance of StrawberryAnnotation.

Contributed by Jonathan Kim via [PR #2319](strawberry-graphql/strawberry#2319)

0.140.2 - 2022-11-08

This release fixes an issue that prevented using enums that were using strawberry.enum_value, like the following example:

from enum import Enum
import strawberry

@​strawberry.enum class TestEnum(Enum): </tr></table>

... (truncated)

Commits
  • c369a2c Release 🍓 0.141.0
  • d20ddc1 Auto generate a resolve_reference method for federation types (#2332)
  • ed77feb Bump pytest from 7.1.3 to 7.2.0 (#2284)
  • 18fcd19 Remove xprocess (#2333)
  • 4ea5c6d Update 3.11 to stable (#2281)
  • 71fd72f Release 🍓 0.140.3
  • f1bb3bd Ensure that StrawberryField.type_annotation is always `StrawberryAnnotation...
  • 8104414 Bump fastapi from 0.85.2 to 0.86.0 (#2311)
  • 5afd4a2 docs(authentication): access authenticated user in resolvers (#2321)
  • 6159677 Bump types-typed-ast from 1.5.8.1 to 1.5.8.2 (#2326)
  • Additional commits viewable in compare view


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[bot] commented 1 year ago

Superseded by #378.