Skip to content

build(deps): bump strawberry-graphql from 0.156.1 to 0.169.0 in /sdk/python - #273

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/strawberry-graphql-0.169.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/strawberry-graphql-0.169.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 5, 2023

Copy link
Copy Markdown

Bumps strawberry-graphql from 0.156.1 to 0.169.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.169.0

This release updates all* the HTTP integration to use the same base class, which makes it easier to maintain and extend them in future releases.

While this doesn't provide any new features (other than settings headers in Chalice and Sanic), it does make it easier to extend the HTTP integrations in the future. So, expect some new features in the next releases!

New features:

Now both Chalice and Sanic integrations support setting headers in the response. Bringing them to the same level as the other HTTP integrations.

Breaking changes:

Unfortunately, this release does contain some breaking changes, but they are minimal and should be quick to fix.

  1. Flask get_root_value and get_context now receive the request
  2. Sanic get_root_value now receives the request and it is async

* The only exception is the channels http integration, which will be updated in a future release.

Releases contributed by @​patrick91 via #2681

🍓 0.168.2

Fixes type hint for StrawberryTypeFromPydantic._pydantic_type to be a Type instead of an instance of the Pydantic model. As it is a private API, we still highly discourage using it, but it's now typed correctly.

from pydantic import BaseModel
from typing import Type, List
import strawberry
from strawberry.experimental.pydantic.conversion_types import StrawberryTypeFromPydantic
class User(BaseModel):
name: str
@staticmethod
def foo() -> List[str]:
    return ["Patrick", "Pietro", "Pablo"]

@​strawberry.experimental.pydantic.type(model=User, all_fields=True)
class UserType:
@​strawberry.field
def foo(self: StrawberryTypeFromPydantic[User]) -> List[str]:
</tr></table>

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.169.0 - 2023-04-05

This release updates all* the HTTP integration to use the same base class, which makes it easier to maintain and extend them in future releases.

While this doesn't provide any new features (other than settings headers in Chalice and Sanic), it does make it easier to extend the HTTP integrations in the future. So, expect some new features in the next releases!

New features:

Now both Chalice and Sanic integrations support setting headers in the response. Bringing them to the same level as the other HTTP integrations.

Breaking changes:

Unfortunately, this release does contain some breaking changes, but they are minimal and should be quick to fix.

  1. Flask get_root_value and get_context now receive the request
  2. Sanic get_root_value now receives the request and it is async

* The only exception is the channels http integration, which will be updated in a future release.

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

0.168.2 - 2023-04-03

Fixes type hint for StrawberryTypeFromPydantic._pydantic_type to be a Type instead of an instance of the Pydantic model. As it is a private API, we still highly discourage using it, but it's now typed correctly.

from pydantic import BaseModel
from typing import Type, List
import strawberry
from strawberry.experimental.pydantic.conversion_types import StrawberryTypeFromPydantic
class User(BaseModel):
name: str
@staticmethod
def foo() -&gt; List[str]:
    return [&quot;Patrick&quot;, &quot;Pietro&quot;, &quot;Pablo&quot;]

</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)

@dependabot @github

dependabot Bot commented on behalf of github Apr 5, 2023

Copy link
Copy Markdown
Author

The following labels could not be found: kind/dependencies, sdk/python.

@dependabot @github

dependabot Bot commented on behalf of github Apr 6, 2023

Copy link
Copy Markdown
Author

Superseded by #275.

@dependabot dependabot Bot closed this Apr 6, 2023
@dependabot
dependabot Bot deleted the dependabot/pip/sdk/python/strawberry-graphql-0.169.0 branch April 6, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants