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.155.2 #404

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.133.5 to 0.155.2.

Release notes

Sourced from strawberry-graphql's releases.

๐Ÿ“ 0.155.2

This release fixes a bug in subscriptions using the graphql-transport-ws protocol where the conversion of the NextMessage object to a dictionary took an unnecessary amount of time leading to an increase in CPU usage.

Releases contributed by @โ€‹rjwills28 via #2481

๐Ÿ“ 0.155.1

A link to the changelog has been added to the package metadata, so it shows up on PyPI.

Releases contributed by @โ€‹twm via #2490

๐Ÿ“ 0.155.0

This release adds a new utility function to convert a Strawberry object to a dictionary.

You can use strawberry.asdict(...) function to convert a Strawberry object to a dictionary:

@strawberry.type
class User:
    name: str
    age: int

should be {"name": "Lorem", "age": 25}

user_dict = strawberry.asdict(User(name="Lorem", age=25))

Note: This function uses the dataclasses.asdict function under the hood, so you can safely replace dataclasses.asdict with strawberry.asdict in your code. This will make it easier to update your code to newer versions of Strawberry if we decide to change the implementation.

Releases contributed by @โ€‹Hazealign via #2417

๐Ÿ“ 0.154.1

Fix DuplicatedTypeName exception being raised on generics declared using strawberry.lazy. Previously the following would raise:

# issue_2397.py
from typing import Annotated, Generic, TypeVar

import strawberry

T = TypeVar("T")

</tr></table>

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.155.2 - 2023-01-25

This release fixes a bug in subscriptions using the graphql-transport-ws protocol where the conversion of the NextMessage object to a dictionary took an unnecessary amount of time leading to an increase in CPU usage.

Contributed by rjwills28 via [PR #2481](strawberry-graphql/strawberry#2481)

0.155.1 - 2023-01-24

A link to the changelog has been added to the package metadata, so it shows up on PyPI.

Contributed by Tom Most via [PR #2490](strawberry-graphql/strawberry#2490)

0.155.0 - 2023-01-23

This release adds a new utility function to convert a Strawberry object to a dictionary.

You can use strawberry.asdict(...) function to convert a Strawberry object to a dictionary:

@strawberry.type
class User:
    name: str
    age: int

should be {"name": "Lorem", "age": 25}

user_dict = strawberry.asdict(User(name="Lorem", age=25))

Note: This function uses the dataclasses.asdict function under the hood, so you can safely replace dataclasses.asdict with strawberry.asdict in your code. This will make it easier to update your code to newer versions of Strawberry if we decide to change the implementation.

Contributed by Haze Lee via [PR #2417](strawberry-graphql/strawberry#2417)

0.154.1 - 2023-01-17

Fix DuplicatedTypeName exception being raised on generics declared using

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

Superseded by #405.