- Notifications
You must be signed in to change notification settings - Fork676
chore(deps): update dependency gql to v4#3252
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
renovate wants to merge1 commit intomainChoose a base branch fromrenovate/gql-4.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.
Open
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or 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
7dcec6c
to6f0d70e
Compare6e3451b
to2e58288
Comparecbf4e72
to0ab7c72
Comparecodecovbot commentedSep 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #3252 +/- ##======================================= Coverage 97.32% 97.32% ======================================= Files 98 98 Lines 6062 6062 ======================================= Hits 5900 5900 Misses 162 162
Flags with carried forward coverage won't be shown.Click here to find out more. 🚀 New features to boost your workflow:
|
62560e8
tod572a94
Compare403faed
to6b2c63d
Compare6b2c63d
to543d110
Compare543d110
to6baaf6b
CompareSign up for freeto 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.
Uh oh!
There was an error while loading.Please reload this page.
This PR contains the following updates:
>=3.5.0,<4
->>=4,<5
==3.5.3
->==4.0.0
Release Notes
graphql-python/gql (gql)
v4.0.0
Compare Source
Breaking Changes
This is a big change:
gql
anddsl_gql
methods will now return aGraphQLRequest
instead of aDocument
Nodea
GraphQLRequest
is an object containing the document and optionalvariable_values
andoperation_name
execute
andsubscribe
methods now receive aGraphQLRequest
as main argument instead ofa
DocumentNode
,variable_values
andoperation_name
argumentsvariable_values
as an argument ofexecute
orsubscribe
still works but is deprecatedSeehttps://gql.readthedocs.io/en/latest/usage/variables.html for the new syntax.
Previously if a task was cancelled while a subscription task was active,
the
asyncio.CancelledError
Exception would be swallowed by our code.This is not the case anymore so you should now trap that Exception yourself.
The file upload functionality has been modified to require
FileVar
instancesfor uploaded files (the old method still works but is deprecated).
Seehttps://gql.readthedocs.io/en/latest/usage/file_upload.html
Note that some backends might not support this and return
Unknown argument includeDeprecated
. See#564Now gql will trap Exceptions raised by dependencies when executing a request and will
encapsulate that Exception into the
TransportConnectionFailed
ExceptionTransportConnectionClosed
Exception replacingConnectionClosed
Exception (#536)websocket
attribute removed from transport, now using_connected
instead (#536)Features
Batching requests is now fully supported, on sync or async transports, with automatic batching:
Seehttps://gql.readthedocs.io/en/latest/advanced/batching_requests.html
Fixes
Fix httpx test deprecated warning (#542)
Refactor websockets transports (#536) :
Refactor WebSockets Transport with Dependency Injection Architecture
This major architectural improvement implements dependency injection patterns across the WebSockets transport layer, creating a more modular, testable, and extensible system:
Misc
Configuration
📅Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻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 these updates again.
This PR was generated byMend Renovate. View therepository job log.