@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