npm / @graphql-codegen/schema-ast
@graphql-codegen/schema-ast
What changed in @graphql-codegen/schema-ast 3 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
7 breaking
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@graphql-codegen/schema-ast 75 changes
Breaking changes 5
The loader now extracts #graphql-marked template literals by default, which can produce newly found documents; set pluckConfig: { gqlHashComment: '' } to keep the previous behavior.
The option was removed because it has had no effect since GraphQL 16; delete it from schema-ast config without changing generated output.
GraphQL 14 and 15 are no longer supported; the peer dependency now requires GraphQL 16 or 17.
Node.js versions below 22.18.0 are no longer supported.
A plugin's validate function now receives an info object as its fourth argument; custom plugins must destructure outputFile, allPlugins, or pluginContext from it.
@graphql-codegen/schema-ast 61 changes
Breaking changes 1
Node 20 support was dropped.
@graphql-codegen/schema-ast 31 changes
Breaking changes 1
Node.js 12 support was dropped.