Major Changes
-
#3966
17bee1c
Thanks @dimaMachina! - Remove examples:GraphiQL x Parcel
andGraphiQL x Create React App
Add new examples:
GraphiQL x Vite
andGraphiQL x Next.js
-
#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
Patch Changes
-
#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
function- replace
onMergeQuery
hook withmergeQuery
function - replace
onPrettifyEditors
hook withprettifyEditors
function - remove
fetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
- add
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
- remove exports (use
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
- feat(@graphiql/react): migrate React context to zustand:
- replace
useExecutionContext
withuseExecutionStore
hook - replace
useEditorContext
withuseEditorStore
hook
- replace
- prefer
getComputedStyle
overwindow.getComputedStyle
- replace
-
#3950
2455907
Thanks @dimaMachina! - - removeuseQueryEditor
,useVariableEditor
,useHeaderEditor
,useResponseEditor
hooks- remove
UseHeaderEditorArgs
,UseQueryEditorArgs
,UseResponseEditorArgs
,UseVariableEditorArgs
exports - rename components
StorageContextProvider
=>StorageStore
EditorContextProvider
=>EditorStore
SchemaContextProvider
=>SchemaStore
ExecutionContextProvider
=>ExecutionStore
HistoryContextProvider
=>HistoryStore
ExplorerContextProvider
=>ExplorerStore
- remove
-
Updated dependencies [
0844dc1
,86a96e5
,2455907
]:- @graphiql/plugin-doc-explorer@0.3.0-rc.0
- @graphiql/plugin-history@0.3.0-rc.0
- @graphiql/react@0.35.0-rc.0