Skip to content

@graphiql/[email protected]

Compare
Choose a tag to compare
@acao acao released this 17 Jul 21:51
· 8 commits to main since this release
1dfc857

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