github graphql/graphiql @graphiql/react@0.36.0

one month ago

Minor Changes

  • #4071 3a0a755 Thanks @dimaMachina! - feat(graphql-language-service): export getContextAtPosition
    feat(graphiql): dynamically import monaco-editor and monaco-graphql

    When using GraphiQL in Next.js app, you no longer need to use next/dynamic:

    -import dynamic from 'next/dynamic'
    -const GraphiQL = dynamic(() => import('graphiql').then(mod => mod.GraphiQL), {
    -  ssr: false
    -})
    +import { GraphiQL } from 'graphiql'
  • #4074 fd3f9e6 Thanks @dimaMachina! - Ensure storage and theme store values aren't shared between GraphiQL instances. Deprecate useTheme and useStorage hooks in favour of values from useGraphiQL and useGraphiQLActions hooks

    feat(@graphiql/plugin-history/@graphiql/plugin-doc-explorer): move @graphiql/react to peerDependencies

  • #4077 3d41e11 Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router and ssr: true

Patch Changes

  • #4076 416e3a0 Thanks @dimaMachina! - fix broken useOperationsEditorState and useEditorState hook and add unit tests

  • Updated dependencies [3a0a755]:

    • monaco-graphql@1.7.2
    • graphql-language-service@5.5.0

Don't miss a new graphiql release

NewReleases is sending notifications on new releases.