-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency strawberry-graphql to ^0.253.0 #62
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/strawberry-graphql-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5a76afa
to
d818fb7
Compare
9a42440
to
53d5d50
Compare
f202ddf
to
dec4fea
Compare
ce9de84
to
dcc1404
Compare
1856faa
to
9b0c0da
Compare
9b0c0da
to
1ce2b2c
Compare
1ce2b2c
to
947955a
Compare
679db3d
to
656cdcc
Compare
b341d3c
to
eac4441
Compare
eac4441
to
74de8de
Compare
bf6ef18
to
8854b4c
Compare
e7ec76d
to
4b0272b
Compare
b3ac91a
to
17c5dfb
Compare
fe7cff3
to
8a1b02f
Compare
06ebc63
to
3fa198f
Compare
3fa198f
to
18ab9c4
Compare
18ab9c4
to
252af7f
Compare
35edb4d
to
ee8dbbd
Compare
ee8dbbd
to
86075cb
Compare
86075cb
to
e3288bb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.235.0
->^0.253.0
Release Notes
strawberry-graphql/strawberry (strawberry-graphql)
v0.253.0
Compare Source
In this release, the return types of the
get_root_value
andget_context
methods were updated to be consistent across all view integrations. Before this
release, the return types used by the ASGI and Django views were too generic.
Contributed by Jonathan Ehwald via PR #3712
v0.252.0
Compare Source
The view classes of all integrations now have a
decode_json
method that allowsyou to customize the decoding of HTTP JSON requests.
This is useful if you want to use a different JSON decoder, for example, to
optimize performance.
Contributed by Jonathan Ehwald via PR #3709
v0.251.0
Compare Source
Starting with this release, the same JSON encoder is used to encode HTTP
responses and WebSocket messages.
This enables developers to override the
encode_json
method on their views tocustomize the JSON encoder used by all web protocols.
Contributed by Jonathan Ehwald via PR #3708
v0.250.1
Compare Source
This release refactors part of the legacy
graphql-ws
protocol implementation, making it easier to read, maintain, and extend.Contributed by Jonathan Ehwald via PR #3704
v0.250.0
Compare Source
In this release, we migrated the
graphql-transport-ws
types from data classes to typed dicts.Using typed dicts enabled us to precisely model
null
versusundefined
values, which are common in that protocol.As a result, we could remove custom conversion methods handling these cases and simplify the codebase.
Contributed by Jonathan Ehwald via PR #3701
v0.249.0
Compare Source
After a year-long deprecation period, the
SentryTracingExtension
has beenremoved in favor of the official Sentry SDK integration.
To migrate, remove the
SentryTracingExtension
from your Strawberry schema andthen follow the
official Sentry SDK integration guide.
Contributed by Jonathan Ehwald via PR #3672
v0.248.1
Compare Source
This release fixes the following deprecation warning:
This was only trigger in Python 3.13 and above.
Contributed by Patrick Arminio via PR #3692
v0.248.0
Compare Source
In this release, all types of the legacy graphql-ws protocol were refactored.
The types are now much stricter and precisely model the difference between null and undefined fields.
As a result, our protocol implementation and related tests are now more robust and easier to maintain.
Contributed by Jonathan Ehwald via PR #3689
v0.247.2
Compare Source
This release fixes the issue that some coroutines in the WebSocket protocol handlers were never awaited if clients disconnected shortly after starting an operation.
Contributed by Jonathan Ehwald via PR #3687
v0.247.1
Compare Source
Starting with this release, both websocket-based protocols will handle unexpected socket disconnections more gracefully.
Contributed by Jonathan Ehwald via PR #3685
v0.247.0
Compare Source
This release fixes a regression in the legacy GraphQL over WebSocket protocol.
Legacy protocol implementations should ignore client message parsing errors.
During a recent refactor, Strawberry changed this behavior to match the new protocol, where parsing errors must close the WebSocket connection.
The expected behavior is restored and adequately tested in this release.
Contributed by Jonathan Ehwald via PR #3670
v0.246.3
Compare Source
This release addresses a bug where directives were being added multiple times when defined in an interface which multiple objects inherits from.
The fix involves deduplicating directives when applying extensions/permissions to a field, ensuring that each directive is only added once.
Contributed by Arthur via PR #3674
v0.246.2
Compare Source
This release tweaks the Flask integration's
render_graphql_ide
method to be stricter typed internally, making type checkers ever so slightly happier.Contributed by Jonathan Ehwald via PR #3666
v0.246.1
Compare Source
This release adds support for using raw Python enum types in your schema
(enums that are not decorated with
@strawberry.enum
)This is useful if you have enum types from other places in your code
that you want to use in strawberry.
i.e
v0.246.0
Compare Source
The AIOHTTP, ASGI, and Django test clients'
asserts_errors
option has been renamed toassert_no_errors
to better reflect its purpose.This change is backwards-compatible, but the old option name will raise a deprecation warning.
Contributed by Jonathan Ehwald via PR #3661
v0.245.0
Compare Source
This release removes the dated
subscriptions_enabled
setting from the Django and Channels integrations.Instead, WebSocket support is now enabled by default in all GraphQL IDEs.
Contributed by Jonathan Ehwald via PR #3660
v0.244.1
Compare Source
Fixes an issue where the codegen tool would crash when working with a nullable list of types.
Contributed by Jacob Allen via PR #3653
v0.244.0
Compare Source
Starting with this release, WebSocket logic now lives in the base class shared between all HTTP integrations.
This makes the behaviour of WebSockets much more consistent between integrations and easier to maintain.
Contributed by Jonathan Ehwald via PR #3638
v0.243.1
Compare Source
This releases adds support for Pydantic 2.9.0's Mypy plugin
Contributed by Krisque via PR #3632
v0.243.0
Compare Source
Starting with this release, multipart uploads are disabled by default and Strawberry Django view is no longer implicitly exempted from Django's CSRF protection.
Both changes relieve users from implicit security implications inherited from the GraphQL multipart request specification which was enabled in Strawberry by default.
These are breaking changes if you are using multipart uploads OR the Strawberry Django view.
Migrations guides including further information are available on the Strawberry website.
Contributed by Jonathan Ehwald via PR #3645
v0.242.0
Compare Source
Starting with this release, clients using the legacy graphql-ws subprotocol will receive an error when they try to send binary data frames.
Before, binary data frames were silently ignored.
While vaguely defined in the protocol, the legacy graphql-ws subprotocol is generally understood to only support text data frames.
Contributed by Jonathan Ehwald via PR #3633
v0.241.0
Compare Source
You can now configure your schemas to provide a custom subclass of
strawberry.types.Info
to your types and queries.Contributed by Ethan Henderson via PR #3592
v0.240.4
Compare Source
This release fixes how we check for multipart subscriptions to be
in line with the latest changes in the spec.
Contributed by Patrick Arminio via PR #3627
v0.240.3
Compare Source
This release fixes an issue that prevented extensions to receive the result from
the execution context when executing operations in async.
Contributed by ניר via PR #3629
v0.240.2
Compare Source
This release updates how we check for GraphQL core's version to remove a
dependency on the
packaging
package.Contributed by Nicholas Bollweg via PR #3622
v0.240.1
Compare Source
This release adds support for Python 3.13 (which will be out soon!)
Contributed by Patrick Arminio via PR #3510
v0.240.0
Compare Source
This release adds support for schema-extensions in subscriptions.
Here's a small example of how to use them (they work the same way as query and
mutation extensions):
Contributed by ניר via PR #3554
v0.239.2
Compare Source
This release fixes a TypeError on Python 3.8 due to us using a
asyncio.Queue[Tuple[bool, Any]](1)
instead ofasyncio.Queue(1)
.Contributed by Daniel Szoke via PR #3615
v0.239.1
Compare Source
This release fixes an issue with the http multipart subscription where the
status code would be returned as
None
, instead of 200.We also took the opportunity to update the internals to better support
additional protocols in future.
Contributed by Patrick Arminio via PR #3610
v0.239.0
Compare Source
This release adds support for multipart subscriptions in almost all[^1] of our
http integrations!
Multipart subcriptions
are a new protocol from Apollo GraphQL, built on the
Incremental Delivery over HTTP spec,
which is also used for
@defer
and@stream
.The main advantage of this protocol is that when using the Apollo Client
libraries you don't need to install any additional dependency, but in future
this feature should make it easier for us to implement
@defer
and@stream
Also, this means that you don't need to use Django Channels for subscription,
since this protocol is based on HTTP we don't need to use websockets.
[^1]: Flask, Chalice and the sync Django integration don't support this.
Contributed by Patrick Arminio via PR #3076
v0.238.1
Compare Source
Fix an issue where
StrawberryResolver.is_async
was returningFalse
for afunction decorated with asgiref's
@sync_to_async
.The root cause is that in python >= 3.12 coroutine functions are market using
inspect.markcoroutinefunction
, which should be checked withinspect.iscoroutinefunction
instead ofasyncio.iscoroutinefunction
Contributed by Hyun S. Moon via PR #3599
v0.238.0
Compare Source
This release removes the integration of Starlite, as it
has been deprecated since 11 May 2024.
If you are using Starlite, please consider migrating to Litestar (https://litestar.dev) or another alternative.
Contributed by Patrick Arminio via PR #3609
v0.237.3
Compare Source
This release fixes the type of the ASGI request handler's
scope
argument, making type checkers ever so slightly happier.Contributed by Jonathan Ehwald via PR #3581
v0.237.2
Compare Source
This release makes the ASGI and FastAPI integrations share their HTTP request adapter code, making Strawberry ever so slightly smaller and easier to maintain.
Contributed by Jonathan Ehwald via PR #3582
v0.237.1
Compare Source
This release adds support for GraphQL-core v3.3 (which has not yet been
released). Note that we continue to support GraphQL-core v3.2 as well.
Contributed by ניר via PR #3570
v0.237.0
Compare Source
This release ensures using pydantic 2.8.0 doesn't break when using experimental
pydantic_type and running mypy.
Contributed by Martin Roy via PR #3562
v0.236.2
Compare Source
Update federation entity resolver exception handling to set the result to the original error instead of a
GraphQLError
, which obscured the original message and meta-fields.Contributed by Bradley Oesch via PR #3144
v0.236.1
Compare Source
This release fixes an issue where optional lazy types using
| None
werefailing to be correctly resolved inside modules using future annotations, e.g.
This should now work as expected.
Contributed by Thiago Bellini Ribeiro via PR #3576
v0.236.0
Compare Source
This release changes some of the internals of Strawberry, it shouldn't
be affecting most of the users, but since we have changed the structure
of the code you might need to update your imports.
Thankfully we also provide a codemod for this, you can run it with:
This release also includes additional documentation to some of
the classes, methods and functions, this is in preparation for
having the API reference in the documentation ✨
Contributed by Patrick Arminio via PR #3546
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.