graphql
17.1.0 · 4 Nov 2026MIT74.3M / weekRepositorynpmAtom feed
Upgrading graphql From 0.2.6 to 0.3.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Release by release
- Fixed
Fix issue where a fragment spread with missing definition breaks the validator.
- Fixed
7 other lines we could not sort, mostly version bumps
- 0.3.0
isTypeOfis now called (if defined) to assert that GraphQL object types are executing against the correct values #38 - 0.3.0
Field
resolvefunctions now have a new API:resolve(value, args, info), whereinfois 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… - 0.3.0
graphql()no longer formats its errors.result.errorsis now a list ofGraphQLErrorinstances, which provides useful information including stack traces. - 0.3.0
Arguments and Input Object Fields not provided are not set on the internal JS objects. The previous behavior was to set
nullfor these arguments and fields. - 0.3.0
Scalar definition
coerceandcoerceLiteralhave been renamed toserializeandparseLiteralrespectively. - 0.3.0
Scalar definitions may now define
parseValuewhich is used when interpreting variable values of that type. Previouslycoercewas being reused for this purpose. - 0.3.0
Nested input objects are no longer excluded by introspection.
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.