# What changed in @graphql-codegen/core

> 2 changes in @graphql-codegen/core 6 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/@graphql-codegen/core/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @graphql-codegen/core 6

### Fixes and other changes

- The CLI unwraps AggregateError so schema and document syntax errors print the native GraphQLError with its file location. (6.2.2) — [release notes](https://github.com/dotansimha/graphql-code-generator/blob/e9081dfafe1aa72d6d069185ac16ef261166aa74/packages/graphql-codegen-core/CHANGELOG.md#622)
- Documents without a document AST are skipped during schema validation instead of passing undefined to validation; CLI-generated output is unchanged. (6.2.1) — [release notes](https://github.com/dotansimha/graphql-code-generator/blob/e9081dfafe1aa72d6d069185ac16ef261166aa74/packages/graphql-codegen-core/CHANGELOG.md#621)
