Packages

graphql

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

Your version

0.3.0

12 Aug 2015Where it was published

0.13.2 is the newest release of 0.3.x.

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

In short

1 fixed7 changed

Release note

Breaking/New:

  • isTypeOf is now called (if defined) to assert that GraphQL object types are executing against the correct values #38

  • Field resolve functions now have a new API: resolve(value, args, info), where info is an object which contains the same information which used to be separate arguments, and includes more useful stuff! github.com/graphql/graphql-js/blob/master/src/t…

  • graphql() no longer formats its errors. result.errors is now a list of GraphQLError instances, which provides useful information including stack traces.

  • Arguments and Input Object Fields not provided are not set on the internal JS objects. The previous behavior was to set null for these arguments and fields.

  • Scalar definition coerce and coerceLiteral have been renamed to serialize and parseLiteral respectively.

  • Scalar definitions may now define parseValue which is used when interpreting variable values of that type. Previously coerce was being reused for this purpose.

Fixed:

  • Nested input objects are no longer excluded by introspection.

  • Fix issue where a fragment spread with missing definition breaks the validator.

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.