Skip to content

Releases: graphql/graphiql

[email protected]

17 Jul 21:52
1dfc857
Compare
Choose a tag to compare

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

[email protected]

17 Jul 21:51
1dfc857
Compare
Choose a tag to compare

Patch Changes

@graphiql/[email protected]

17 Jul 21:51
1dfc857
Compare
Choose a tag to compare

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

@graphiql/[email protected]

17 Jul 21:51
1dfc857
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@graphiql/[email protected]

17 Jul 21:51
1dfc857
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@graphiql/[email protected]

17 Jul 21:52
1dfc857
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@graphiql/[email protected]

17 Jul 21:51
1dfc857
Compare
Choose a tag to compare

Minor Changes

Patch Changes

[email protected]

13 Jul 01:11
8917cad
Compare
Choose a tag to compare

Patch Changes

  • #4069 142f3f2 Thanks @dimaMachina! - reduce bundle size, import prettier dynamically to avoid bundling Prettier

    diff from vite example

    -dist/assets/index-BMgFrxsd.js             4,911.53 kB │ gzip: 1,339.77 kB
    +dist/assets/index-BlpzusGL.js             4,221.28 kB │ gzip: 1,145.58 kB
  • Updated dependencies [142f3f2]:

@graphiql/[email protected]

13 Jul 01:11
8917cad
Compare
Choose a tag to compare

Patch Changes

  • #4069 142f3f2 Thanks @dimaMachina! - reduce bundle size, import prettier dynamically to avoid bundling Prettier

    diff from vite example

    -dist/assets/index-BMgFrxsd.js             4,911.53 kB │ gzip: 1,339.77 kB
    +dist/assets/index-BlpzusGL.js             4,221.28 kB │ gzip: 1,145.58 kB

[email protected]

11 Jul 09:55
e8eeac6
Compare
Choose a tag to compare

Patch Changes