Skip to content
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

Bump strawberry-graphql from 0.93.4 to 0.93.23 #192

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 11, 2022

Bumps strawberry-graphql from 0.93.4 to 0.93.23.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.93.23

Improve typing of @strawberry.enum() by:

  1. Using a TypeVar bound on EnumMeta instead of EnumMeta, which allows type-checkers (like pyright) to detect the fields of the enum being decorated. For example, for the following enum:
@strawberry.enum
class IceCreamFlavour(Enum):
    VANILLA = "vanilla"
    STRAWBERRY = "strawberry"
    CHOCOLATE = "chocolate"

Prior to this change, pyright would complain if you tried to access IceCreamFlavour.VANILLA, since the type information of IceCreamFlavour was being erased by the EnumMeta typing .

  1. Overloading it so that type-checkers (like pyright) knows in what cases it returns a decorator (when it's called with keyword arguments, e.g. @strawberry.enum(name="IceCreamFlavor")), versus when it returns the original enum type (without keyword arguments.

🍓 0.93.22

This release adds load_many to DataLoader.

🍓 0.93.21

This release adds deprecation_reason support to arguments and mutations.

🍓 0.93.20

This release checks for AutoFieldsNotInBaseModelError when converting from pydantic models. It is raised when strawberry.auto is used, but the pydantic model does not have the particular field defined.

class User(BaseModel):
    age: int
@​strawberry.experimental.pydantic.type(User)
class UserType:
age: strawberry.auto
password: strawberry.auto

Previously no errors would be raised, and the password field would not appear on graphql schema. Such mistakes could be common during refactoring. Now, AutoFieldsNotInBaseModelError is raised.

🍓 0.93.19

Fixes TypeError when converting a pydantic BaseModel with NewType field

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.93.23 - 2022-01-11

Improve typing of @strawberry.enum() by:

  1. Using a TypeVar bound on EnumMeta instead of EnumMeta, which allows type-checkers (like pyright) to detect the fields of the enum being decorated. For example, for the following enum:
@strawberry.enum
class IceCreamFlavour(Enum):
    VANILLA = "vanilla"
    STRAWBERRY = "strawberry"
    CHOCOLATE = "chocolate"

Prior to this change, pyright would complain if you tried to access IceCreamFlavour.VANILLA, since the type information of IceCreamFlavour was being erased by the EnumMeta typing .

  1. Overloading it so that type-checkers (like pyright) knows in what cases it returns a decorator (when it's called with keyword arguments, e.g. @strawberry.enum(name="IceCreamFlavor")), versus when it returns the original enum type (without keyword arguments.

Contributed by Tim Joseph Dumol [PR #1568](strawberry-graphql/strawberry#1568)

0.93.22 - 2022-01-09

This release adds load_many to DataLoader.

Contributed by Silas Sewell [PR #1528](strawberry-graphql/strawberry#1528)

0.93.21 - 2022-01-07

This release adds deprecation_reason support to arguments and mutations.

Contributed by Silas Sewell [PR #1527](strawberry-graphql/strawberry#1527)

0.93.20 - 2022-01-07

This release checks for AutoFieldsNotInBaseModelError when converting from pydantic models. It is raised when strawberry.auto is used, but the pydantic model does not have

... (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 dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 11, 2022
@codecov
Copy link

codecov bot commented Jan 11, 2022

Codecov Report

Merging #192 (fc16390) into master (cb2e416) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #192   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           32        32           
  Lines         1104      1104           
  Branches       184       184           
=========================================
  Hits          1104      1104           

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 cb2e416...fc16390. Read the comment docs.

Bumps [strawberry-graphql](https://github.com/strawberry-graphql/strawberry) from 0.93.4 to 0.93.23.
- [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.93.4...0.93.23)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/strawberry-graphql-0.93.23 branch from db202ef to fc16390 Compare January 12, 2022 13:18
@KundaPanda KundaPanda merged commit 39e1140 into master Jan 12, 2022
@dependabot dependabot bot deleted the dependabot/pip/strawberry-graphql-0.93.23 branch January 12, 2022 13:39
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.

1 participant