unstale

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

@unstale/cli on npm

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

    7.0.0release notes

  • The option was removed because it has had no effect since GraphQL 16; delete it from schema-ast config without changing generated output.

    7.0.0release notes

  • GraphQL 14 and 15 are no longer supported; the peer dependency now requires GraphQL 16 or 17.

    7.0.0release notes

  • Node.js versions below 22.18.0 are no longer supported.

    7.0.0release notes

  • A plugin's validate function now receives an info object as its fourth argument; custom plugins must destructure outputFile, allPlugins, or pluginContext from it.

    7.0.0release notes

@graphql-codegen/schema-ast 61 changes

Breaking changes 1

@graphql-codegen/schema-ast 31 changes

Breaking changes 1