Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 intomain
base:main
Choose a base branch
Loading
fromrenovate/gql-4.x

Conversation

renovate[bot]
Copy link
Contributor

@renovaterenovatebot commentedAug 18, 2025
edited
Loading

This PR contains the following updates:

PackageChangeAgeConfidence
gql>=3.5.0,<4 ->>=4,<5ageconfidence
gql==3.5.3 ->==4.0.0ageconfidence

Release Notes

graphql-python/gql (gql)

v4.0.0

Compare Source

Breaking Changes
  • Change transports prototype using GraphQLRequest (#​551)
  • Using GraphQLRequest instead of DocumentNode for gql, execute, subscribe methods (#​556):
    This is a big change:
    • thegql anddsl_gql methods will now return aGraphQLRequest instead of aDocument Node
      aGraphQLRequest is an object containing the document and optionalvariable_values andoperation_name
    • ALL theexecute andsubscribe methods now receive aGraphQLRequest as main argument instead of
      aDocumentNode,variable_values andoperation_name arguments
    • The old method of sendingvariable_values as an argument ofexecute orsubscribe still works but is deprecated
      Seehttps://gql.readthedocs.io/en/latest/usage/variables.html for the new syntax.
  • Fix subscription task cancel exception swallow (#​548):
    Previously if a task was cancelled while a subscription task was active,
    theasyncio.CancelledError Exception would be swallowed by our code.
    This is not the case anymore so you should now trap that Exception yourself.
  • Clean up the file upload interface with FileVar class (#​549):
    The file upload functionality has been modified to requireFileVar instances
    for uploaded files (the old method still works but is deprecated).
    Seehttps://gql.readthedocs.io/en/latest/usage/file_upload.html
  • Set logging level to DEBUG for all transports (#​552)
  • introspection now requests deprecated input fields by default (#​553)
    Note that some backends might not support this and returnUnknown argument includeDeprecated. See#​564
  • Trapping dependencies Exceptions into TransportConnectionFailed (#​558):
    Now gql will trap Exceptions raised by dependencies when executing a request and will
    encapsulate that Exception into theTransportConnectionFailed Exception
  • Setssl=True by default for AIOHTTPTransport (#​538) (issue#​529)
  • NewTransportConnectionClosed Exception replacingConnectionClosed Exception (#​536)
  • websocket attribute removed from transport, now using_connected instead (#​536)
  • Upgrade lastest websockets and Exceptions overhaul (#​543)
Features

Batching requests is now fully supported, on sync or async transports, with automatic batching:

  • Implementation of execute_batch for async transports (#​550)
  • Implementation of automatic batching for async (#​554)

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:

    • Created abstract AdapterConnection interface in common/adapters/connection.py
    • Implemented concrete WebSocketsAdapter to wrap the websockets library
    • Moved websockets_base.py to common/base.py maintaining better structure which is independant of the websockets library used
    • Added new TransportConnectionClosed exception for clearer error handling
    • Reorganized code with proper separation of concerns:
    • Moved common functionality into dedicated adapters folder
    • Isolated connection handling from transport business logic
    • Separated ListenerQueue into its own file for better modularity
Misc
  • Remove MIT license classifier (#​555)
  • Refactor transports (#​557)
  • bump aiohttp to 3.11.2 (#​541)
  • Bumping all the dev dependencies to latest versions (#​540)
  • Bump test dependencies (#​539)
  • Update pytest to 8.3.4 and pytest-asyncio to 0.25.3 (#​537)

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated byMend Renovate. View therepository job log.

@renovaterenovatebot changed the titlefix(deps): update dependency gql to v4chore(deps): update dependency gql to v4Aug 19, 2025
@renovaterenovatebotforce-pushed therenovate/gql-4.x branch 2 times, most recently from6e3451b to2e58288CompareAugust 28, 2025 01:37
@renovaterenovatebotforce-pushed therenovate/gql-4.x branch 2 times, most recently fromcbf4e72 to0ab7c72CompareSeptember 8, 2025 16:23
@codecovCodecov
Copy link

codecovbot commentedSep 8, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.32%. Comparing base (133ba8a) to head (6baaf6b).

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
FlagCoverage Δ
api_func_v483.71% <ø> (+0.16%)⬆️
cli_func_v484.67% <ø> (ø)
unit90.20% <ø> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovaterenovatebotforce-pushed therenovate/gql-4.x branch 3 times, most recently from62560e8 tod572a94CompareSeptember 15, 2025 01:56
@renovaterenovatebotforce-pushed therenovate/gql-4.x branch 2 times, most recently from403faed to6b2c63dCompareSeptember 28, 2025 01:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp