Skip to content

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

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 19, 2023

Copy link
Copy Markdown

Bumps strawberry-graphql from 0.156.1 to 0.177.3.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.177.3

This release adds a method on the DatadogTracingExtension class called create_span that can be overridden to create a custom span or add additional tags to the span.

from ddtrace import Span
from strawberry.extensions import LifecycleStep
from strawberry.extensions.tracing import DatadogTracingExtension
class DataDogExtension(DatadogTracingExtension):
def create_span(
self,
lifecycle_step: LifecycleStep,
name: str,
**kwargs,
) -> Span:
span = super().create_span(lifecycle_step, name, **kwargs)
if lifecycle_step == LifeCycleStep.OPERATION:
span.set_tag("graphql.query", self.execution_context.query)
return span

Releases contributed by @​ronaldnwilliams via #2773

🍓 0.177.2

This release fixes an issue with optional scalars using the or notation with forward references on python 3.10.

The following code would previously raise TypeError on python 3.10:

from __future__ import annotations
import strawberry
from strawberry.scalars import JSON
@​strawberry.type
class SomeType:
an_optional_json: JSON | None

Releases contributed by @​bellini666 via #2774

🍓 0.177.1

This release adds support for using enum_value with IntEnums, like this:

import strawberry
</tr></table> 

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.177.3 - 2023-05-19

This release adds a method on the DatadogTracingExtension class called create_span that can be overridden to create a custom span or add additional tags to the span.

from ddtrace import Span
from strawberry.extensions import LifecycleStep
from strawberry.extensions.tracing import DatadogTracingExtension
class DataDogExtension(DatadogTracingExtension):
def create_span(
self,
lifecycle_step: LifecycleStep,
name: str,
**kwargs,
) -> Span:
span = super().create_span(lifecycle_step, name, **kwargs)
if lifecycle_step == LifeCycleStep.OPERATION:
span.set_tag("graphql.query", self.execution_context.query)
return span

Contributed by Ronald Williams via [PR #2773](strawberry-graphql/strawberry#2773)

0.177.2 - 2023-05-18

This release fixes an issue with optional scalars using the or notation with forward references on python 3.10.

The following code would previously raise TypeError on python 3.10:

from __future__ import annotations
import strawberry
from strawberry.scalars import JSON
@​strawberry.type
class SomeType:
an_optional_json: JSON | None

Contributed by Thiago Bellini Ribeiro via [PR #2774](strawberry-graphql/strawberry#2774)

... (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 May 19, 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 May 22, 2023

Copy link
Copy Markdown
Author

Superseded by #373.

@dependabot dependabot Bot closed this May 22, 2023
@dependabot
dependabot Bot deleted the dependabot/pip/sdk/python/strawberry-graphql-0.177.3 branch May 22, 2023 18:06
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