gql

A GraphQL client in Python

MIT License

Downloads
6.7M
Stars
1.5K
Committers
55

Bot releases are hidden (Show)

gql - Latest Release

Published by leszekhanusz 6 months ago

Fixes

  • Fix importing DirectiveLocation directly from graphql (#477)
    Fix running gql with graphql-core 3.3.0a5

Misc

  • Fix spelling of _source (#474)
  • Doc Fix confusion about TransportQueryError execute retries (#473)
gql -

Published by leszekhanusz 8 months ago

Features

  • Adding json_serialize and json_deserialize to requests transport (#466)
  • Adding json_deserialize parameter to aiohttp and httpx transports (#465)
gql -

Published by leszekhanusz 10 months ago

Same as stable version 3.5.0 but with graphql-core back to versions >= 3.3.0a3

gql -

Published by leszekhanusz 10 months ago

IMPORTANT: graphql-core has been reverted to the stable versions 3.2.x
See #427
A new pre-release version will be made shortly with the graphql-core versions 3.3.x

New features

  • Add execute-timeout argument for gql-cli (#349)
  • Add HTTPX transport (#370)
  • Don't try to close the aiohttp session if connector_owner is False (#382)
  • Feature allow to set the content-type of file uploads (#386)
  • Allow to configure the introspection query sent to recover the schema (#402)
  • Python 3.11 support (#410)
  • Make retry backoff and status codes customizable for the requests transport (#421)
  • Support batching queries using sync transports (#431)
  • Support automatic batching of sync requests coming from different threads (#436)
  • httpx transport now working with trio (#455)
    new anyio dependency added

Bug fixes

  • Fix KeyError when errors is not iterable (#359)
  • Handle JSON response being None (#365)
  • Get response headers even with 4xx return code (#367)
  • TransportQueryError should extend TransportError (#392)
  • Fix sync subscribe graceful shutdown (#395)
  • Restrict urllib3 to versions 1.x (#413)
    This should fix the problems which appeared when requests version 2.30 bumped urllib3 to a 2.x version.
  • DSLSchema transform type attribute assert into AttributeError (#409)
  • Fix typo response_headers in httpx transport (#407)
  • Allow alias on DSLMetaField (#405)
  • Fix parse_results with fragments (#446)
  • Fix missing empty directives in DSL nodes (#448)

Documentation

  • Add documentation on websockets level ping frames (#345)
  • Minor Spelling Mistake (#351)
  • Add phoenix channel transport example (#354)
  • DOC minor typo (#396)

Misc

  • Make AsyncTransport and Transport proper abstract base classes (#350)
  • Update graphql-core to 3.3.0 and dropping support for Python 3.6 (#363)
  • Update Sphinx dev dependency to 5.3.0 (#371)
  • Update aiohttp minimum dependency version to 3.8.0 (#393)
  • Bump websockets dependency to allow 11.x versions (#424)
  • Adjust aiohttp pin (#425)
  • Validate the argument of the gql function (#435)
  • Switch ubuntu-latest to ubuntu-20.04 to fix github actions
  • Bump vcrpy and requests_toolbelt (#440) : allows users to use urllib3 2.x versions
  • Fix automatic documentation build on readthedocs.io:
    readthedocs remove system_packages: true in config
  • DOC explain how to install pre-releases versions
  • Fix tests with Python 3.12 (#442)
  • Adding node_tree method in utilities to debug and compare DocumentNode instances (#449)
gql -

Published by leszekhanusz 10 months ago

Features

  • httpx transport now working with trio (#455)
    new anyio dependency added

Misc

  • Adding node_tree method in utilities to debug and compare DocumentNode instances (#449)
gql -

Published by leszekhanusz 11 months ago

Fixes

  • Fix missing empty directives in DSL nodes (#448)
gql -

Published by leszekhanusz 11 months ago

Fixes

  • Fix parse_results with fragments (#446)

Misc

  • Fix automatic documentation build on readthedocs.io:
    readthedocs remove system_packages: true in config
  • DOC explain how to install pre-releases versions
  • Fix tests with Python 3.12 (#442)
gql -

Published by leszekhanusz about 1 year ago

Features

  • Support batching queries using sync transports (#431)
  • Support automatic batching of sync requests coming from different threads (#436)

Misc

  • Validate the argument of the gql function (#435)

Maintenance

  • Bump vcrpy and requests_toolbelt (#440) : allows users to use urllib3 2.x versions
gql -

Published by leszekhanusz about 1 year ago

Features

  • Make retry backoff and status codes customizable for the requests transport (#421)

Maintenance

  • Bump graphql-core min version to 3.3.0a3 and remove await before subscribe (#417)
  • Bump websockets dependency to allow 11.x versions (#424)
  • Adjust aiohttp pin (#425)
gql -

Published by leszekhanusz over 1 year ago

Features

  • Allow to configure the introspection query sent to recover the schema (#402)
  • Python 3.11 support (#410)

Fixes

  • Restrict urllib3 to versions 1.x (#413)
    This should fix the problems which appeared when requests version 2.30 bumped urllib3 to a 2.x version.
  • DSLSchema transform type attribute assert into AttributeError (#409)
  • Fix typo response_headers in httpx transport (#407)
  • Allow alias on DSLMetaField (#405)
  • DOC minor typo (#396)
  • Switch ubuntu-latest to ubuntu-20.04 to fix github actions
gql -

Published by leszekhanusz over 1 year ago

Fixes

  • Restrict urllib3 to versions 1.x (#413).
    This should fix the problems which appeared when requests version 2.30 bumped urllib3 to a 2.x version.
gql -

Published by leszekhanusz over 1 year ago

Fixes

  • Fix sync subscribe graceful shutdown (#395)
gql -

Published by leszekhanusz over 1 year ago

Fixes

  • TransportQueryError should extend TransportError (#392)

Maintenance

  • Update aiohttp minimum dependency version to 3.8.0 (#393)
gql -

Published by leszekhanusz over 1 year ago

New features

  • Don't try to close the aiohttp session if connector_owner is False (#382)
  • Feature allow to set the content-type of file uploads (#386)
gql -

Published by leszekhanusz almost 2 years ago

New features

  • Add HTTPX transport (#370)

Misc

  • Update Sphinx dev dependency to 5.3.0 (#371)
gql -

Published by leszekhanusz almost 2 years ago

New features

  • Add execute-timeout argument for gql-cli (#349)

Bug fixes

  • Fix KeyError when errors is not iterable (#359)
  • Handle JSON response being None (#365)
  • Get response headers even with 4xx return code (#367)

Documentation

  • Add documentation on websockets level ping frames (#345)
  • Minor Spelling Mistake (#351)
  • Add phoenix channel transport example (#354)

Misc

  • Make AsyncTransport and Transport proper abstract base classes (#350)
  • Update graphql-core to 3.3.0 and dropping support for Python 3.6 (#363)
gql -

Published by leszekhanusz over 2 years ago

New features

  • Permanent reconnecting async session (#324)
    This new feature will make it more easy to keep a reference to a session in a class.
    See the new documentation about this
    Note: the backoff dependency had to be added for this feature
  • Adding explicit json_serialize argument in AIOHTTPTransport (#337)

Bug fixes

  • Allow omitting optional arguments with serialize_variables=True (#338)

Documentation

  • DOC Add basic example result in README (#336)
gql -

Published by leszekhanusz over 2 years ago

New features

  • DSL Add default method for variables (#322)

Fixes

  • Check for errors during fetch_schema() (#328)
  • Fix parsing of None with parse_results=True (#326)

Documentation

  • Add doc to install gql with conda (#321)
gql -

Published by leszekhanusz over 2 years ago

New features

  • DSL: support custom names for root operation types (#320)

Fixes

  • Fix gql-cli signal issue on windows (fixed in #311)
  • Represent serialized floats to approximately python float precision (#318)

Maintenance

  • Update black dev dependency to 22.3.0 (#313)
  • replace use of scripts with entry_points (#311)
  • build Python wheel (#312)

Documentation

  • DSL add note for arguments with Python keywords (#317)
gql -

Published by leszekhanusz over 2 years ago

New features

  • Allow to specify subprotocols in the websockets transport (#300)
  • Saving http response headers reference in transports (#293)

Fixes

  • Close transport when fetching the schema failed (#297)
  • Fix errors raising TransportProtocolError with the graphql-ws protocol (#299)
  • Client: Add explicit overloads and remove *args arguments (#306)