github graphql/graphiql @graphiql/plugin-doc-explorer@1.0.0

Major Changes

  • #4478 066528a Thanks @trevor-scheer! - GraphQL.js 15 and 16.0–16.10 are no longer supported peer dependencies. The supported range is ^16.11.0 || ^17.0.0. GraphQL.js 16.11 fixes OneOf input validation for nullable variables and tightens input-object coercion to reject arrays, giving GraphiQL 6 a correct baseline for OneOf inputs. Upgrade graphql before upgrading these packages.

  • #4393 827da62 Thanks @trevor-scheer! - Remove deprecated hooks: useEditorContext, useExecutionContext, usePluginContext, useSchemaContext, useTheme, useStorage, useStorageContext, usePrettifyEditors, useCopyQuery, useMergeQuery, the *Store aliases (in @graphiql/react); useExplorerContext (in @graphiql/plugin-doc-explorer); and useHistoryContext (in @graphiql/plugin-history). Replacements were available since v5 — see the removed-hooks migration guide for one-line replacements.

Minor Changes

  • #4228 Thanks @trevor-scheer! - Restyle the Documentation Explorer for GraphiQL 6, including light and dark themes, keyboard focus indicators, and GraphQL type-category colors. Customize type colors with --type-scalar, --type-enum, --type-input, and --type-composite.

    The v5 --color-* overrides no longer theme the built-in UI. Migrate custom styles to the new OKLCH tokens using the CSS and retheming guide.

Patch Changes

  • #4623 ecedd76 Thanks @trevor-scheer! - Build with the stable React Compiler and use its stable runtime for React 18 compatibility.

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.