Releases: graphql-python/graphql-core-legacy
Releases · graphql-python/graphql-core-legacy
[v0.1a2] graphql-core v0.1-alpha-2 release.
graphql-core
v0.1a2
More fixes and potentially breaking changes as we gradually implement schema type checking.
- The proper version of
gevent
can now be installed by usingpip install graphql-core[gevent]
. - Require
six
as a dependency, and use it to handle py2/3 compat instead ofgraphql.core.compat
. - Ensure that values for
args
passed toGraphQLField
are of typeGraphQLArgument
. - Implement the
schema_printer
utility. - Ensure that values for
fields
passed toGraphQLInputType
areGraphQLInputObjectFields
. - For
GraphQLEnumType
use anOrderedDict
to store values so that we can preserve the order of enums passed in. Additionally, when constructing anGraphQLEnumType
you should use an OrderedDict to pass in your values as well. But this isn't enforced anywhere, but may raise a warning soon. - Introspection's object types/enums should be using OrderedDicts for their fields/values, that way the order in the schema printer is going to be consistent.
- Switch argument ordering for
core.utils.value_from_ast
to match reference implementation. - Allow
GraphQLInputObjectType
to take a callable as afield
argument. - Schema types should be built immediately instead of lazily when
get_type_map()
is called. This should allow us to raise exceptions upon construction of the schema, instead of later, upon first execution. - Implement
build_ast_schema
utility. - Split validation rules into individual files.
- The executor will now choose to use an ordered dict implementation when collecting the root fields of query/mutation, rather than an unordered-dict implementation to guarantee the order of execution when being executed serially is the same as it is defined in the query. No order guarantees are given for non-serial execution, as per the spec.
- Instead of using
is_nullish
, use a more Pythonicis None
check. (thank you @faassen) - Remove
setup.py test
instead, usetox
for testing.
[v0.1a1] graphql-core v0.1-alpha-1 release.
graphql-core
v0.1-alpha-1 release.
- Performance and memory optimizations to the visitor, parser, lexer and tokenizer.
- Implement latest upstream RFCs (operation name optional, type condition optional).
- Implement schema parser and schema AST printer.
- Add more tests.
[v0.1a0] graphql-core v0.1-alpha-0 release.
Alpha package release: https://pypi.python.org/pypi/graphql-core/0.1a0