Packages

graphql

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

Your version

17.1.0

Latest4 Nov 2026Where it was published

In short

2 breaking2 removed5 new44 faster20 fixed46 internal

  • Breaking

    feat(validation): limit overlapping field complexity

    To check
  • Breaking

    fix: rename maxTokens to maxLexicalTokens

  • Removed

    revert: remove maxListDepth from #4950 for now

  • Removed

    build: remove the obsolete development entry point

Release note

New Feature

Bug Fix

  • VariablesInAllowedPositionRule: Allow fragments with variables prior to operations (@yaacovCR)

  • DeferStreamDirectiveOnRootFieldRule: Handle fragment cycles (@yaacovCR)

  • OverlappingFieldsCanMergeRule: Require same variable definitions (@yaacovCR)

  • OverlappingFieldsCanMerge: Fix var scope for fragment comparison cache (@yaacovCR)

  • Skip deferred fragments in collectFields only when same directive is used (@robrichard)

  • incremental: Prevent lost or delayed successful shared results (@yaacovCR)

  • incremental: Prevent error completions for unannounced fragments (@yaacovCR)

  • validation: Keep argument defaults inside fragments (@SashaMIT)

  • validation: Keep collected fields separate by parent type (@yaacovCR)

  • validation: Bound conflict descriptions (@yaacovCR)

  • validation: Bound nested conflict locations (@yaacovCR)

  • validation: Prepare fragment spreads only for comparisons (@yaacovCR)

  • validation: Limit overlapping field complexity (@yaacovCR)

  • Rename maxTokens to maxLexicalTokens (@yaacovCR)

  • Memoize pathToArray to reduce memory for multiple defers at the same path (@robrichard)

  • Pass parser options through buildSchema (@yaacovCR)

  • Bound shared fragment traversal in introspection validation (@yaacovCR)

  • Initialize subscription validation variables (@yaacovCR)

  • Skip disabled argument suggestions (@yaacovCR)

  • Align minified source location at chunk boundaries (@fallintoplace)

  • Keep minified EOF carets after the final character (@yaacovCR)

  • Reference ESM source maps from every emitted module (@yaacovCR)

  • Identify ESM modules in source map metadata (@yaacovCR)

  • Avoid inherited variable getters in nested literal values (@yaacovCR)

Docs

4 PRs were merged

Polish

69 PRs were merged

  • polish(OverlappingFieldsCanMerge: add tests documenting existing behavior (@yaacovCR)

  • polish(validation): skip empty field comparisons (@yaacovCR)

  • polish(validateInputValue): cover invalid values in iterable input (@vrana055)

  • polish(introspection): cover __Type.description on wrapping types (@vrana055)

  • validation: Share field collections across scopes (@yaacovCR)

  • validation: Prepare field comparison data together (@yaacovCR)

  • validation: Reuse scope maps across equivalent fragment spreads (@yaacovCR)

  • validation: Cache field-pair source comparisons (@yaacovCR)

  • validation: Cache source value preparation (@yaacovCR)

  • validation: Cache value scope dependencies (@yaacovCR)

  • validation: Cache source fragment spread preparation (@yaacovCR)

  • validation: Reuse matching response groups across scopes (@yaacovCR)

  • validation: Skip redundant inline selection-set checks (@yaacovCR)

  • Avoid repeated SetMap key construction (@yaacovCR)

  • Reuse fragment dependencies across operations (@yaacovCR)

  • Reuse fragment variable usages (@yaacovCR)

  • Share fragment collection across operations (@yaacovCR)

  • Share subscription fragment lookups (@yaacovCR)

  • Reuse subscription directive paths (@yaacovCR)

  • Reuse introspection fragment checks (@yaacovCR)

  • Share completed directive checks (@yaacovCR)

  • Share source location lookups (@yaacovCR)

  • Reuse required fragment arguments (@yaacovCR)

  • Remove an extra list item type check (@yaacovCR)

  • Reuse identical field return types (@yaacovCR)

  • Reuse field return type names (@yaacovCR)

  • Index directive argument names (@yaacovCR)

  • Index directive locations (@yaacovCR)

  • Reuse field return type descriptions (@yaacovCR)

  • Reuse supported AST kinds (@yaacovCR)

  • Skip unused argument lookup preparation (@yaacovCR)

  • Skip required argument preparation for argument-free fields (@yaacovCR)

  • Scan single source locations directly (@yaacovCR)

  • Store visitor edits in a flat array (@yaacovCR)

  • Skip selection sets with no fields to compare (@yaacovCR)

  • Allocate visitor edits only when needed (@yaacovCR)

  • Reuse the visitor array check (@yaacovCR)

  • Skip pair metadata for compatible leaf fields (@yaacovCR)

  • Prepare type name lookups only when needed (@yaacovCR)

  • Flatten input-value printing (@yaacovCR)

  • Avoid arrays for single-line printer text (@yaacovCR)

  • Assemble printer output as a string (@yaacovCR)

  • Skip empty printer work (@yaacovCR)

  • Add a minimal AST reducer for printing (@yaacovCR)

  • Reuse fragment checks from fields exceeding the introspection depth (@Cito)

  • Remove maxListDepth from #4950 for now (@yaacovCR)

Internal

13 PRs were merged

  • Accept zero-byte benchmark memory samples (@yaacovCR)

  • Collect warmup garbage before benchmark memory samples (@yaacovCR)

  • Use cumulative allocation counters in memory benchmarks (@yaacovCR)

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.