Aktualizacja @graphql-codegen/plugin-helpers z 7.x do 8.x
Porównanie publicznego API @graphql-codegen/plugin-helpers 7.4.2 i 8.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 3 |
| Zmienione sygnatury | 3 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 1 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 2 |
| Nowe eksporty | 1 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
@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}` |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
@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[] |
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
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> |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
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 |
Nowe eksporty (1)
| import | export | kind |
|---|---|---|
@graphql-codegen/plugin-helpers | PluginInfo | interface |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji @graphql-codegen/plugin-helpers z 7 do 8?
Między @graphql-codegen/plugin-helpers 7.4.2 a 8.0.0 Vigia znalazła 3 usuniętych eksportów, 3 zmienionych sygnatur i 1 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w @graphql-codegen/plugin-helpers 8?
0 eksportów lub składowych oznaczono w @graphql-codegen/plugin-helpers 8.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/@graphql-codegen/plugin-helpers/upgrade?from=7.4.2&to=8.0.0