chore(deps): update dependency gql to v4#3252
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
7dcec6c to
6f0d70e
Compare
6e3451b to
2e58288
Compare
cbf4e72 to
0ab7c72
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3252 +/- ##
=======================================
Coverage 95.72% 95.72%
=======================================
Files 98 98
Lines 6052 6052
=======================================
Hits 5793 5793
Misses 259 259
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
62560e8 to
d572a94
Compare
403faed to
6b2c63d
Compare
6baaf6b to
b8cbe86
Compare
c94abad to
58fa119
Compare
58fa119 to
9a1bcef
Compare
Member
|
We'll do this in #3254 instead as it already has the changes required. |
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
>=3.5.0,<4->>=4,<5==3.5.3->==4.0.0Release Notes
graphql-python/gql (gql)
v4.0.0Compare Source
Breaking Changes
This is a big change:
gqlanddsl_gqlmethods will now return aGraphQLRequestinstead of aDocumentNodea
GraphQLRequestis an object containing the document and optionalvariable_valuesandoperation_nameexecuteandsubscribemethods now receive aGraphQLRequestas main argument instead ofa
DocumentNode,variable_valuesandoperation_nameargumentsvariable_valuesas an argument ofexecuteorsubscribestill works but is deprecatedSee https://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.CancelledErrorException 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
FileVarinstancesfor uploaded files (the old method still works but is deprecated).
See https://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
TransportConnectionFailedExceptionTransportConnectionClosedException replacingConnectionClosedException (#536)websocketattribute removed from transport, now using_connectedinstead (#536)Features
Batching requests is now fully supported, on sync or async transports, with automatic batching:
See https://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 by Mend Renovate. View the repository job log.