@graphql-codegen/plugin-helpers を 7.x から 8.x へアップグレード
@graphql-codegen/plugin-helpers 7.4.2 と 8.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。
概要
| 削除されたインポートパス | 0 |
|---|---|
| 削除されたエクスポート | 3 |
| 変更されたシグネチャ | 3 |
| 削除されたクラス/インターフェースのメンバー | 0 |
| 変更されたクラス/インターフェースのメンバー | 1 |
| 新たに非推奨 | 0 |
| 要件の変更(engines、peer 依存関係) | 2 |
| 新しいエクスポート | 1 |
削除されたエクスポート
| import | export | kind | 変更前 |
|---|---|---|---|
@graphql-codegen/plugin-helpers | isConfiguredOutput | function | (type: any): type is ConfiguredOutput |
@graphql-codegen/plugin-helpers | isOutputConfigArray | function | (type: any): type is OutputConfig[] |
@graphql-codegen/plugin-helpers | normalizeImportExtension | function | ({ emitLegacyCommonJSImports, importExtension, }: { emitLegacyCommonJSImports: boolean | undefined; importExtension: "" | `.${string}` | undefined; }): "" | `.${string}` |
変更されたシグネチャ
| export | 変更前 | 変更後 |
|---|---|---|
@graphql-codegen/plugin-helpers · PluginFunction | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: { [key: string]: any; outputFile?: string | undefined; allPlugins?: ConfiguredPlugin[] | undefined; pluginContext?: { [key: string]: any; } | undefined; } | undefined) => Promisable<TOutput> | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: (Partial<PluginInfo> & { [key: string]: any; }) | undefined) => Promisable<TOutput> |
@graphql-codegen/plugin-helpers · PluginValidateFn | (schema: GraphQLSchema, documents: DocumentFile[], config: T, outputFile: string, allPlugins: ConfiguredPlugin[], pluginContext?: { [key: string]: any; } | undefined) => Promisable<void> | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info: PluginInfo) => Promisable<void> |
@graphql-codegen/plugin-helpers · normalizeOutputParam | (config: OutputConfig | ConfiguredOutput | ConfiguredPlugin[]): ConfiguredOutput | (config: ConfiguredOutput | ConfiguredOutput[]): ConfiguredOutput[] |
削除されたクラス/インターフェースのメンバー
検出されませんでした。
変更されたクラス/インターフェースのメンバー
| member | 変更前 | 変更後 |
|---|---|---|
CodegenPlugin.plugin | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: { [key: string]: any; outputFile?: string | undefined; allPlugins?: ConfiguredPlugin[] | undefined; pluginContext?: { [key: string]: any; } | undefined; } | undefined): Promisable<PluginOutput> | (schema: GraphQLSchema, documents: DocumentFile[], config: T, info?: (Partial<PluginInfo> & { [key: string]: any; }) | undefined): Promisable<PluginOutput> |
新たに非推奨
検出されませんでした。
要件の変更(engines、peer 依存関係)
| 変更前 | 変更後 | |
|---|---|---|
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 |
新しいエクスポート (1)
| import | export | kind |
|---|---|---|
@graphql-codegen/plugin-helpers | PluginInfo | interface |
このデータを AI エージェントに渡す
Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor に追加VS Code に追加★ GitHub でスターを付ける
その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action
よくある質問
@graphql-codegen/plugin-helpers を 7 から 8 にアップグレードする際の破壊的変更は?
@graphql-codegen/plugin-helpers 7.4.2 と 8.0.0 の間で、Vigia は削除されたエクスポートを 3 件、変更されたシグネチャを 3 件、削除または変更されたクラス/インターフェースのメンバーを 1 件検出しました。
@graphql-codegen/plugin-helpers 8 で非推奨になったものは?
@graphql-codegen/plugin-helpers 8.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。
エージェント向け
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-codegen/plugin-helpers/upgrade?from=7.4.2&to=8.0.0