strawberry-graphql / strawberry-sqlalchemy

A SQLAlchemy Integration for strawberry-graphql
MIT License
91 stars 26 forks source link

Bump strawberry-graphql from 0.209.1 to 0.213.0 #83

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps strawberry-graphql from 0.209.1 to 0.213.0.

Release notes

Sourced from strawberry-graphql's releases.

πŸ“ 0.213.0

This release adds support in all all our HTTP integration for choosing between different GraphQL IDEs. For now we support GraphiQL (the default), Apollo Sandbox, and Pathfinder.

Deprecations: This release deprecates the graphiql option in all HTTP integrations, in favour of graphql_ide, this allows us to only have one settings to change GraphQL ide, or to disable it.

Here's a couple of examples of how you can use this:

FastAPI

import strawberry

from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter from api.schema import schema

graphql_app = GraphQLRouter(schema, graphql_ide="apollo-sandbox")

app = FastAPI() app.include_router(graphql_app, prefix="/graphql")

Django

from django.urls import path

from strawberry.django.views import GraphQLView

from api.schema import schema

urlpatterns = [ path("graphql/", GraphQLView.as_view(schema=schema, graphql_ide="pathfinder")), ]

Releases contributed by @​patrick91 via #3209

πŸ“ 0.212.0

This release changes how we check for generic types. Previously, any type that had a generic typevar would be considered generic for the GraphQL schema, this would generate un-necessary types in some cases. Now, we only consider a type generic if it has a typevar that is used as the type of a field or one of its arguments.

For example the following type:

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.213.0 - 2023-11-08

This release adds support in all all our HTTP integration for choosing between different GraphQL IDEs. For now we support GraphiQL (the default), Apollo Sandbox, and Pathfinder.

Deprecations: This release deprecates the graphiql option in all HTTP integrations, in favour of graphql_ide, this allows us to only have one settings to change GraphQL ide, or to disable it.

Here's a couple of examples of how you can use this:

FastAPI

import strawberry

from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter from api.schema import schema

graphql_app = GraphQLRouter(schema, graphql_ide="apollo-sandbox")

app = FastAPI() app.include_router(graphql_app, prefix="/graphql")

Django

from django.urls import path

from strawberry.django.views import GraphQLView

from api.schema import schema

urlpatterns = [ path("graphql/", GraphQLView.as_view(schema=schema, graphql_ide="pathfinder")), ]

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

0.212.0 - 2023-11-07

This release changes how we check for generic types. Previously, any type that had a generic typevar would be considered generic for the GraphQL schema, this

... (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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codspeed-hq[bot] commented 10 months ago

CodSpeed Performance Report

Merging #83 will not alter performance

Comparing dependabot/pip/strawberry-graphql-0.213.0 (ef7dc26) with main (4d3e130)

Summary

βœ… 1 untouched benchmarks

dependabot[bot] commented 10 months ago

Superseded by #88.