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.180.1 #45

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

🍓 0.180.1

Make StrawberryAnnotation hashable, to make it compatible to newer versions of dacite.

Releases contributed by @​jaimecp89 via #2790

🍓 0.180.0

This release updates the Django Channels integration so that it uses the same base classes used by all other integrations.

New features:

The Django Channels integration supports two new features:

  • Setting headers in a response
  • File uploads via multipart/form-data POST requests

Breaking changes:

This release contains a breaking change for the Channels integration. The context object is now a dict and it contains different keys depending on the connection protocol:

  1. HTTP: request and response. The request object contains the full request (including the body). Previously, request was the GraphQLHTTPConsumer instance of the current connection. The consumer is now available via request.consumer.
  2. WebSockets: request, ws and response. request and ws are the same GraphQLWSConsumer instance of the current connection.

If you want to use a dataclass for the context object (like in previous releases), you can still use them by overriding the get_context methods. See the Channels integration documentation for an example.

Releases contributed by @​cdroege via #2775

🍓 0.179.0

This PR allows passing metadata to Strawberry arguments.

Example:

import strawberry
@​strawberry.type
class Query:
@​strawberry.field
def hello(
self,
info,
</tr></table>

... (truncated)

Changelog

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

0.180.1 - 2023-06-01

Make StrawberryAnnotation hashable, to make it compatible to newer versions of dacite.

Contributed by Jaime Coello de Portugal via [PR #2790](strawberry-graphql/strawberry#2790)

0.180.0 - 2023-05-31

This release updates the Django Channels integration so that it uses the same base classes used by all other integrations.

New features:

The Django Channels integration supports two new features:

  • Setting headers in a response
  • File uploads via multipart/form-data POST requests

Breaking changes:

This release contains a breaking change for the Channels integration. The context object is now a dict and it contains different keys depending on the connection protocol:

  1. HTTP: request and response. The request object contains the full request (including the body). Previously, request was the GraphQLHTTPConsumer instance of the current connection. The consumer is now available via request.consumer.
  2. WebSockets: request, ws and response. request and ws are the same GraphQLWSConsumer instance of the current connection.

If you want to use a dataclass for the context object (like in previous releases), you can still use them by overriding the get_context methods. See the Channels integration documentation for an example.

Contributed by Christian Dröge via [PR #2775](strawberry-graphql/strawberry#2775)

0.179.0 - 2023-05-31

This PR allows passing metadata to Strawberry arguments.

Example:

import strawberry
</tr></table> 

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

---
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 Jun 1, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 1, 2023

Superseded by #49.

@dependabot dependabot bot closed this Jul 1, 2023
@dependabot dependabot bot deleted the dependabot/pip/strawberry-graphql-fastapi--0.180.1 branch July 1, 2023 11:42
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