Packages

graphql

17.1.0 · 4 Nov 2026MIT74.5M / weekRepositorynpmAtom feed

Your version

0.7.0

25 Aug 2016Where it was published

0.13.2 is the newest release of 0.7.x.

npm marks 0.7.0 as deprecated: No longer supported; please update to a newer version. Details: github.com/graphql/graphql-js

In short

9 changed

Release note

Thanks to many contributors, GraphQL v0.7.0 contains many improvements and a few new utilities for those building tools using graphql-js.

Most exciting is that the schema language is now more fully featured than ever and you can create new usable schemas directly from that language, making GraphQL easier to use than ever. Huge thanks to @lacker for his vision and effort in making this happen.

Breaking:

  • Default resolver behavior now provides args and context, allowing for more powerful resolvers on your existing data objects (#468 @lacker)

  • GraphQLError has been refactored to provide more information and behave more like the built-in Error object

New:

  • GraphQL schema documents can now specify descriptions via doc-block style comments (#463 #464)

  • Schema language documents no longer have to specify a schema declaration if their root types are named Query and Mutation

  • GraphQLSchema generated by referencing introspection, read from a schema language document, or extending an existing schema can now be used for execution

New Utilities:

  • buildSchema() is a utility for creating a usable GraphQLSchema directly from the GraphQL schema language (#471 @lacker)

  • separateOperations() is a utility for splitting up a GraphQL document with many operations into multiple smaller documents with one operation each

Fixed:

  • Extending a schema allows for defining new directives (#455 @robzhu)

  • The stack of a GraphQLError is now more predictable, improving compatibility with other libraries (#452 @RylanH)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.