Packages

graphql

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

Your version

14.2.0

26 Mar 2019Where it was published

14.7.0 is the newest release of 14.x.

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

In short

7 fixed11 changed51 internal

Release note

Note: Updating to this release can cause new Flow errors since it adds Flow typing for print function that was missing in previous versions.

Bug Fix

  • Duplicate fields in deep inputs not validated properly (#1791) (@Cito)

  • Improve error message for missing required argument in field or directive (@everdimension)

  • printSchema: Fix printing of empty types (@IvanGoncharov)

  • Fix missing schema's astNode when schema was defined inside extension (@IvanGoncharov)

  • Inspect non-error types to produce helpful error messages for failing resolvers (@kommander)

Polish

42 PRs were merged

  • Fix out of range return check for charCodeAt in lexer (NaN instead of null) (@superhawk610)

  • GraphQLError: Don't wrap single node in array (@IvanGoncharov)

  • Speedup parser (~50%) by using 'slice' and 'charCodeAt' directly (@IvanGoncharov)

  • Remove useless positive isTypeOf tests, since this function is optional (@IvanGoncharov)

  • Move schema related test to "schema-test.js" + cleanup (@IvanGoncharov)

  • Make all "not reachable" look and work the same (@IvanGoncharov)

  • NonNull tests: Use SDL to create test schema (@IvanGoncharov)

  • Simplify "Type Map: includes input types only used in directives" test (@IvanGoncharov)

  • Parser: Use "any" util fn to parse object literal (@IvanGoncharov)

  • buildASTSchema: Test building of empty types (@IvanGoncharov)

  • Use isLeafType instead of isEnumType & isScalarType combo (@IvanGoncharov)

  • buildClientSchema: Move inner functions to follow return (@IvanGoncharov)

  • Parser: Better names for parser util functions (@IvanGoncharov)

Internal

17 PRs were merged

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.