Skip to content

Tags: strazeadin/sgqlc

Tags

v8.1

Toggle v8.1's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 8.1 (bugfixes)

This release contains bugfixes contributed by our community, thank you!

- Fixed ValueError with None in Union field (by Kulikov Georgiy)
- properly serialize complex Input type variables (by John Stuart)

v8.0

Toggle v8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 8

This is a much improved release featuring a basic WebSocket endpoint
that can handle paginated queries or subscriptions -- it doesn't
handle multiple interleaved operations yet.

It's more robust and handles unions and interfaces as well as complex
input types with grace.

This release is also very important since it's the first with **MANY
CONTRIBUTORS**:

- Chris Conlin
- Chris Hager
- Daniel Goodman
- Greg
- Joe Barnett
- P.J. Janse van Rensburg
- Richard Jones
- Seba

Bug Fixes:

- only set `Accept` header if it doesn't exist
- properly define schema entry points (query, mutation, subscription)
- properly handle cast of list elements with `__as__`
- remove `totalCount` from Relay, it's not defined in that standard
- fix codegen for single-value unions
- allow datetime types to handle string as well

Enhancements:

- initial synchronous WebSocket endpoint (single query/subscription)
- handle complex input types (objects)
- schema now declares query, mutation and subscription types
- interface and unions now instantiate based on `__typename`
- add `__args__` shortcut for `__selection__().__args()`
- allow selectors to retrieve selection by name (alias)
- pipenv updates

v7.0

Toggle v7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 7

Bug Fixes:

- codegen: Fix handling of argument's default value of complex types
- endpoint: more robust error handling

Enhancements:

- operation: better support for union, including auto-selection
- operation: handle subscriptions (handle its operation "kind")
- types: declare __typename for unions
- example: Updated github example

6.0.0-tdip

Toggle 6.0.0-tdip's commit message
Add support for subscriptions and mutations when type is not named Mu…

…tation

Allow the __as__ operator to be used on Unions

v6.0

Toggle v6.0's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 6

This release contains bugfixes:

 - codegen: sort types so the output is stable

 - endpoint/base: handle array index when reporting errors

v5.0

Toggle v5.0's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 5

This release contains both features and fixes.

Fixes:

 - fix auto selection of fields, apply depth limit and avoid infinite
   recursion on schemas with reference loops (allowed in GraphQL)

Features:

 - Inline fragment support (`__as__(Type)`), enhances `Interface` and
   `Union` usage. The meta field `__typename` is automatically
   selected and used to detect the correct type in the response data.

 - Automatically expose `__typename` (as Python field `__typename__`),
   this is not listed in `dir()` or `iter()`, but can be selected.

v4.0

Toggle v4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 4

This release contains a major bug fix to properly propagate the
selection list down to the query, allowing aliases to be used
everywhere in the query.

Aliases can be specified as named parameters with string values in
`__fields__(name='alias')`.

v3.2

Toggle v3.2's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release 3.2 (clone of 3.1)

this is exactly the same as 3.1, just bump to match the release in setup.py

v3.1

Toggle v3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release v3.1

distribution fixes:

 - bdist_wheel within pipenv results in my personal venv interpreter
   to be used by third parties, which is wrong

 - pypi can't render sphinx extensions in rst, convert to literal

v3

Toggle v3's commit message

Verified

This tag was signed with the committer’s verified signature.
barbieri Gustavo Sverzut Barbieri
release v3

build and distribution improvements:

 - use newer sphinx, remove security warning about vulnerable "requests"
 - pipenv install -e . (install self, make testing easier)
 - fix new flake8 warning
 - use proper rst content-type for long description (pypi)