Skip to content

Releases: graphql-python/graphql-core-legacy

[v0.1a2] graphql-core v0.1-alpha-2 release.

08 Oct 20:28
Compare
Choose a tag to compare

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 using pip install graphql-core[gevent].
  • Require six as a dependency, and use it to handle py2/3 compat instead of graphql.core.compat.
  • Ensure that values for args passed to GraphQLField are of type GraphQLArgument.
  • Implement the schema_printer utility.
  • Ensure that values for fields passed to GraphQLInputType are GraphQLInputObjectFields.
  • For GraphQLEnumType use an OrderedDict to store values so that we can preserve the order of enums passed in. Additionally, when constructing an GraphQLEnumType 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 a field 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 Pythonic is None check. (thank you @faassen)
  • Remove setup.py test instead, use tox for testing.

[v0.1a1] graphql-core v0.1-alpha-1 release.

07 Oct 21:33
Compare
Choose a tag to compare

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.

06 Oct 19:25
Compare
Choose a tag to compare