Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to graphiql-5, this PR will be updated.
Releases
[email protected]
Major Changes
#3990
27e7eb6
Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same pageonClickReference
in query editor in Reactref
onClickReference
from variable editor#3999
866a8f3
Thanks @dimaMachina! - update graphiql-cdn example to show how to load workers with esm.sh#4009
4936492
Thanks @dimaMachina! - separate store actions from state, adduseGraphiQLActions
state#4002
2d9faec
Thanks @dimaMachina! - remove UMD builds#4005
1e3ec84
Thanks @dimaMachina! - supportexternalFragments
prop and removevalidationRules
prop#4003
0c8e390
Thanks @dimaMachina! - removereadOnly
propdocument
keyMap
prop was removed in migration guide#3735
0a08642
Thanks @dimaMachina! - - Removequery
,variables
,headers
, andresponse
props from<GraphiQL />
and<GraphiQLProvider />
initialQuery
,initialVariables
andinitialHeaders
propsdefaultQuery
, when is set will only be used for the first tab. When opening more tabs, the query editor will start out emptyuseSynchronizeValue
hook#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
Minor Changes
#4017
cff3da5
Thanks @dimaMachina! - extract graphiql sidebar to react component#4025
6a50740
Thanks @dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig#4026
7fb5ac3
Thanks @dimaMachina! - - deprecateuseExplorerContext
,useHistoryContext
,usePrettifyEditors
,useCopyQuery
,useMergeQuery
,useExecutionContext
,usePluginContext
,useSchemaContext
,useStorageContext
hooks<GraphiQL.Footer />
GraphiQLProps
typechildren: ReactNode
for<GraphiQL.Toolbar />
ToolbarMenu
component:label
andclassName
props were removedbutton
prop should now be a button elementuseGraphiQL
anduseGraphiQLActions
hooks in@graphiql/react
README.mduseThemeStore
touseTheme
Patch Changes
#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
functiononMergeQuery
hook withmergeQuery
functiononPrettifyEditors
hook withprettifyEditors
functionfetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
useExecutionContext
withuseExecutionStore
hookuseEditorContext
withuseEditorStore
hookgetComputedStyle
overwindow.getComputedStyle
#4008
e0dafa4
Thanks @dimaMachina! - - add f1 command as first item in shortcut tablequickInputList.focusForeground
in command palette to be primary color#3950
2455907
Thanks @dimaMachina! - - removeuseQueryEditor
,useVariableEditor
,useHeaderEditor
,useResponseEditor
hooksUseHeaderEditorArgs
,UseQueryEditorArgs
,UseResponseEditorArgs
,UseVariableEditorArgs
exportsStorageContextProvider
=>StorageStore
EditorContextProvider
=>EditorStore
SchemaContextProvider
=>SchemaStore
ExecutionContextProvider
=>ExecutionStore
HistoryContextProvider
=>HistoryStore
ExplorerContextProvider
=>ExplorerStore
Updated dependencies [
27e7eb6
,0844dc1
,866a8f3
,4936492
,7792dc9
,f9780bd
,3c0ad34
,1e3ec84
,0c8e390
,0a08642
,cff3da5
,6a50740
,16fdd6a
,86a96e5
,30bc3f9
,4b39f11
,7fb5ac3
,2455907
]:@graphiql/[email protected]
Major Changes
2d9faec
Thanks @dimaMachina! - remove UMD buildsMinor Changes
6a50740
Thanks @dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfigPatch Changes
#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
@graphiql/[email protected]
Major Changes
#3990
27e7eb6
Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same pageonClickReference
in query editor in Reactref
onClickReference
from variable editor#4009
4936492
Thanks @dimaMachina! - separate store actions from state, adduseGraphiQLActions
state#4002
2d9faec
Thanks @dimaMachina! - remove UMD buildsPatch Changes
#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
functiononMergeQuery
hook withmergeQuery
functiononPrettifyEditors
hook withprettifyEditors
functionfetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
useExecutionContext
withuseExecutionStore
hookuseEditorContext
withuseEditorStore
hookgetComputedStyle
overwindow.getComputedStyle
#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
@graphiql/[email protected]
Minor Changes
#3990
27e7eb6
Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same pageonClickReference
in query editor in Reactref
onClickReference
from variable editor#4009
4936492
Thanks @dimaMachina! - separate store actions from state, adduseGraphiQLActions
state#4025
6a50740
Thanks @dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
#4026
7fb5ac3
Thanks @dimaMachina! - - deprecateuseExplorerContext
,useHistoryContext
,usePrettifyEditors
,useCopyQuery
,useMergeQuery
,useExecutionContext
,usePluginContext
,useSchemaContext
,useStorageContext
hooks<GraphiQL.Footer />
GraphiQLProps
typechildren: ReactNode
for<GraphiQL.Toolbar />
ToolbarMenu
component:label
andclassName
props were removedbutton
prop should now be a button elementuseGraphiQL
anduseGraphiQLActions
hooks in@graphiql/react
README.mduseThemeStore
touseTheme
#3950
2455907
Thanks @dimaMachina! - - removeuseQueryEditor
,useVariableEditor
,useHeaderEditor
,useResponseEditor
hooksUseHeaderEditorArgs
,UseQueryEditorArgs
,UseResponseEditorArgs
,UseVariableEditorArgs
exportsStorageContextProvider
=>StorageStore
EditorContextProvider
=>EditorStore
SchemaContextProvider
=>SchemaStore
ExecutionContextProvider
=>ExecutionStore
HistoryContextProvider
=>HistoryStore
ExplorerContextProvider
=>ExplorerStore
Patch Changes
#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
functiononMergeQuery
hook withmergeQuery
functiononPrettifyEditors
hook withprettifyEditors
functionfetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
useExecutionContext
withuseExecutionStore
hookuseEditorContext
withuseEditorStore
hookgetComputedStyle
overwindow.getComputedStyle
#4006
7792dc9
Thanks @dimaMachina! - push field type on stack too before field#4007
f9780bd
Thanks @dimaMachina! - Use an additionalAlt
key for focus doc explorer search input instead ofCmd/Ctrl+K
because monaco-editor has a built-in shortcut forCmd/Ctrl+K
#4004
16fdd6a
Thanks @dimaMachina! - show spinner in doc explorer based onisIntrospecting
value, and not based onisFetching
Updated dependencies [
27e7eb6
,0844dc1
,866a8f3
,4936492
,3c0ad34
,1e3ec84
,0c8e390
,0a08642
,cff3da5
,6a50740
,86a96e5
,30bc3f9
,4b39f11
,7fb5ac3
,2455907
]:@graphiql/[email protected]
Minor Changes
#3990
27e7eb6
Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same pageonClickReference
in query editor in Reactref
onClickReference
from variable editor#4025
6a50740
Thanks @dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig#4011
30bc3f9
Thanks @dimaMachina! - fix execute query shortcut in query editor, run it even there are no operations in query editorfix plugin store, save last opened plugin in storage
#4026
7fb5ac3
Thanks @dimaMachina! - - deprecateuseExplorerContext
,useHistoryContext
,usePrettifyEditors
,useCopyQuery
,useMergeQuery
,useExecutionContext
,usePluginContext
,useSchemaContext
,useStorageContext
hooks<GraphiQL.Footer />
GraphiQLProps
typechildren: ReactNode
for<GraphiQL.Toolbar />
ToolbarMenu
component:label
andclassName
props were removedbutton
prop should now be a button elementuseGraphiQL
anduseGraphiQLActions
hooks in@graphiql/react
README.mduseThemeStore
touseTheme
#3950
2455907
Thanks @dimaMachina! - - removeuseQueryEditor
,useVariableEditor
,useHeaderEditor
,useResponseEditor
hooksUseHeaderEditorArgs
,UseQueryEditorArgs
,UseResponseEditorArgs
,UseVariableEditorArgs
exportsStorageContextProvider
=>StorageStore
EditorContextProvider
=>EditorStore
SchemaContextProvider
=>SchemaStore
ExecutionContextProvider
=>ExecutionStore
HistoryContextProvider
=>HistoryStore
ExplorerContextProvider
=>ExplorerStore
Patch Changes
#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
functiononMergeQuery
hook withmergeQuery
functiononPrettifyEditors
hook withprettifyEditors
functionfetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
useExecutionContext
withuseExecutionStore
hookuseEditorContext
withuseEditorStore
hookgetComputedStyle
overwindow.getComputedStyle
#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
Updated dependencies [
27e7eb6
,0844dc1
,866a8f3
,4936492
,3c0ad34
,1e3ec84
,0c8e390
,0a08642
,cff3da5
,6a50740
,86a96e5
,30bc3f9
,4b39f11
,7fb5ac3
,2455907
]:@graphiql/[email protected]
Minor Changes
#3990
27e7eb6
Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same pageonClickReference
in query editor in Reactref
onClickReference
from variable editor#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
functiononMergeQuery
hook withmergeQuery
functiononPrettifyEditors
hook withprettifyEditors
functionfetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
useExecutionContext
withuseExecutionStore
hookuseEditorContext
withuseEditorStore
hookgetComputedStyle
overwindow.getComputedStyle
#3999
866a8f3
Thanks @dimaMachina! - update graphiql-cdn example to show how to load workers with esm.sh#4009
4936492
Thanks @dimaMachina! - separate store actions from state, adduseGraphiQLActions
state#4005
1e3ec84
Thanks @dimaMachina! - supportexternalFragments
prop and removevalidationRules
prop#4003
0c8e390
Thanks @dimaMachina! - removereadOnly
propdocument
keyMap
prop was removed in migration guide#3735
0a08642
Thanks @dimaMachina! - - Removequery
,variables
,headers
, andresponse
props from<GraphiQL />
and<GraphiQLProvider />
initialQuery
,initialVariables
andinitialHeaders
propsdefaultQuery
, when is set will only be used for the first tab. When opening more tabs, the query editor will start out emptyuseSynchronizeValue
hook#4017
cff3da5
Thanks @dimaMachina! - extract graphiql sidebar to react component#4025
6a50740
Thanks @dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
#4011
30bc3f9
Thanks @dimaMachina! - fix execute query shortcut in query editor, run it even there are no operations in query editorfix plugin store, save last opened plugin in storage
#4014
4b39f11
Thanks @dimaMachina! - extract storage key constants#4026
7fb5ac3
Thanks @dimaMachina! - - deprecateuseExplorerContext
,useHistoryContext
,usePrettifyEditors
,useCopyQuery
,useMergeQuery
,useExecutionContext
,usePluginContext
,useSchemaContext
,useStorageContext
hooks<GraphiQL.Footer />
GraphiQLProps
typechildren: ReactNode
for<GraphiQL.Toolbar />
ToolbarMenu
component:label
andclassName
props were removedbutton
prop should now be a button elementuseGraphiQL
anduseGraphiQLActions
hooks in@graphiql/react
README.mduseThemeStore
touseTheme
#3950
2455907
Thanks @dimaMachina! - - removeuseQueryEditor
,useVariableEditor
,useHeaderEditor
,useResponseEditor
hooksUseHeaderEditorArgs
,UseQueryEditorArgs
,UseResponseEditorArgs
,UseVariableEditorArgs
exportsStorageContextProvider
=>StorageStore
EditorContextProvider
=>EditorStore
SchemaContextProvider
=>SchemaStore
ExecutionContextProvider
=>ExecutionStore
HistoryContextProvider
=>HistoryStore
ExplorerContextProvider
=>ExplorerStore
Patch Changes
3c0ad34
Thanks @dimaMachina! - - run cypress tests in React strict modedefaultQuery
with empty string does not result in an empty default queryuseDidUpdate
in React strict mode1e3ec84
]:[email protected]
Patch Changes
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
functiononMergeQuery
hook withmergeQuery
functiononPrettifyEditors
hook withprettifyEditors
functionfetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
useExecutionContext
withuseExecutionStore
hookuseEditorContext
withuseEditorStore
hookgetComputedStyle
overwindow.getComputedStyle
[email protected]
Patch Changes
#4005
1e3ec84
Thanks @dimaMachina! - remove unused typesBaseSchemaConfig
IDisposable
JSONDiagnosticOptions
IEvent
FilePointer