npm / @graphql-codegen/typed-document-node
@graphql-codegen/typed-document-node
What changed in @graphql-codegen/typed-document-node 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
1 new APIs and options2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@graphql-codegen/typed-document-node 73 changes
New APIs and options 1
Adds plainString mode, generating documents as plain template strings with embedded fragments; documents are typed as string without a class, import, or type cast.
Fixes and other changes 2
Does not add an empty import when documentNodeImport has no module.
When the plugin is called directly with a document lacking a document AST, it skips that document instead of throwing from concatAST.