fix(deps): update dependency graphiql to v5 #2433
Open
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 contains the following updates:
1.11.5->5.2.0Release Notes
graphql/graphiql (graphiql)
v5.2.0Compare Source
Minor Changes
4950decThanks @dimaMachina! - feat: add loader for initial loading of operation editorfix: adjust command palette
width,borderand removebox-shadowfeat: add short cut
Cmd/Ctrl + ,for opening GraphiQL settings dialogPatch Changes
4950dec]:v5.1.1Compare Source
Patch Changes
#4078
6e5d5fcThanks @dimaMachina! - fix color in the F1 popup should be graphiql primary color and add deprecated exports foruseEditorStore,useExecutionStore,usePluginStoreanduseSchemaStoreUpdated dependencies [
6e5d5fc,293beed]:v5.1.0Compare Source
Minor Changes
#4071
3a0a755Thanks @dimaMachina! - feat(graphql-language-service): exportgetContextAtPositionfeat(graphiql): dynamically import
monaco-editorandmonaco-graphqlWhen using GraphiQL in Next.js app, you no longer need to use
next/dynamic:#4074
fd3f9e6Thanks @dimaMachina! - Ensurestorageandthemestore values aren't shared between GraphiQL instances. DeprecateuseThemeanduseStoragehooks in favour of values fromuseGraphiQLanduseGraphiQLActionshooksfeat(
@graphiql/plugin-history/@graphiql/plugin-doc-explorer): move@graphiql/reacttopeerDependencies#4077
3d41e11Thanks @dimaMachina! - add new example Usage GraphiQL 5 with Vite, React Router andssr: truePatch Changes
#4076
416e3a0Thanks @dimaMachina! - fix brokenuseOperationsEditorStateanduseEditorStatehook and add unit testsUpdated dependencies [
3a0a755,fd3f9e6,416e3a0,3d41e11]:v5.0.6Compare Source
Patch Changes
#4069
142f3f2Thanks @dimaMachina! - reduce bundle size, importprettierdynamically to avoid bundling Prettierdiff from vite example
Updated dependencies [
142f3f2]:v5.0.5Compare Source
Patch Changes
962225aThanks @benjie! - Expose theGraphiQLInterfacePropstype.v5.0.4Compare Source
Patch Changes
#4061
8f14fffThanks @dimaMachina! - addgraphiql.css, CSS file without importing fonts and monaco-editor styles#4059
a4382bfThanks @dimaMachina! - exportGraphiQLInterface#4063
44b18e4Thanks @dimaMachina! - fixuseOperationsEditorStatewasn't returned updated return valueUpdated dependencies [
44b18e4]:v5.0.3Compare Source
Patch Changes
#4052
9b54581Thanks @dimaMachina! - fix multiple GraphiQL instances, suffix a unique id for operation, request headers, variables and response URI.E.g., the first GraphiQL instance will have:
1-operation.graphql1-request-headers.json1-variables.json1-response.jsonThe 2nd instance will have:
2-operation.graphql2-request-headers.json2-variables.json2-response.jsonetc.
#4049
2c0586dThanks @dimaMachina! - - useallowTrailingCommaoption in jsonc parser to maketryParseJsonObjectsync#4050
002f133Thanks @dimaMachina! - fix can't access property "jsonDefaults"Updated dependencies [
9b54581,2c0586d,002f133]:v5.0.2Compare Source
Patch Changes
#4046
8b56462Thanks @dimaMachina! - Enable font ligatures in monaco-editors fix incorrect caret position on WindowsUpdated dependencies [
8b56462]:v5.0.1Compare Source
Patch Changes
#4044
68b347cThanks @dimaMachina! - fixFixes Uncaught Error: can't access property "offsetNode", hitResult is nullon MozillaUpdated dependencies [
68b347c]:v5.0.0Compare Source
Major Changes
#3990
27e7eb6Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same pageonClickReferencein query editor in ReactrefonClickReferencefrom variable editor#3999
866a8f3Thanks @dimaMachina! - update graphiql-cdn example to show how to load workers with esm.sh#4009
4936492Thanks @dimaMachina! - separate store actions from state, adduseGraphiQLActionsstate#4002
2d9faecThanks @dimaMachina! - remove UMD builds#4005
1e3ec84Thanks @dimaMachina! - supportexternalFragmentsprop and removevalidationRulesprop#4003
0c8e390Thanks @dimaMachina! - removereadOnlypropdocument
keyMapprop was removed in migration guide#3735
0a08642Thanks @dimaMachina! - - Removequery,variables,headers, andresponseprops from<GraphiQL />and<GraphiQLProvider />initialQuery,initialVariablesandinitialHeaderspropsdefaultQuery, when is set will only be used for the first tab. When opening more tabs, the query editor will start out emptyuseSynchronizeValuehook#3966
17bee1cThanks @dimaMachina! - Remove examples:GraphiQL x ParcelandGraphiQL x Create React AppAdd new examples:
GraphiQL x ViteandGraphiQL x Next.js#3234
86a96e5Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphqlwithmonaco-graphqlSupport for comments in Variables and Headers editors
Minor Changes
#4017
cff3da5Thanks @dimaMachina! - extract graphiql sidebar to react component#4025
6a50740Thanks @dimaMachina! - set "importsNotUsedAsValues": "error" in tsconfig#4026
7fb5ac3Thanks @dimaMachina! - - deprecateuseExplorerContext,useHistoryContext,usePrettifyEditors,useCopyQuery,useMergeQuery,useExecutionContext,usePluginContext,useSchemaContext,useStorageContexthooks<GraphiQL.Footer />GraphiQLPropstypechildren: ReactNodefor<GraphiQL.Toolbar />ToolbarMenucomponent:labelandclassNameprops were removedbuttonprop should now be a button elementuseGraphiQLanduseGraphiQLActionshooks in@graphiql/reactREADME.mduseThemeStoretouseThemePatch Changes
#3949
0844dc1Thanks @dimaMachina! - - replaceonCopyQueryhook withcopyQueryfunctiononMergeQueryhook withmergeQueryfunctiononPrettifyEditorshook withprettifyEditorsfunctionfetcherprop fromSchemaContextProviderandschemaStoreand addfetchertoexecutionStoreonCopyQueryandonPrettifyQueryprops toEditorContextProviderGraphiQLProvider)EditorContextProviderExecutionContextProviderPluginContextProviderSchemaContextProviderStorageContextProviderExecutionContextTypePluginContextTypeuseExecutionContextwithuseExecutionStorehookuseEditorContextwithuseEditorStorehookgetComputedStyleoverwindow.getComputedStyle#4008
e0dafa4Thanks @dimaMachina! - - add f1 command as first item in shortcut tablequickInputList.focusForegroundin command palette to be primary color#3950
2455907Thanks @dimaMachina! - - removeuseQueryEditor,useVariableEditor,useHeaderEditor,useResponseEditorhooksUseHeaderEditorArgs,UseQueryEditorArgs,UseResponseEditorArgs,UseVariableEditorArgsexportsStorageContextProvider=>StorageStoreEditorContextProvider=>EditorStoreSchemaContextProvider=>SchemaStoreExecutionContextProvider=>ExecutionStoreHistoryContextProvider=>HistoryStoreExplorerContextProvider=>ExplorerStoreUpdated dependencies [
27e7eb6,0844dc1,866a8f3,4936492,7792dc9,f9780bd,3c0ad34,1e3ec84,0c8e390,0a08642,cff3da5,6a50740,16fdd6a,86a96e5,30bc3f9,4b39f11,7fb5ac3,2455907]:v4.1.2Compare Source
Patch Changes
70d2216Thanks @dimaMachina! - fixTypeError: Cannot read properties of null (reading 'get')and update graphiql webpack example to show how to useuseStoragehook withGraphiQLcomponentv4.1.1Compare Source
Patch Changes
#3970
7054591Thanks @dimaMachina! - revert #3946 to have support multiple embedded graphiql instances on the same pageUpdated dependencies [
7054591]:v4.1.0Compare Source
Minor Changes
71755b7Thanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand:useExecutionContextwithuseExecutionStorehookuseEditorContextwithuseEditorStorehookuseAutoCompleteLeafshook withgetAutoCompleteLeafsfunctionPatch Changes
#3963
6d631e2Thanks @dimaMachina! - fix headers are not set in the refetch of introspection queryUpdated dependencies [
71755b7,6d631e2]:v4.0.5Compare Source
Patch Changes
#3945
117627bThanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand, replaceusePluginContextwithusePluginStorehook#3947
fa78481Thanks @dimaMachina! - refactoruseStorage,useDocExploreranduseHistoryhooks#3943
7275472Thanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand, replaceuseSchemaContextwithuseSchemaStorehook#3942
00c8605Thanks @dimaMachina! - feat(@graphiql/react): migrate React context to zustand, replaceuseStorageContextwithuseStoragehookUpdated dependencies [
117627b,fa78481,7275472,00c8605]:v4.0.4Compare Source
Patch Changes
#3940
5a66864Thanks @dimaMachina! - feat(@graphiql/plugin-doc-explorer): migrate React context to zustand, replaceuseExplorerContextwithuseDocExploreranduseDocExplorerActionshooksUpdated dependencies [
5a66864]:v4.0.3Compare Source
Patch Changes
#3938
9f55d93Thanks @dimaMachina! - fix unable overridereferencePluginprop#3936
2bfbb06Thanks @dimaMachina! - add scroll-x to graphiql tabs area#3939
69ad489Thanks @dimaMachina! - preferReact.FCtype when declaring React components#3937
2500288Thanks @dimaMachina! - removeWarning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output formatwarnings on SSR#3935
5985e13Thanks @dimaMachina! - feat(@graphiql/plugin-history): migrate React context to zustand, replaceuseHistoryContextwithuseHistory,useHistoryActionshooksUpdated dependencies [
2bfbb06,69ad489,2500288,5985e13]:v4.0.2Compare Source
Patch Changes
#3916
98d13a3Thanks @dimaMachina! - - remove the following exports from@graphiql/reactand move them in@graphiql/plugin-doc-explorerpackage:referencePluginprop onPluginContextProviderPropscomponent for plugin which is used to display the reference documentation when selecting a type.Updated dependencies [
98d13a3]:v4.0.1Compare Source
Patch Changes
#3911
e7c436bThanks @dimaMachina! - - exportcnfrom@graphiql/react@graphiql/reactand move them in@graphiql/plugin-historypackage:HistoryHistoryContextHistoryContextTypeHistoryContextProvideruseHistoryContextHISTORY_PLUGIN@graphiql/react(useComponentProps<typeof MyContextProviderProps>instead):HistoryContextProviderPropsExecutionContextProviderPropsEditorContextProviderPropsExplorerContextProviderPropsPluginContextProviderPropsSchemaContextProviderPropsStorageContextProviderPropsGraphiQLProviderProps#3915
bc31cd9Thanks @dimaMachina! - fix unpkg.com results toNot foundwhenmainfield isn't specified inpackage.jsonUpdated dependencies [
e7c436b]:v4.0.0Compare Source
Major Changes
#3904
d1395f9Thanks @dimaMachina! - drop commonjs build files#3904
d1395f9Thanks @dimaMachina! - show tabs even there is only 1 tab#3904
d1395f9Thanks @dimaMachina! - remove default exportv3.9.0Compare Source
Minor Changes
#3826
cb29e9fThanks @dimaMachina! - - remove react compiler custom patchreact-compiler-runtimeto use19.1.0-rc.1version#3826
cb29e9fThanks @dimaMachina! - migrategraphiqltoviteandreact compilerPatch Changes
cb29e9f,1adc40c]:v3.8.3Compare Source
Patch Changes
#3843
16b5698Thanks @dimaMachina! - fix regression in documentation explorer search when clicking on results in dropdownUpdated dependencies [
16b5698]:v3.8.2Compare Source
Patch Changes
b529a6cThanks @dimaMachina! - update@graphiql/reactdependency range to^0.28.1v3.8.1Compare Source
Patch Changes
3633d61]:v3.8.0Compare Source
Minor Changes
7cdcabfThanks @dimaMachina! - migrategraphiqlfromjesttovitestPatch Changes
72f06bc]:v3.7.2Compare Source
Patch Changes
f86e2bc]:v3.7.1Compare Source
Patch Changes
#3751
b8538d8Thanks @dimaMachina! - replace deprecatednavigator.platformwithnavigator.userAgentfix placeholder
⌘ Kin doc explorer search input for non mac devices, replace byCtrl KUpdated dependencies [
b8538d8]:v3.7.0Compare Source
Minor Changes
9aef83aThanks @Yahkob! - add new propdefaultThemeto set the default color preference themePatch Changes
#3441
959ed21Thanks @cimdalli! - fix: set query editor todefaultQuerywhile adding a new tab or GraphiQL's default queryv3.6.0Compare Source
Minor Changes
#3563
4fb231fThanks @klippx! - Add new propconfirmCloseTabto allow control of closing tabs#3532
7404e8eThanks @Cr4xy! - Add webp support to graphiql results image-previewPatch Changes
7404e8e]:v3.5.0Compare Source
Minor Changes
#3682
6c9f0dfThanks @yaacovCR! - Support v17 ofgraphql-jsfrom17.0.0-alpha.2forward.Includes support for the latest incremental delivery response format. For further details, see https://redirect.github.com/graphql/defer-stream-wg/discussions/69.
Patch Changes
6c9f0df]:v3.4.1Compare Source
Patch Changes
#3675
676f910Thanks @dimaMachina! - move@graphiql/toolkittodevDependeciesbecause umd build is bundled with all dependencies in one file#3655
5450e6bThanks @dimaMachina! - remove unused dependenciesgraphql-language-serviceandmarkdown-itUpdated dependencies [
6a0a5e5]:v3.4.0Compare Source
Minor Changes
82f1eccThanks @dimaMachina! - addclassNameprop. Additional class names which will be appended to the GraphiQL container elementPatch Changes
5bc7b84,fdec377,56c6f45,93c7e9f]:v3.3.2Compare Source
Patch Changes
#3634
adf0ba01Thanks @dimaMachina! - when alpha is1, usehslinstead ofhslaUpdated dependencies [
adf0ba01]:v3.3.1Compare Source
Patch Changes
335d830c]:v3.3.0Compare Source
Minor Changes
115c1c02Thanks @TuvalSimha! - Add a new prop to GraphiQL component:forcedThemeto force the theme and hide the theme switcher.v3.2.3Compare Source
Patch Changes
03ab3a6b,aa6dbbb4]:v3.2.2Compare Source
Patch Changes
224b43f5]:v3.2.1Compare Source
Patch Changes
d48f4ef5]:v3.2.0Compare Source
Minor Changes
5d051054Thanks @AaronMoat! - Update to markdown-it 14.xPatch Changes
5d051054]:v3.1.2Compare Source
Patch Changes
v3.1.1Compare Source
Patch Changes
2b6ea316]:v3.1.0Compare Source
Minor Changes
a8080197Thanks @TuvalSimha! - Allow disabling tabs and added new propdisableTabsv3.0.10Compare Source
Patch Changes
d07d5fc0Thanks @xonx4l! - FIX: Unexpected duplicate CSS "display" propertyv3.0.9Compare Source
Patch Changes
e89c432d]:v3.0.8Compare Source
Patch Changes
39bf31d1]:v3.0.7Compare Source
Patch Changes
f6afd22d]:v3.0.6Compare Source
Patch Changes
7b00774a,7b00774a]:v3.0.5Compare Source
Patch Changes
#3371
2348641cThanks @acao! - Solves #2825, an old bug where new tabs were created on every refreshthe bug occurred when:
shouldPersistHeadersis not set to trueheadersordefaultHeadersare provided as propsUpdated dependencies [
2348641c]:v3.0.4Compare Source
Patch Changes
#3364
d67c13f6Thanks @acao! - Fix search result bug on select, #33307Updated dependencies [
4cbdf183,d67c13f6]:[
v3.0.3](https://redirect.github.com/graphql/gConfiguration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.