Packages

graphql

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

Your version

0.4.1

14 Aug 2015Where it was published

0.13.2 is the newest release of 0.4.x.

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

In short

4 changed

Release note

New/Breaking:

  • Asserts that the GraphQLSchema and GraphQLType types are properly
    constructed, following the "validation" rules defined in the GraphQL Spec

    • Asserts that Objects which claim to implement an Interface actually do.

    • Schema asserts that all included types have unique names.

    • Clearer error messages when incorrect type used in GraphQLType constructors, including List and NonNull type constructors.

    • Asserts that Scalar definitions include serialization functions.

    • Removal of the graphql/type/validation submodule.

  • Asserts that the runtime Object type result of an Interface or Union typed
    field is a type is a possible type of that Interface or Union.

  • EnumType.getValues() now returns an Array.

Fixes:

  • Correctly parse Enum values from variables. #123

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.