fix(deps): update dependency graphiql to v5
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| graphiql (source) | 4.1.2 -> 5.0.6 |
Release Notes
graphql/graphiql (graphiql)
v5.0.6
Patch Changes
-
#4069
142f3f2Thanks @dimaMachina! - reduce bundle size, importprettierdynamically 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/react@0.35.6
v5.0.5
Patch Changes
v5.0.4
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 value -
Updated dependencies [
44b18e4]:- @graphiql/react@0.35.5
v5.0.3
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.graphql -
1-request-headers.json -
1-variables.json -
1-response.json
The 2nd instance will have:
-
2-operation.graphql -
2-request-headers.json -
2-variables.json -
2-response.json
etc.
-
-
#4049
2c0586dThanks @dimaMachina! - - useallowTrailingCommaoption in jsonc parser to maketryParseJsonObjectsync- parse introspection headers with jsonc parser
- use prettier format for operation editor since we already use prettier for jsonc editors
-
#4050
002f133Thanks @dimaMachina! - fix can't access property "jsonDefaults" -
Updated dependencies [
9b54581,2c0586d,002f133]:- @graphiql/react@0.35.4
v5.0.2
Patch Changes
-
#4046
8b56462Thanks @dimaMachina! - Enable font ligatures in monaco-editors fix incorrect caret position on Windows -
Updated dependencies [
8b56462]:- @graphiql/react@0.35.3
v5.0.1
Patch Changes
-
#4044
68b347cThanks @dimaMachina! - fixFixes Uncaught Error: can't access property "offsetNode", hitResult is nullon Mozilla -
Updated dependencies [
68b347c]:- @graphiql/react@0.35.2
v5.0.0
Major Changes
-
#3990
27e7eb6Thanks @dimaMachina! - - allow multiple independent instances of GraphiQL on the same page- store
onClickReferencein query editor in Reactref - remove
onClickReferencefrom variable editor - fix shortcut text per OS for run query in execute query button's tooltip and in default query
- allow override all default GraphiQL plugins
- adjust operation argument color to be purple from GraphiQL v2 on dark/light theme
- store
-
#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! - removereadOnlyprop documentkeyMapprop was removed in migration guide -
#3735
0a08642Thanks @dimaMachina! - - Removequery,variables,headers, andresponseprops from<GraphiQL />and<GraphiQLProvider />- Add
initialQuery,initialVariablesandinitialHeadersprops - Fix
defaultQuery, when is set will only be used for the first tab. When opening more tabs, the query editor will start out empty - remove
useSynchronizeValuehook
- Add
-
#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- fix response editor overflow on
<GraphiQL.Footer /> - export
GraphiQLPropstype - allow
children: ReactNodefor<GraphiQL.Toolbar /> - change
ToolbarMenucomponent:- The
labelandclassNameprops were removed - The
buttonprop should now be a button element
- The
- document
useGraphiQLanduseGraphiQLActionshooks in@graphiql/reactREADME.md - rename
useThemeStoretouseTheme
- fix response editor overflow on
Patch Changes
-
#3949
0844dc1Thanks @dimaMachina! - - replaceonCopyQueryhook withcopyQueryfunction- replace
onMergeQueryhook withmergeQueryfunction - replace
onPrettifyEditorshook withprettifyEditorsfunction - remove
fetcherprop fromSchemaContextProviderandschemaStoreand addfetchertoexecutionStore - add
onCopyQueryandonPrettifyQueryprops toEditorContextProvider - remove exports (use
GraphiQLProvider)-
EditorContextProvider -
ExecutionContextProvider -
PluginContextProvider -
SchemaContextProvider -
StorageContextProvider -
ExecutionContextType -
PluginContextType
-
- feat(@graphiql/react): migrate React context to zustand:
- replace
useExecutionContextwithuseExecutionStorehook - replace
useEditorContextwithuseEditorStorehook
- replace
- prefer
getComputedStyleoverwindow.getComputedStyle
- replace
-
#4008
e0dafa4Thanks @dimaMachina! - - add f1 command as first item in shortcut table- set color of
quickInputList.focusForegroundin command palette to be primary color
- set color of
-
#3950
2455907Thanks @dimaMachina! - - removeuseQueryEditor,useVariableEditor,useHeaderEditor,useResponseEditorhooks- remove
UseHeaderEditorArgs,UseQueryEditorArgs,UseResponseEditorArgs,UseVariableEditorArgsexports - rename components
-
StorageContextProvider=>StorageStore -
EditorContextProvider=>EditorStore -
SchemaContextProvider=>SchemaStore -
ExecutionContextProvider=>ExecutionStore -
HistoryContextProvider=>HistoryStore -
ExplorerContextProvider=>ExplorerStore
-
- remove
-
Updated dependencies [
27e7eb6,0844dc1,866a8f3,4936492,7792dc9,f9780bd,3c0ad34,1e3ec84,0c8e390,0a08642,cff3da5,6a50740,16fdd6a,86a96e5,30bc3f9,4b39f11,7fb5ac3,2455907]:- @graphiql/plugin-doc-explorer@0.3.0
- @graphiql/plugin-history@0.3.0
- @graphiql/react@0.35.0
Configuration
📅 Schedule: Branch creation - "on the 12th day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Blocked by https://github.com/graphql/graphiql/discussions/4075
Also this seems to bloat the build by a few MB