Upgrading @graphql-codegen/cli from 7.x to 8.x
Comparison of the public API of @graphql-codegen/cli 7.4.6 and 8.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 2 |
| New exports | 0 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
@graphql-codegen/cli · generate | (input: any, saveToFile?: boolean | undefined): Promise<any> | (input: any, saveToFile?: boolean | undefined): Promise<void | Types.FileOutput[]> |
@graphql-codegen/cli · YamlCliFlags | { config: string; watch: string | boolean | string[]; require: string[]; overwrite: boolean; project: string; silent: boolean; errorsOnly: boolean; profile: boolean; check?: boolean | undefined; verbose?: boolean | undefined; debug?: boolean | undefined; ignoreNoDocuments?: boolean | undefined; emitLegacyCommonJSImports?: boolean | undefined; importExtension?: "" | `.${string}` | undefined; 'ignore-no-documents'?: boolean | undefined; 'emit-legacy-common-js-imports'?: boolean | undefined; 'import-extension'?: "" | `.${string}` | undefined; } | { config: string; watch: string | boolean | string[]; require: string[]; overwrite: boolean; project: string; silent: boolean; errorsOnly: boolean; profile: boolean; check?: boolean | undefined; verbose?: boolean | undefined; debug?: boolean | undefined; ignoreNoDocuments?: boolean | undefined; importExtension?: "" | `.${string}` | undefined; 'ignore-no-documents'?: boolean | undefined; 'import-extension'?: "" | `.${string}` | undefined; } |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=16 | >=22.18.0 |
peerDependencies.graphql | ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 | ^16.0.0 || ^17.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading @graphql-codegen/cli from 7 to 8?
Between @graphql-codegen/cli 7.4.6 and 8.0.0, Vigia found 0 removed exports, 2 changed signatures and 0 removed or changed class or interface members.
What became deprecated in @graphql-codegen/cli 8?
0 exports or members are newly marked as deprecated in @graphql-codegen/cli 8.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-codegen/cli/upgrade?from=7.4.6&to=8.0.0