npm / @graphql-codegen/typescript-operations
@graphql-codegen/typescript-operations
What changed in @graphql-codegen/typescript-operations 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
2 breaking4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@graphql-codegen/typescript-operations 66 changes
Breaking changes 2
Visitor methods now require path and ancestors parameters, matching the values the visitor always passes and fixing strict TypeScript errors.
The exported helper from @graphql-codegen/visitor-plugin-common is removed.
Fixes and other changes 4
The plugin skips document files without a document.
The plugin no longer throws when called without the plugin info argument.
Multiple-field @oneOf inputs are always generated as a type alias; single-field inputs keep the configured declarationKind.input.
Fixes out-of-memory errors with deeply nested, widely reused fragments by keeping type-cache keys linear in document size.