KundaPanda / strawberry-django-jwt

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

Bump strawberry-graphql from 0.133.5 to 0.142.2 #379

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps strawberry-graphql from 0.133.5 to 0.142.2.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.142.2

This release changes the dataloader batch resolution to avoid resolving futures that were canceled, and also from reusing them from the cache. Trying to resolve a future that was canceled would raise asyncio.InvalidStateError

🍓 0.142.1

This release fixes a bug where using a custom scalar in a union would result in an unclear exception. Instead, when using a custom scalar in a union, the InvalidUnionType exception is raised with a clear message that you cannot use that type in a union.

🍓 0.142.0

This release adds support for typing.Self and typing_extensions.Self for types and interfaces.

from typing_extensions import Self

@​strawberry.type class Node: @​strawberry.field def field(self) -> Self: return self

🍓 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

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.142.2 - 2022-11-15

This release changes the dataloader batch resolution to avoid resolving futures that were canceled, and also from reusing them from the cache. Trying to resolve a future that was canceled would raise asyncio.InvalidStateError

Contributed by Thiago Bellini Ribeiro via [PR #2339](strawberry-graphql/strawberry#2339)

0.142.1 - 2022-11-11

This release fixes a bug where using a custom scalar in a union would result in an unclear exception. Instead, when using a custom scalar in a union, the InvalidUnionType exception is raised with a clear message that you cannot use that type in a union.

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

0.142.0 - 2022-11-11

This release adds support for typing.Self and typing_extensions.Self for types and interfaces.

from typing_extensions import Self

@​strawberry.type class Node: @​strawberry.field def field(self) -> Self: return self

Contributed by A. Coady via [PR #2295](strawberry-graphql/strawberry#2295)

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:
</tr></table> 

... (truncated)

Commits
  • aa3f54d Release 🍓 0.142.2
  • 8b700c5 fix: Prevent InvalidStateError when resolving canceled futures (#2339)
  • f6460db [pre-commit.ci] pre-commit autoupdate (#2340)
  • dae3195 Bump pytest-asyncio from 0.20.1 to 0.20.2 (#2337)
  • 2691108 Release 🍓 0.142.1
  • 6963b2a Fix error when trying to use a custom scalar in a union (#2336)
  • 856cfb6 Release 🍓 0.142.0
  • 5893f7d Support new Self type as an annotation. (#2295)
  • 6139103 Bump types-requests from 2.28.11.3 to 2.28.11.4 (#2331)
  • c369a2c Release 🍓 0.141.0
  • 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 2 years ago

Superseded by #383.