Upgrading graphiql from 5.x to 6.x
Comparison of the public API of graphiql 5.4.0 and 6.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) | 1 |
| New exports | 3 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
graphiql · GraphiQLProps | interface | GraphiQLInterfaceProps & Omit<ComponentPropsWithoutRef<any>, "children"> & (Omit<ComponentPropsWithoutRef<any>, "children" | "fetcher" | "plugins" | "transport"> & ({ plugins?: readonly GraphiQLPlugin[] | undefined; } & ({ fetcher: Fetcher; transport?: undefined; } | { transport: Transport; fetcher?: undefined; }))) |
graphiql · GraphiQLInterface | ({ forcedTheme, isHeadersEditorEnabled, defaultEditorToolsVisibility, children: $children, confirmCloseTab, className, onEditQuery, onEditVariables, onEditHeaders, responseTooltip, showPersistHeadersSettings, }: GraphiQLInterfaceProps): any | FC<GraphiQLInterfaceProps> |
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 | |
|---|---|---|
peerDependencies.graphql | ^15.5.0 || ^16.0.0 || ^17.0.0 | ^16.11.0 || ^17.0.0 |
New exports (3)
| import | export | kind |
|---|---|---|
graphiql | DEFAULT_PLUGINS | variable |
graphiql | COLLECTIONS_PLUGIN | variable |
graphiql | QUERY_BUILDER_PLUGIN | variable |
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 graphiql from 5 to 6?
Between graphiql 5.4.0 and 6.0.0, Vigia found 0 removed exports, 2 changed signatures and 0 removed or changed class or interface members.
What became deprecated in graphiql 6?
0 exports or members are newly marked as deprecated in graphiql 6.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/graphiql/upgrade?from=5.4.0&to=6.0.0