Bot releases are hidden (Show)
The graphql-python/gql stable version 3.0 is now finally available!
A lot of changes were made since the stable 2.x version and were available in the many pre-releases released since then. We now support async usage and subscriptions, new transports (aiohttp, websockets, phoenix channels, AWS appsync), file uploads, gql-cli script, completely revamped DSL module to compose GraphQL queries dynamically, custom scalars support... with 100% code coverage, typing hints and complete documentation.
This version needs graphql-core>=3.2.0 (#283)
use_json
default True by default in requests transport (#16)type_def
argument in Client is now removed in favor of schema
(#113) (#262)fetch_schema_from_transport
is set to True (#167) Note that previously with 2.x versions, if the fetching of the schema failed, then the error was silently discarded. This is no more the case with 3.x versions and if you use fetch_schema_from_transport=True
and there was a problem while getting the schema, then you'll get an Exception
client.execute(query, variables)
instead of client.execute(query, variable_values=variables)
. This no longer works in gql 3.0Big thanks to @Cito for the graphql-core development and all the many contributors who contributed to this release!
documentation is available there
keep_alive_timeout
argument to the websockets transport to close the connection if no keep alive are received from the backend in the specified time (#201)fetch_schema_from_transport
is set to True (#167)Breaking changes:
New features:
Bugs corrected:
Another alpha release of the 3.0 branch.
Bugs corrected:
New features:
Other improvements:
This is the second alpha release of the "modern" 3.0 branch.
The main improvements in this version are:
This is the first alpha version in the "modern" branch of gql.
This branch is based on GraphQL-core 3 and supports Python 3.6+.
The main improvements in this version are:
Please give us your feedback so that we can publish beta and final releases soon.