v0.8.0
GraphQL.js v0.8.0 is now compliant with the most recent version of the GraphQL specification! This release is also the first to include flow types in the NPM package, which should make it easier to use GraphQL in a well typed way. It also includes many new utilities and small improvements. Thanks to everyone who helped with this release!
Breaking & Spec Changes:
- A resolve function's
info.pathvalue is now a Linked List instead of an Array (#562) - A resolve function's
info.fieldASTsvalue has been renamed toinfo.fieldNodes(#554) formatErrornow includes the path of field errors (#561)- The most recent version of the GraphQL specification is more strict about field argument validation. (#553)
- The most recent version of the GraphQL specification does not allow multiple directives of the same name in the same location (#552)
New:
- GraphQL now supports a literal
nullvalue as a field argument. (#544) - Flow type definitions are now included in the NPM package! The names of many types were changed to be more descriptive. (#554, #526, #412)
printTypelets you print a single GraphQL type using the experimental schema language (#558)defaultResolver, the field resolver used when one is not provided, is now available (#527)