graphql
17.1.0 · 4 Nov 2026MIT74.5M / weekRepositorynpmAtom feed
0.13.2 is the newest release of 0.7.x.
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
argsandcontext, 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
schemadeclaration if their root types are namedQueryandMutationGraphQLSchema 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:
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.