Packages

graphql

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

Your version

15.0.0

major2 Apr 2020Where it was published

15.11.0 is the newest release of 15.x.

In short

26 breaking3 removed19 new1 faster23 fixed45 changed104 internal

  • Breaking

    Update built-in scalar's parseLiteral method to throw TypeError (@danielrearden)

  • Breaking

    RFC: Allow interfaces to implement other interfaces (@mike-marcacci)

  • Breaking

    Drop Support for Node 6 (@IvanGoncharov)

  • Breaking

    Remove deprecated 'allowedLegacyNames' property of 'GraphQLSchema' (@IvanGoncharov)

  • Breaking

    ValidationContext: Remove deprecated 'getErrors' and make 'onError' r… (@IvanGoncharov)

  • Breaking

    GraphQLArgument: Make 'description' undefined by default (@IvanGoncharov)

  • Breaking

    GraphQLEnumType: Drop support for 'undefined' custom value (@IvanGoncharov)

  • Breaking

    RFC: Number lexer lookahead restriction (@leebyron)

Release note

Breaking Change

  • Breaking

    Update built-in scalar's parseLiteral method to throw TypeError (@danielrearden)

  • Breaking

    RFC: Allow interfaces to implement other interfaces (@mike-marcacci)

  • Breaking

    Drop Support for Node 6 (@IvanGoncharov)

  • Breaking

    Remove deprecated 'allowedLegacyNames' property of 'GraphQLSchema' (@IvanGoncharov)

  • Breaking

    ValidationContext: Remove deprecated 'getErrors' and make 'onError' r… (@IvanGoncharov)

  • Breaking

    GraphQLArgument: Make 'description' undefined by default (@IvanGoncharov)

  • Breaking

    GraphQLEnumType: Drop support for 'undefined' custom value (@IvanGoncharov)

  • Breaking

    RFC: Number lexer lookahead restriction (@leebyron)

  • Breaking

    toConfig: Allows 'extensionASTNodes' to be undefined (@IvanGoncharov)

  • Breaking

    Change 'isSpecified*' & 'isIntrospectionType' accept only correct types (@IvanGoncharov)

  • Breaking

    Lexer: Remove passthrough options (@IvanGoncharov)

  • Breaking

    Switch Lexer to be a proper class, remove 'createLexer' (@IvanGoncharov)

  • Breaking

    printSchema: Don't break description lines (@IvanGoncharov)

  • Breaking

    parser: Convert Location to be an ES6 class (@IvanGoncharov)

  • Breaking

    lexer: Convert Token to be an ES6 class (@IvanGoncharov)

  • Breaking

    buildSchema/extendSchema: Add support for extensions (@IvanGoncharov)

  • Breaking

    Resolve import cycle by moving 'visitWithTypeInfo' into 'TypeInfo.js' (@IvanGoncharov)

  • Breaking

    Drop Support for Node 8 (@IvanGoncharov)

  • Breaking

    Removes default values for required fields in GraphQL*Config types (@IvanGoncharov)

  • Breaking

    enum: 'parseLiteral/parseValue/serialize' now throw on invalid values (@IvanGoncharov)

  • Breaking

    introspection: Expose fields/values with empty deprecationReason (@IvanGoncharov)

  • Breaking

    schemaPrinter: Preserve order of types (@IvanGoncharov)

  • Breaking

    isValidNameError: Remove node argument (@IvanGoncharov)

  • Breaking

    NaN values should be checked inside scalar's serialize method (@IvanGoncharov)

  • Breaking

    TS(definition): remove TS-specific TArgs (@IvanGoncharov)

  • Breaking

    TS: Remove TS-specific TData from ExecutionResult (@IvanGoncharov)

New Feature

  • Remove 'iterall' as dependency. 'graphql' becomes zero dependency lib 🎉 (@IvanGoncharov)

  • Change serialization for Int, Float and Boolean to work with objects (@alex-knyazev)

  • suggestionList: Lexicographically sort options with the same lexical distance (@IvanGoncharov)

  • FieldsOnCorrectType: Implement stable sort order for suggested types (@IvanGoncharov)

  • validation: Add missing rule exports (@IvanGoncharov)

  • schema: Always validate basic config structure (@IvanGoncharov)

  • Schema: Keep order of user provided types (@IvanGoncharov)

  • validation: Export rules missing in <14.6.0 using legacy names (@IvanGoncharov)

  • findBreakingChanges: Add check for removing repeatable from directive (@IvanGoncharov)

  • introspection: Add support for repeatable directives (@IvanGoncharov)

  • Change 'toConfig' to always return 'extensionASTNodes' as array (@IvanGoncharov)

Bug Fix

  • Validation: Unify error messages (@IvanGoncharov)

  • parser: Convert error messages to match common standard of this lib (@IvanGoncharov)

  • parser: Show empty strings in error messages (@IvanGoncharov)

  • printSchema: Support empty descriptions (@IvanGoncharov)

  • Scalars: Convert errors from 'TypeError' to 'GraphQLError' (@IvanGoncharov)

  • tstypes: Synchronise TS typings for GraphQL* types (@IvanGoncharov)

  • findBreakingChanges: Better message for removing standard scalar (@IvanGoncharov)

  • execute: Convert ExecutionResult to be an exact object (@IvanGoncharov)

  • TS: introspectionTypes should be array of GraphQLNamedType (@pcarrier)

  • Flow: Switch more types to be exact (@IvanGoncharov)

  • Flow: Add missing typings on exports (@IvanGoncharov)

  • valueFromAST: Fixed coercing of null variables on non-nullable type (@IvanGoncharov)

  • Fixing double 'Rule' suffix that was accidentally introduced in #2402 (@IvanGoncharov)

  • astFromValue: Reject non-finite numbers (@IvanGoncharov)

  • UniqueDirectivesPerLocation: Check for directive uniqueness in extensions (@IvanGoncharov)

  • TS: Add missing export on 'BuildSchemaOptions' type (@IvanGoncharov)

  • getNullableType: Fix TS signature (@IvanGoncharov)

  • isDeprecated: Make required on GraphQLField/GraphQLEnumValue (@IvanGoncharov)

  • TS: Fix typing for GraphQLField::deprecationReason (@IvanGoncharov)

  • schema: Fix error message when provided type has no name (@Cito)

Docs

7 PRs were merged

Polish

98 PRs were merged

Internal

29 PRs were merged

  • Removed

    ESLint: Remove options that match default ones (@IvanGoncharov)

Dependency

35 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.