- #3950
2455907Thanks @dimaMachina! - - removeuseQueryEditor,useVariableEditor,useHeaderEditor,useResponseEditorhooks- remove
UseHeaderEditorArgs,UseQueryEditorArgs,UseResponseEditorArgs,UseVariableEditorArgsexports - rename components
StorageContextProvider=>StorageStoreEditorContextProvider=>EditorStoreSchemaContextProvider=>SchemaStoreExecutionContextProvider=>ExecutionStoreHistoryContextProvider=>HistoryStoreExplorerContextProvider=>ExplorerStore
- remove
-
#3949
0844dc1Thanks @dimaMachina! - - replaceonCopyQueryhook withcopyQueryfunction- replace
onMergeQueryhook withmergeQueryfunction - replace
onPrettifyEditorshook withprettifyEditorsfunction - remove
fetcherprop fromSchemaContextProviderandschemaStoreand addfetchertoexecutionStore - add
onCopyQueryandonPrettifyQueryprops toEditorContextProvider - remove exports (use
GraphiQLProvider)EditorContextProviderExecutionContextProviderPluginContextProviderSchemaContextProviderStorageContextProviderExecutionContextTypePluginContextType
- feat(@graphiql/react): migrate React context to zustand:
- replace
useExecutionContextwithuseExecutionStorehook - replace
useEditorContextwithuseEditorStorehook
- replace
- prefer
getComputedStyleoverwindow.getComputedStyle
- replace
-
#3234
86a96e5Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphqlwithmonaco-graphqlSupport for comments in Variables and Headers editors
-
Updated dependencies [
0844dc1,86a96e5,2455907]:- @graphiql/react@0.35.0-rc.0
-
#3970
7054591Thanks @dimaMachina! - revert #3946 to have support multiple embedded graphiql instances on the same page -
Updated dependencies [
7054591]:- @graphiql/toolkit@0.11.3
- @graphiql/react@0.34.1
- #3946
71755b7Thanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand:- replace
useExecutionContextwithuseExecutionStorehook - replace
useEditorContextwithuseEditorStorehook - replace
useAutoCompleteLeafshook withgetAutoCompleteLeafsfunction
- replace
- Updated dependencies [
71755b7,6d631e2]:- @graphiql/react@0.34.0
- #3947
fa78481Thanks @dimaMachina! - refactoruseStorage,useDocExploreranduseHistoryhooks
-
#3945
117627bThanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand, replaceusePluginContextwithusePluginStorehook -
#3942
00c8605Thanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand, replaceuseStorageContextwithuseStoragehook -
Updated dependencies [
117627b,fa78481,7275472,00c8605]:- @graphiql/react@0.33.0
- #3935
5985e13Thanks @dimaMachina! - feat(@graphiql/plugin-history): migrate React context to zustand, replaceuseHistoryContextwithuseHistory,useHistoryActionshooks
-
#3939
69ad489Thanks @dimaMachina! - preferReact.FCtype when declaring React components -
Updated dependencies [
2bfbb06,69ad489,2500288]:- @graphiql/react@0.32.2
- Updated dependencies [
98d13a3]:- @graphiql/react@0.32.0
-
#3911
e7c436bThanks @dimaMachina! - - exportcnfrom@graphiql/react- remove following exports from
@graphiql/reactand move them in@graphiql/plugin-historypackage:HistoryHistoryContextHistoryContextTypeHistoryContextProvideruseHistoryContextHISTORY_PLUGIN
- remove types from
@graphiql/react(useComponentProps<typeof MyContextProviderProps>instead):HistoryContextProviderPropsExecutionContextProviderPropsEditorContextProviderPropsExplorerContextProviderPropsPluginContextProviderPropsSchemaContextProviderPropsStorageContextProviderPropsGraphiQLProviderProps
- remove following exports from
-
Updated dependencies [
e7c436b]:- @graphiql/react@0.31.0