Start › Upgrade-Anleitungen › @graphiql/react › 0 → 1 Upgrade von @graphiql/react 0.x auf 1.x
Vergleich der öffentlichen API von @graphiql/react 0.39.1 und 1.0.0, automatisch aus den TypeScript-Typen berechnet. Eine geänderte Signatur ist ein möglicher Breaking Change, keine Gewissheit.
Zusammenfassung Entfernte Importpfade 0 Entfernte Exporte 15 Geänderte Signaturen 3 Entfernte Member von Klassen oder Interfaces 2 Geänderte Member von Klassen oder Interfaces 1 Neu als veraltet markiert 1 Geänderte Anforderungen (engines, Peer-Abhängigkeiten) 1 Neue Exporte 45
Entfernte Exporte import export kind Vorher @graphiql/reactcnvariable any@graphiql/reactuseThemefunction (): { setTheme: (newTheme: Theme) => void; theme: Theme; }@graphiql/reactuseStoragevariable (): any@graphiql/reactuseCopyQueryfunction (): () => Promise<void>@graphiql/reactuseMergeQueryfunction (): () => void@graphiql/reactuseEditorStorevariable (): { externalFragments: Map<string, any>; shouldPersistHeaders: boolean; initialQuery: string; initialVariables: string; initialHeaders: string; headerEditor?: any; queryEditor?: any; responseEditor?: any; variableEditor?: any; addTab: () => void; changeTab: (index: number) => void; moveTab: (newOrder: TabState[]) => void; closeTab: (index: number) => void; updateActiveTabValues: (partialTab: Partial<Omit<TabState, "id" | "hash" | "title">>) => void; setHeaderEditor: (headerEditor: monaco.editor.IStandaloneCodeEditor) => void; setQueryEditor: (queryEditor: monaco.editor.IStandaloneCodeEditor)…@graphiql/reactusePluginStorevariable (): { plugins: GraphiQLPlugin[]; visiblePlugin: GraphiQLPlugin | null; setVisiblePlugin: (plugin?: string | GraphiQLPlugin | null | undefined) => void; }@graphiql/reactuseSchemaStorevariable (): { isFetching: boolean; fetchError: string | null; schema: any; validationErrors: readonly any[]; introspect: () => Promise<void>; }@graphiql/reactuseEditorContextfunction (): { externalFragments: Map<string, any>; shouldPersistHeaders: boolean; initialQuery: string; initialVariables: string; initialHeaders: string; headerEditor?: any; queryEditor?: any; responseEditor?: any; variableEditor?: any; addTab: () => void; changeTab: (index: number) => void; moveTab: (newOrder: TabState[]) => void; closeTab: (index: number) => void; updateActiveTabValues: (partialTab: Partial<Omit<TabState, "id" | "hash" | "title">>) => void; setHeaderEditor: (headerEditor: monaco.editor.IStandaloneCodeEditor) => void; setQueryEditor: (queryEditor: monaco.editor.IStandaloneCodeEditor)…@graphiql/reactusePluginContextfunction (): { plugins: GraphiQLPlugin[]; visiblePlugin: GraphiQLPlugin | null; setVisiblePlugin: (plugin?: string | GraphiQLPlugin | null | undefined) => void; }@graphiql/reactuseSchemaContextfunction (): { isFetching: boolean; fetchError: string | null; schema: any; validationErrors: readonly any[]; introspect: () => Promise<void>; }@graphiql/reactuseExecutionStorevariable (): { isFetching: boolean; isSubscribed: boolean; operationName: string | undefined; run: () => void; stop: () => void; }@graphiql/reactuseStorageContextvariable (): any@graphiql/reactusePrettifyEditorsfunction (): () => Promise<void>@graphiql/reactuseExecutionContextfunction (): { isFetching: boolean; isSubscribed: boolean; operationName: string | undefined; run: () => void; stop: () => void; }
Geänderte Signaturen export Vorher Nachher @graphiql/react · Theme"light" | "dark" | null"dark" | "light" | null@graphiql/react · KEY_MAPReadonly<{ prettify: { key: string; keybindings: number[]; }; mergeFragments: { key: string; keybindings: number[]; }; runQuery: { key: string; keybindings: number[]; }; autoComplete: { key: string; }; copyQuery: { key: string; keybindings: number[]; }; refetchSchema: { key: string; }; searchInEditor: { key: string; }; searchInDocs: { key: string; }; }>Readonly<{ prettify: { key: string; keybindings: number[]; }; mergeFragments: { key: string; keybindings: number[]; }; runQuery: { key: string; keybindings: number[]; }; autoComplete: { key: string; }; copyQuery: { key: string; keybindings: number[]; }; saveQuery: { key: string; keybindings: number[]; }; refetchSchema: { key: string; }; searchInEditor: { key: string; }; searchInDocs: { key: string; }; }>@graphiql/react · debounce<F extends (...args: any[]) => any>(duration: number, fn: F): F<F extends (...args: any[]) => any>(duration: number, fn: F): DebouncedFn<F>
Entfernte Member von Klassen oder Interfaces member import Vorher SlicesWithActions.monacoTheme@graphiql/reactanySlicesWithActions.overrideOperationName@graphiql/reactstring | null
Geänderte Member von Klassen oder Interfaces member Vorher Nachher SlicesWithActions.fetcherFetcherany
Neu als veraltet markiert export @deprecated @graphiql/react · SlicesWithActions.fetcherPass a `transport` instead. The `Fetcher` contract cannot
surface HTTP wire metadata (status, headers, timing, size). See
`docs/migration/graphiql-6.0.0.md`.
Geänderte Anforderungen (engines, Peer-Abhängigkeiten) Vorher Nachher peerDependencies.graphql^15.5.0 || ^16.0.0 || ^17.0.0^16.11.0 || ^17.0.0
Neue Exporte (45) import export kind @graphiql/reactTopBarvariable @graphiql/reactDensitytype @graphiql/reactFontSizetype @graphiql/reactMODIFIERvariable @graphiql/reactSaveIconvariable @graphiql/reactCleanupFntype @graphiql/reactOperationvariable @graphiql/reactSidePanelvariable @graphiql/reactStatusBarvariable @graphiql/reactKeycapHintvariable @graphiql/reactMethodPillvariable @graphiql/reactModifierKeytype @graphiql/reactPanelHeadervariable @graphiql/reactSaveHandlertype @graphiql/reactTopBarPropstype @graphiql/reactActivityRailvariable @graphiql/reactResponseViewtype @graphiql/reacttypeCategoryfunction @graphiql/reactSettingsThemetype @graphiql/reactVarHeadersTabtype @graphiql/reactPortalProvidervariable @graphiql/reactSettingsDialogvariable @graphiql/reactGraphQLLogoIconvariable @graphiql/reactKeycapHintPropstype @graphiql/reactMethodPillPropstype @graphiql/reactVarHeadersStripvariable @graphiql/reactConnectionStatustype @graphiql/reactGraphiQLSettingstype @graphiql/reactPanelHeaderPropstype @graphiql/reactQueryBuilderIconvariable @graphiql/reactSegmentedControlfunction @graphiql/reactActivityRailPropsinterface @graphiql/reactOnResponseCallbacktype @graphiql/reactusePortalContainerfunction @graphiql/reactGraphQLTypeCategorytype @graphiql/reactSettingsDialogPropsinterface @graphiql/reactuseGraphiQLSettingsfunction @graphiql/reactOnBeforeSendCallbacktype @graphiql/reactSETTINGS_STORAGE_KEYvariable @graphiql/reactVarHeadersStripPropstype @graphiql/reactGraphiQLPluginContexttype @graphiql/reactSegmentedControlPropstype @graphiql/reactPluginTransportContexttype @graphiql/reactSegmentedControlOptiontype @graphiql/reactuseGraphiQLPluginContextfunction
Gib deinem KI-Agenten diese Fakten
Häufige Fragen
Welche Breaking Changes gibt es beim Upgrade von @graphiql/react 0 auf 1? Zwischen @graphiql/react 0.39.1 und 1.0.0 hat Vigia 15 entfernte Exporte, 3 geänderte Signaturen und 3 entfernte oder geänderte Member von Klassen oder Interfaces gefunden.
Was wurde in @graphiql/react 1 als veraltet markiert? 1 Exporte oder Member sind in @graphiql/react 1.0.0 neu als veraltet markiert.
Für Agenten
GET https://vigia.coredls.cloud/v1/packages/npm/@graphiql/react/upgrade?from=0.39.1&to=1.0.0