Last release 2 days ago
01 Sep 2026
Release timing varies
gaps range from 8 days to 6 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
6097 releases · first in 2019
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.
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").
#9151
b7dacb21f
Thanks
@'./user/schema.mappers#UserMapper',! -
Add watchPattern config option for generates sections.
By default, watch mode automatically watches all GraphQL schema and document files. This means
when a change is detected, Codegen CLI is run.
A user may want to run Codegen CLI when non-schema and non-document files are changed. Each
generates section now has a watchPattern option to allow more file patterns to be added to the
list of patterns to watch.
In the example below, mappers are exported from schema.mappers.ts files. We want to re-run
Codegen if the content of *.mappers.ts files change because they change the generated types
file. To solve this, we can add mapper file patterns to watch using the glob pattern used for
schema and document files.
// codegen.ts
const config: CodegenConfig = {
schema: 'src/schema/**/*.graphql',
generates: {
'src/schema/types.ts': {
plugins: ['typescript', 'typescript-resolvers'],
config: {
mappers: {
Book: './book/schema.mappers#BookMapper',
},
}
watchPattern: 'src/schema/**/*.mappers.ts', // Watches mapper files in `watch` mode. Use an array for multiple patterns e.g. `['src/*.pattern1.ts','src/*.pattern2.ts']`
},
},
};
Then, run Codegen CLI in watch mode:
pnpm graphql-codegen --watch
Now, updating *.mappers.ts files re-runs Codegen! 🎉
Note: watchPattern is only used in watch mode i.e. running CLI with --watch flag.
b7dacb21f,
f104619ac]:
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
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