NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3667 most downloaded on npm
GraphQL Code Generator plugin for generating TypeScript types
Latest stable
7.0.1
Last release 12 days ago
10 Nov 2026
Release timing varies
gaps range from 8 days to 3 months
Some releases are documented
notes for 34 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
6589 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Updated dependencies [2cbcbb371]
Nothing published for this version
Updated dependencies [525ad580b]
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
5086791ac: Allow overwriting the resolver type signature based on directive usages.
WARNING: Using this option does only change the generated type definitions.
For actually ensuring that a type is correct at runtime you will have to use schema transforms (e.g. with @graphql-tools/utils mapSchema) that apply those rules! Otherwise, you might end up with a runtime type mismatch which could cause unnoticed bugs or runtime errors.
Example configuration:
config:
# This was possible before
customResolverFn: ../resolver-types.ts#UnauthenticatedResolver
# This is new
directiveResolverMappings:
authenticated: ../resolvers-types.ts#AuthenticatedResolver
Example mapping file (resolver-types.ts):
export type UnauthenticatedContext = {
user: null
}
export type AuthenticatedContext = {
user: { id: string }
}
export type UnauthenticatedResolver<TResult, TParent, _TContext, TArgs> = (
parent: TParent,
args: TArgs,
context: UnauthenticatedContext,
info: GraphQLResolveInfo
) => Promise<TResult> | TResult
export type AuthenticatedResolver<TResult, TParent, _TContext, TArgs> = (
parent: TParent,
args: TArgs,
context: AuthenticatedContext,
info: GraphQLResolveInfo
) => Promise<TResult> | TResult
Example Schema:
directive @authenticated on FIELD_DEFINITION
type Query {
yee: String
foo: String @authenticated
}
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [2cbcbb371]
Nothing published for this version
Nothing published for this version
Updated dependencies [525ad580b]
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This is a breaking change since Node 10 is no longer supported in graphql-tools, and also no longer supported for Codegen packages.
d80efdec4: Set noSchemaStitching: true by default.
If you need the resolvers signature to support schema-stitching, please add to your config:
noSchemaStitching: false
d80efdec4: Remove deprecated IDirectiveResolvers and IResolvers signatures
Please use DirectiveResolvers and Resolvers types instead.
b0cb13df4: Update to latest graphql-tools and graphql-config version.
‼️ ‼️ ‼️ Please note ‼️ ‼️ ‼️:
This is a breaking change since Node 10 is no longer supported in graphql-tools, and also no
longer supported for Codegen packages.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.