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.117.1 to 0.119.0 #335

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps strawberry-graphql from 0.117.1 to 0.119.0.

Release notes

Sourced from strawberry-graphql's releases.

๐Ÿ“ 0.119.0

This release changes when we add the custom directives extension, previously the extension was always enabled, now it is only enabled if you pass custom directives to strawberry.Schema.

๐Ÿ“ 0.118.2

This release adds an initial fix to make strawberry.auto work when using from __future__ import annotations.

๐Ÿ“ 0.118.1

Fixes issue where users without pydantic were not able to use the mypy plugin.

๐Ÿ“ 0.118.0

You can now pass keyword arguments to to_pydantic

from pydantic import BaseModel
import strawberry

class MyModel(BaseModel): email: str password: str

@โ€‹strawberry.experimental.pydantic.input(model=MyModel) class MyModelStrawberry: email: strawberry.auto

no password field here

MyModelStrawberry(email="").to_pydantic(password="hunter")

Also if you forget to pass password, mypy will complain

MyModelStrawberry(email="").to_pydantic()
# error: Missing named argument "password" for "to_pydantic" of "MyModelStrawberry"
Changelog

Sourced from strawberry-graphql's changelog.

0.119.0 - 2022-07-14

This release changes when we add the custom directives extension, previously the extension was always enabled, now it is only enabled if you pass custom directives to strawberry.Schema.

Contributed by bomtall via [PR #2020](strawberry-graphql/strawberry#2020)

0.118.2 - 2022-07-14

This release adds an initial fix to make strawberry.auto work when using from __future__ import annotations.

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

0.118.1 - 2022-07-14

Fixes issue where users without pydantic were not able to use the mypy plugin.

Contributed by James Chua via [PR #2016](strawberry-graphql/strawberry#2016)

0.118.0 - 2022-07-13

You can now pass keyword arguments to to_pydantic

from pydantic import BaseModel
import strawberry

class MyModel(BaseModel): email: str password: str

@โ€‹strawberry.experimental.pydantic.input(model=MyModel) class MyModelStrawberry: email: strawberry.auto

no password field here

MyModelStrawberry(email="").to_pydantic(password="hunter")

Also if you forget to pass password, mypy will complain

... (truncated)

Commits
  • 64f5a39 Release ๐Ÿ“ 0.119.0
  • fee6ca5 Don't use directives extension when no custom extensions passed in (#2020)
  • dd940a1 Release ๐Ÿ“ 0.118.2
  • a763f3a Add temporary fix for strawberry.auto and future annotations (#1994)
  • 76ffc85 Release ๐Ÿ“ 0.118.1
  • a11b64d Fix mypy compat with those without pydantic (#2016)
  • c807445 Release ๐Ÿ“ 0.118.0
  • b6c603a Allow **kwargs for to_pydantic to add missing fields (#2012)
  • See full diff 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)
codecov[bot] commented 2 years ago

Codecov Report

Merging #335 (dffc9c9) into master (17d520e) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #335   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           32        32           
  Lines         1066      1066           
  Branches       177       177           
=========================================
  Hits          1066      1066           

Continue to review full report at Codecov.

Legend - Click here to learn more ฮ” = absolute <relative> (impact), รธ = not affected, ? = missing data Powered by Codecov. Last update 17d520e...dffc9c9. Read the comment docs.

dependabot[bot] commented 2 years ago

Superseded by #336.