unstale

npm / @graphql-codegen/client-preset

@graphql-codegen/client-preset

What changed in @graphql-codegen/client-preset 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

2 breaking3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@graphql-codegen/client-preset 65 changes

Breaking changes 2

  • The babel plugin now throws when a file has no filename instead of crashing later with a less clear error.

    6.2.1release notes

  • The preset now throws a clear error when schemaAst is missing from the preset options instead of crashing later.

    6.2.1release notes

Fixes and other changes 3

  • The babel preset accepts options as ClientBabelPresetOptions | null | undefined, widening its declared parameter type.

    6.2.3release notes

  • Now unwraps AggregateError so schema and document syntax errors still print the native GraphQLError with its file location.

    6.2.2release notes

  • Fixes type errors when strict: true is enabled; generated output is unchanged.

    6.2.1release notes