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[fastapi] from 0.168.1 to 0.192.0 #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2023

Bumps strawberry-graphql[fastapi] from 0.168.1 to 0.192.0.

Release notes

Sourced from strawberry-graphql[fastapi]'s releases.

🍓 0.192.0

This release introduces a new command called upgrade, this command can be used to run codemods on your codebase to upgrade to the latest version of Strawberry.

At the moment we only support upgrading unions to use the new syntax with annotated, but in future we plan to add more commands to help with upgrading.

Here's how you can use the command to upgrade your codebase:

strawberry upgrade annotated-union .

Releases contributed by @​patrick91 via #2886

🍓 0.191.0

This release adds support for declaring union types using typing.Annotated instead of strawberry.union(name, types=...).

Code using the old syntax will continue to work, but it will trigger a deprecation warning. Using Annotated will improve type checking and IDE support especially when using pyright.

Before:

Animal = strawberry.union("Animal", (Cat, Dog))

After:

from typing import Annotated, Union
Animal = Annotated[Union[Cat, Dog], strawberry.union("Animal")]

🍓 0.190.0

This release refactors the way we resolve field types to to make it more robust, resolving some corner cases.

One case that should be fixed is when using specialized generics with future annotations.

Releases contributed by @​devkral via #2868

🍓 0.189.3

This release removes some usage of deprecated functions from GraphQL-core.

Releases contributed by @​kristjanvalur via #2894

... (truncated)

Changelog

Sourced from strawberry-graphql[fastapi]'s changelog.

0.192.0 - 2023-06-28

This release introduces a new command called upgrade, this command can be used to run codemods on your codebase to upgrade to the latest version of Strawberry.

At the moment we only support upgrading unions to use the new syntax with annotated, but in future we plan to add more commands to help with upgrading.

Here's how you can use the command to upgrade your codebase:

strawberry upgrade annotated-union .

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

0.191.0 - 2023-06-28

This release adds support for declaring union types using typing.Annotated instead of strawberry.union(name, types=...).

Code using the old syntax will continue to work, but it will trigger a deprecation warning. Using Annotated will improve type checking and IDE support especially when using pyright.

Before:

Animal = strawberry.union("Animal", (Cat, Dog))

After:

from typing import Annotated, Union
Animal = Annotated[Union[Cat, Dog], strawberry.union("Animal")]

0.190.0 - 2023-06-27

This release refactors the way we resolve field types to to make it more robust, resolving some corner cases.

One case that should be fixed is when using specialized generics with future annotations.

... (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)

Bumps [strawberry-graphql[fastapi]](https://github.com/strawberry-graphql/strawberry) from 0.168.1 to 0.192.0.
- [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.168.1...0.192.0)

---
updated-dependencies:
- dependency-name: strawberry-graphql[fastapi]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 1, 2023
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.

0 participants