gql breaking changes
gql 4.4.0 (September 27, 2026) is its newest release with breaking changes, 25 of them. The first: gql 4.4.0 drops support for Python 3.9. Every breaking API change we have recorded in gql on PyPI: 25 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.4.0, released September 27, 2026. Source repository
Its 4.4.0 release drops Python 3.9. Python end of life dates.
gql 4.4.0 breaking changes
- Removed
Python 3.9 is no longer supported, so users on Python 3.9 must upgrade Python before using this release. github.com - Signature changed
gql.dsl.DSLExecutable
Was class DSLExecutable(DSLSelector); now class DSLExecutable(DSLSelector, DSLDirectable). pypi.org - Signature changed
gql.dsl.DSLField.__call__
Was def __call__(self, **kwargs: Any) -> DSLField; now def __call__(self, **kwargs: Any) -> Self. pypi.org - Signature changed
gql.dsl.DSLField.alias
Was def alias(self, alias: str) -> DSLSelectableWithAlias; now def alias(self, alias: str) -> Self. pypi.org - Signature changed
gql.dsl.DSLField.args
Was def args(self, **kwargs: Any) -> DSLField; now def args(self, **kwargs: Any) -> Self. pypi.org - Signature changed
gql.dsl.DSLField.select
Was def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> DSLField; now def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> Self. pypi.org - Signature changed
gql.dsl.DSLFragment.on
Was def on(self, type_condition: DSLType) -> DSLFragment; now def on(self, type_condition: DSLType) -> Self. pypi.org - Signature changed
gql.dsl.DSLFragment.select
Was def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> DSLFragment; now def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> Self. pypi.org - Signature changed
gql.dsl.DSLInlineFragment.on
Was def on(self, type_condition: DSLType) -> DSLInlineFragment; now def on(self, type_condition: DSLType) -> Self. pypi.org - Signature changed
gql.dsl.DSLInlineFragment.select
Was def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> DSLInlineFragment; now def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> Self. pypi.org - Signature changed
gql.dsl.DSLMetaField.__call__
Was def __call__(self, **kwargs: Any) -> DSLField; now def __call__(self, **kwargs: Any) -> Self. pypi.org - Signature changed
gql.dsl.DSLMetaField.args
Was def args(self, **kwargs: Any) -> DSLField; now def args(self, **kwargs: Any) -> Self. pypi.org - Signature changed
gql.dsl.DSLMetaField.select
Was def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> DSLField; now def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> Self. pypi.org - Signature changed
gql.dsl.DSLSelectable
Was class DSLSelectable(ABC); now class DSLSelectable(DSLDirectable). pypi.org - Signature changed
gql.dsl.DSLSelectableWithAlias.alias
Was def alias(self, alias: str) -> DSLSelectableWithAlias; now def alias(self, alias: str) -> Self. pypi.org - Signature changed
gql.dsl.DSLVariable
Was class DSLVariable; now class DSLVariable(DSLDirectable). pypi.org - Signature changed
gql.dsl.DSLVariable.default
Was def default(self, default_value: Any) -> DSLVariable; now def default(self, default_value: Any) -> Self. pypi.org - Signature changed
gql.dsl.DSLVariable.set_type
Was def set_type(self, type_: GraphQLInputType) -> DSLVariable; now def set_type(self, type_: GraphQLInputType) -> Self. pypi.org - Signature changed
gql.graphql_request.GraphQLRequest.__init__
Was def __init__(self, request: Union[DocumentNode, GraphQLRequest, str], *, variable_values: Optional[Dict[str, Any]] = None, operation_name: Optional[str] = None); now def __init__(self, request: Union[DocumentNode, GraphQLRequest, str]... pypi.org - Signature changed
gql.GraphQLRequest.__init__
Was def __init__(self, request: Union[DocumentNode, GraphQLRequest, str], *, variable_values: Optional[Dict[str, Any]] = None, operation_name: Optional[str] = None); now def __init__(self, request: Union[DocumentNode, GraphQLRequest, str]... pypi.org - Signature changed
gql.transport.aiohttp.AIOHTTPTransport.subscribe
Was def subscribe(self, request: GraphQLRequest) -> AsyncGenerator[ExecutionResult, None]; now async def subscribe(self, request: GraphQLRequest, *, extra_args: Optional[Dict[str, Any]] = None) -> AsyncGenerator[ExecutionResult, None]. pypi.org - Signature changed
gql.transport.requests.RequestsHTTPTransport.__init__
Was def __init__(self, url: str, headers: Optional[Dict[str, Any]] = None, cookies: Optional[Union[Dict[str, Any], RequestsCookieJar]] = None, auth: Optional[AuthBase] = None, use_json: bool = True, timeout: Optional[int] = None, verify... pypi.org - Signature changed
gql.utilities.get_introspection_query_ast.DSLFragment.on
Was def on(self, type_condition: DSLType) -> DSLFragment; now def on(self, type_condition: DSLType) -> Self. pypi.org - Signature changed
gql.utilities.get_introspection_query_ast.DSLFragment.select
Was def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> DSLFragment; now def select(self, *fields: DSLSelectable, **fields_with_alias: DSLSelectableWithAlias) -> Self. pypi.org - Signature changed
gql.utilities.get_introspection_query_ast.get_introspection_query_ast
Was def get_introspection_query_ast(descriptions: bool = True, specified_by_url: bool = False, directive_is_repeatable: bool = False, schema_description: bool = False, input_value_deprecation: bool = True, type_recursion_level: int = 7) ->... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.