Skip to content

v0.2.0

Compare
Choose a tag to compare
@leebyron leebyron released this 31 Jul 01:17
· 2944 commits to 16.x.x since this release

New:

  • Flow types are included in the npm release in the form of flow-comments. Flow will find and utilize these when you install graphql-js via npm, and if you don't use flow then it's business as usual.
  • GraphQL Type predicates for common groupings are now exported from graphql/type.
  • A new submodule graphql/language/schema for parsing and working with the GraphQL schema language.
  • The submodule graphql/utilities was included which adds a lot of useful functions for building client tools.
    • A definitive full introspection query.
    • Build a client-side GraphQLSchema instance from an introspection result.
    • Build a client-side GraphQLSchema from GraphQL Schema language.
    • Print a GraphQLSchema to GraphQL Schema language.
    • Create a GraphQLType instance from GraphQL Schema language.
    • Create a JavaScript value from a GraphQL language value.
    • Create a GraphQL language value from a JavaScript value.
    • A smart visitor which maintains type information as it visits the GraphQL document AST.
    • Utilities to determine if a JavaScript value or GraphQL language value adhere to a GraphQL type.
  • Minor re-organization of submodules.