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:
- Fix performance issue with ESLint (#3586)
- refactor: add map keyed by set membership (#4836)
- perf: reuse fragment dependencies across operations (#4920)
- perf: reuse fragment variable usages (#4921)
- perf: share fragment collection across operations (#4925)
- refactor: track fragment validation work (#4946)
- refactor: simplify referenced fragment collection (#4948)
- perf: share subscription fragment lookups (#4927)
- refactor: extract visitSelectionSets (#4947)
- refactor: account for subscription field collection (#4949)
- perf: reuse identical field return types (#4940)
- perf: reuse field return type names (#4941)
- perf: reuse field return type descriptions (#4944)
- refactor: account for field return type comparisons (#4951)
- perf: skip selection sets with no fields to compare (#4960)
- perf: skip pair metadata for compatible leaf fields (#4964)
- perf: reuse introspection fragment checks (#4932)
- perf: reuse fragment checks from fields exceeding the introspection depth (#4971)
- perf: share source location lookups (#4936)
- perf: scan single source locations directly (#4958)
- refactor: stream printer output (#4952)
- feat: configure printer indentation depth (#4953)
- perf: flatten input-value printing (#4972)
- perf: avoid arrays for single-line printer text (#4973)
- perf: assemble printer output as a string (#4974)
- perf: skip empty printer work (#4975)
- perf: add a minimal AST reducer for printing (#4976)
- perf: index directive argument names (#4942)
- feat: Allow skipping suggestions (#4214)
- fix: skip disabled argument suggestions (#4937)
- fix(execute): handle defaultTypeResolver promise rejections (#4646)
- fix(mapAsyncIterable): always close source when mapped iterable is thrown (#4494)
- fix(valueFromAST): forward port #4652 (#4671)
- fix: avoid inherited variable getters in nested literal values (#4983)
- fix(changelog): ignore open associated PRs (#4723)
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 🏠
Committers: 1
- Yaacov Rydzinski (@yaacovCR)