Gql

Latest version: v3.5.0

Safety actively analyzes 638379 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

3.0.0b0

New features

* Implementation of graphql-ws protocol (242)
* Add upload_files functionality for requests transport (244)
* AIOHTTPTransport ignore backend mimetype (248)
* Add the option to specify a filename on multipart file upload (241)
* DSL implementation of fragments (235)
* RequestsHTTPTransport add extra_args argument to execute function (232)
* Update typing hints of timeouts to allow passing floats (234)
* PhoenixChannelWebsocketsTransport: Handle Absinthe unsubscriptions (228)

Bug fixes

* Update requests/urllib3 dependency and allow retries on POST requests (249)
* Async generators always ensure that inner generator are closed properly (230)

3.0.0a6

New features
* Add Streaming functionalities to file uploads (174)
* Add extensions field to ExecutionResult (190)
* Added `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)
* Add support for variable definitions in dsl (210)

Fixes
* Fix 4xx error handling in transports (195)

Maintenance
* Update graphql-core version to 3.1.5 (213)
* Update websockets to >=9 (214)

Documentation
* Adding docs and test about cookies (202)
* add docs on how to disable the transport logs (183)

3.0.0a5

Breaking Changes

* The schema is now always fetched at the beginning of the first session if `fetch_schema_from_transport` is set to True (167)
* Complete Refactor of the DSL Module (169):
* The DSLSchema only needs a schema, a Client is no more needed.
* New dsl_gql function to convert the DSL operations into a Document
* This allows DSL queries to be executed in a session instead of a client (Solves 138)
* Added typing annotations
* Added code documentation and sphinx docs (Solves 82)
* Supports Subscriptions
* Fix nested input arguments
* Allow to set the alias directly in the select method
* Allow multiple operations in a document
* Allow to set the operation name

Maintenance

* Update aiohttp to >= 3.7.1 (currently 3.7.3)
* Update yarl to >= 1.6.0

3.0.0a4

Breaking Changes:
* Optional dependencies for transports (158):
* It is now necessary to request additional dependencies when installing gql
* It is no more possible to import transports directly from gql (Sorry...)
* Please check the [new installation documentation](https://gql.readthedocs.io/en/latest/intro.html#installation)

Improvements:
* aiohttp and requests transports logging (157)
* Better transport exception messages (155)

Documentation:
* Adding IPython section (165)
* Adding Logging section (157)

Maintenance:
* Stable Python 3.9 support (160)
* Update aiohttp from 3.6.2 to 3.7.1 (159)

3.0.0a3

Breaking changes:
* gql-cli script
* Now printing result as json
* Now working with multi-lines queries, using Ctrl-D (EOF) to execute queries
* Using --variables instead of --params

New features:
* File upload support (145)
* improved gql-cli script (148)

Bugs corrected:
* DSL allow to use GraphQL keys named type (151)
* Yarl dependency restricted to <1.6

3.0.0a2

Another alpha release of the 3.0 branch.

Bugs corrected:

* Fix running execute and subscribe of client in a Thread (135)
* Fix race condition in websocket transport close (133)
* DSL: Fixed bug where a nested GraphQLInputObjectType is causing infinite recursive calls (132)
* Raises "KeyError" when argument is invalid on DSL. (121)

New features:

* Adding a new transport class to handle Phoenix channels (100)
* add the data property in TransportQueryError (136)

Other improvements:

* Migrated from Travis to GitHub actions
* Migrated from coveralls to codecov
* New documentation generated with sphinx, hosted on readthedocs.io

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.