GraphQL.js v16.15.0

v16.15.0
Added 2
  • Allow skipping suggestions via a configuration option.
  • Parser options maxLexicalTokens, maxComments, and maxSourceLength are available.
Changed 7
  • Printer indentation depth is now configurable.
  • Printer output is streamed and assembled as a string for improved performance.
  • Reuse of fragment dependencies, fragment variable usages, and fragment collection across operations improves validation and execution performance.
  • Fragment, field return type, and introspection validation checks are reused or shared to reduce redundant work.
  • Source location lookups are shared and single source locations are scanned directly for better performance.
  • Directive argument names are indexed for faster lookup.
  • Input-value printing is flattened and AST printing uses a minimal reducer for better performance.
Fixed 7
  • Promise rejections from defaultTypeResolver are now handled correctly during execution.
  • The source is always closed when a mapped async iterable is thrown.
  • valueFromAST no longer mishandles a previously identified case, matching the upstream fix.
  • Inherited variable getters are no longer used in nested literal values.
  • Disabled argument suggestions are skipped.
  • Fragment traversal in introspection validation is bounded to prevent performance issues.
  • Overlapping fields can merge checks are backported from v17.

From GraphQL.js

v16.15.0 (2026-11-04)
New Feature 🚀

Backports:

Bug Fix 🐞
  • #4900 Backport OverlappingFieldsCanMerge changes (v16) (@yaacovCR)
  • #4909 Backport maxLexicalTokens, maxComments, maxSourceLength parser options (v16) (@yaacovCR)
  • #4917 fix: bound shared fragment traversal in introspection validation (v16) (@yaacovCR)
Docs 📝
Internal 🏠
  • #4826 chore(release): protect latest release channels from v16 (@yaacovCR)
Committers: 1
View original

Upgraded? How did it go?

Discussion