Releases: graphql/graphiql
[email protected]
Minor Changes
-
#4071
3a0a755
Thanks @dimaMachina! - feat(graphql-language-service): exportgetContextAtPosition
feat(graphiql): dynamically importmonaco-editor
andmonaco-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! - Ensurestorage
andtheme
store values aren't shared between GraphiQL instances. DeprecateuseTheme
anduseStorage
hooks in favour of values fromuseGraphiQL
anduseGraphiQLActions
hooksfeat(
@graphiql/plugin-history
/@graphiql/plugin-doc-explorer
): move@graphiql/react
topeerDependencies
-
#4077
3d41e11
Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: true
Patch Changes
-
#4076
416e3a0
Thanks @dimaMachina! - fix brokenuseOperationsEditorState
anduseEditorState
hook and add unit tests -
Updated dependencies [
3a0a755
,fd3f9e6
,416e3a0
,3d41e11
]:- @graphiql/[email protected]
- @graphiql/[email protected]
- @graphiql/[email protected]
[email protected]
Patch Changes
- Updated dependencies [
3a0a755
]:
@graphiql/[email protected]
Minor Changes
-
#4071
3a0a755
Thanks @dimaMachina! - feat(graphql-language-service): exportgetContextAtPosition
feat(graphiql): dynamically importmonaco-editor
andmonaco-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! - Ensurestorage
andtheme
store values aren't shared between GraphiQL instances. DeprecateuseTheme
anduseStorage
hooks in favour of values fromuseGraphiQL
anduseGraphiQLActions
hooksfeat(
@graphiql/plugin-history
/@graphiql/plugin-doc-explorer
): move@graphiql/react
topeerDependencies
-
#4077
3d41e11
Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: true
Patch Changes
-
#4076
416e3a0
Thanks @dimaMachina! - fix brokenuseOperationsEditorState
anduseEditorState
hook and add unit tests -
Updated dependencies [
3a0a755
]:
@graphiql/[email protected]
Minor Changes
-
#4074
fd3f9e6
Thanks @dimaMachina! - Ensurestorage
andtheme
store values aren't shared between GraphiQL instances. DeprecateuseTheme
anduseStorage
hooks in favour of values fromuseGraphiQL
anduseGraphiQLActions
hooksfeat(
@graphiql/plugin-history
/@graphiql/plugin-doc-explorer
): move@graphiql/react
topeerDependencies
-
#4077
3d41e11
Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: true
Patch Changes
- Updated dependencies [
3a0a755
,fd3f9e6
,416e3a0
,3d41e11
]:- @graphiql/[email protected]
@graphiql/[email protected]
Minor Changes
- #4077
3d41e11
Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: true
Patch Changes
- Updated dependencies [
3a0a755
,fd3f9e6
,416e3a0
,3d41e11
]:- @graphiql/[email protected]
@graphiql/[email protected]
Minor Changes
-
#4074
fd3f9e6
Thanks @dimaMachina! - Ensurestorage
andtheme
store values aren't shared between GraphiQL instances. DeprecateuseTheme
anduseStorage
hooks in favour of values fromuseGraphiQL
anduseGraphiQLActions
hooksfeat(
@graphiql/plugin-history
/@graphiql/plugin-doc-explorer
): move@graphiql/react
topeerDependencies
-
#4077
3d41e11
Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: true
Patch Changes
- Updated dependencies [
3a0a755
,fd3f9e6
,416e3a0
,3d41e11
]:- @graphiql/[email protected]
@graphiql/[email protected]
Minor Changes
- #4077
3d41e11
Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: true
Patch Changes
- Updated dependencies [
3a0a755
,fd3f9e6
,416e3a0
,3d41e11
]:- @graphiql/[email protected]
[email protected]
Patch Changes
-
#4069
142f3f2
Thanks @dimaMachina! - reduce bundle size, importprettier
dynamically to avoid bundling Prettierdiff 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]
@graphiql/[email protected]
Patch Changes
-
#4069
142f3f2
Thanks @dimaMachina! - reduce bundle size, importprettier
dynamically to avoid bundling Prettierdiff 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