Packages

graphql

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

Your version

0.6.2

21 Jul 2016Where it was published

0.13.2 is the newest release of 0.6.x.

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

In short

1 fixed7 changed

Release note

Thanks to the excellent contributions from community members both in the form
of code, careful review, and thoughtful discussion. This version of GraphQL
fixes a handful of issues

New:

  • Union type definitions may now accept list of possible Types as a "thunk". (#436 @ekosz)

  • List fields can now return any iterable collection, not limited to Array, including Backbone.Collection, or Immutable.js Lists. (#449, #300 @mwschall)

Fixed:

  • Ensure source code is only ASCII. (#429 @kassens)

  • astFromValue() now requires a Type as a second parameter and properly serializes Enums with different internal values. (#435 @nodkz)

  • GraphQLError.stack is now a writable property, fixing issues in Bluebird and other libraries which use a brand-check for Error. (#439 @alexturek)

  • GraphQLError.message, GraphQLError.locations, and GraphQLError.path are now enumerable properties, which means JSON.stringify() will now produce a value which is compliant with the GraphQL spec. (#426 @bnewtonius)

  • Field errors are now thrown when values are resolved for fields typed Int or Float which are not representable by those types, improving debugability and spec compliance. (#391 @stubailo)

  • Errors during field value completion (e.g. a value returned of an incorrect type) now include location information.

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.