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
Last release today
05 Oct 2026
Release timing varies
gaps range from 8 days to 3 months
Some releases are documented
notes for 30 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
6549 releases · first in 2019
Nothing published for this version
Nothing published for this version
Nothing published for this version
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
One column per quarter.
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").
68bb30e19: Attach .js extension to relative file imports for compliance with ESM module resolution. Since in CommonJS the .js extension is optional, this is not a breaking change.
If you have path configuration within your configuration, consider attaching .js if you are migrating to ESM.
mappers:
MyOtherType: './my-file.js#MyCustomOtherType',
d84afec09: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").
68bb30e19: Attach .js extension to relative file imports for compliance with ESM module resolution. Since in CommonJS the .js extension is optional, this is not a breaking change.
If you have path configuration within your configuration, consider attaching .js if you are migrating to ESM.
mappers:
MyOtherType: './my-file.js#MyCustomOtherType',
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
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
Updated dependencies [2cbcbb371]
Nothing published for this version
Updated dependencies [525ad580b]
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →