Skip to content

Commit 9fc4b21

Browse files
acaogithub-actions[bot]dimaMachina
authored
Version Packages (rc) (#3981)
* Version Packages (rc) * run yarn --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <[email protected]>
1 parent 0bcd074 commit 9fc4b21

File tree

19 files changed

+293
-45
lines changed

19 files changed

+293
-45
lines changed

.changeset/pre.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@
2121
"monaco-graphql": "1.6.1",
2222
"vscode-graphql": "0.13.2",
2323
"vscode-graphql-execution": "0.3.2",
24-
"vscode-graphql-syntax": "1.3.8"
24+
"vscode-graphql-syntax": "1.3.8",
25+
"example-graphiql-nextjs": "0.0.0",
26+
"example-graphiql-vite": "0.0.0"
2527
},
26-
"changesets": []
28+
"changesets": [
29+
"chilly-sloths-heal",
30+
"nasty-pandas-taste",
31+
"soft-cars-notice",
32+
"warm-shoes-boil"
33+
]
2734
}

examples/graphiql-nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "next lint"
1111
},
1212
"dependencies": {
13-
"graphiql": "^4.1.0",
13+
"graphiql": "^5.0.0-rc.0",
1414
"next": "15.3.3",
1515
"react": "^19.1.0",
1616
"react-dom": "^19.1.0"

examples/graphiql-vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"private": true,
55
"dependencies": {
6-
"graphiql": "^4.1.0",
6+
"graphiql": "^5.0.0-rc.0",
77
"graphql": "^16.11.0",
88
"react": "^19.1.0",
99
"react-dom": "^19.1.0"

examples/graphiql-webpack/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"start": "NODE_ENV=development webpack-cli serve"
1010
},
1111
"dependencies": {
12-
"@graphiql/plugin-code-exporter": "^4.0.5",
13-
"@graphiql/plugin-explorer": "^4.0.6",
14-
"@graphiql/react": "^0.34.1",
12+
"@graphiql/plugin-code-exporter": "^4.0.6-rc.0",
13+
"@graphiql/plugin-explorer": "^4.0.7-rc.0",
14+
"@graphiql/react": "^0.35.0-rc.0",
1515
"@graphiql/toolkit": "^0.11.3",
16-
"graphiql": "^4.1.1",
16+
"graphiql": "^5.0.0-rc.0",
1717
"graphql": "^16.9.0",
1818
"graphql-ws": "^5.5.5",
1919
"react": "^19.1.0",

packages/codemirror-graphql/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Change Log
22

3+
## 2.2.3-rc.0
4+
5+
### Patch Changes
6+
7+
- [#3949](https://github.com/graphql/graphiql/pull/3949) [`0844dc1`](https://github.com/graphql/graphiql/commit/0844dc1ca89a5d8fce0dc23658cca6987ff8443e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - replace `onCopyQuery` hook with `copyQuery` function
8+
- replace `onMergeQuery` hook with `mergeQuery` function
9+
- replace `onPrettifyEditors` hook with `prettifyEditors` function
10+
- remove `fetcher` prop from `SchemaContextProvider` and `schemaStore` and add `fetcher` to `executionStore`
11+
- add `onCopyQuery` and `onPrettifyQuery` props to `EditorContextProvider`
12+
- remove exports (use `GraphiQLProvider`)
13+
- `EditorContextProvider`
14+
- `ExecutionContextProvider`
15+
- `PluginContextProvider`
16+
- `SchemaContextProvider`
17+
- `StorageContextProvider`
18+
- `ExecutionContextType`
19+
- `PluginContextType`
20+
- feat(@graphiql/react): migrate React context to zustand:
21+
- replace `useExecutionContext` with `useExecutionStore` hook
22+
- replace `useEditorContext` with `useEditorStore` hook
23+
- prefer `getComputedStyle` over `window.getComputedStyle`
24+
325
## 2.2.2
426

527
### Patch Changes

packages/codemirror-graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codemirror-graphql",
3-
"version": "2.2.2",
3+
"version": "2.2.3-rc.0",
44
"description": "GraphQL mode and helpers for CodeMirror.",
55
"contributors": [
66
"Hyohyeon Jeong <[email protected]>",

packages/graphiql-plugin-code-exporter/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @graphiql/plugin-code-exporter
22

3+
## 4.0.6-rc.0
4+
5+
### Patch Changes
6+
7+
- [#3234](https://github.com/graphql/graphiql/pull/3234) [`86a96e5`](https://github.com/graphql/graphiql/commit/86a96e5f1779b5d0e84ad4179dbd6c5d4947fb91) Thanks [@dimaMachina](https://github.com/dimaMachina)! - Migration from Codemirror to [Monaco Editor](https://github.com/microsoft/monaco-editor)
8+
9+
Replacing `codemirror-graphql` with [`monaco-graphql`](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql)
10+
11+
Support for comments in **Variables** and **Headers** editors
12+
13+
- Updated dependencies [[`0844dc1`](https://github.com/graphql/graphiql/commit/0844dc1ca89a5d8fce0dc23658cca6987ff8443e), [`86a96e5`](https://github.com/graphql/graphiql/commit/86a96e5f1779b5d0e84ad4179dbd6c5d4947fb91), [`2455907`](https://github.com/graphql/graphiql/commit/245590708cea52ff6f1bcce8664781f7e56029cb)]:
14+
- @graphiql/react@0.35.0-rc.0
15+
316
## 4.0.5
417

518
### Patch Changes

packages/graphiql-plugin-code-exporter/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/plugin-code-exporter",
3-
"version": "4.0.5",
3+
"version": "4.0.6-rc.0",
44
"sideEffects": false,
55
"repository": {
66
"type": "git",
@@ -36,13 +36,13 @@
3636
"graphiql-code-exporter": "^3.0.3"
3737
},
3838
"peerDependencies": {
39-
"@graphiql/react": "^0.34.0",
39+
"@graphiql/react": "^0.35.0-rc.0",
4040
"graphql": "^15.5.0 || ^16.0.0 || ^17.0.0-alpha.2",
4141
"react": "^18 || ^19",
4242
"react-dom": "^18 || ^19"
4343
},
4444
"devDependencies": {
45-
"@graphiql/react": "^0.34.0",
45+
"@graphiql/react": "^0.35.0-rc.0",
4646
"@vitejs/plugin-react": "^4.4.1",
4747
"graphql": "^16.9.0",
4848
"react": "^19.1.0",

packages/graphiql-plugin-doc-explorer/CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# @graphiql/plugin-doc-explorer
22

3+
## 0.3.0-rc.0
4+
5+
### Minor Changes
6+
7+
- [#3234](https://github.com/graphql/graphiql/pull/3234) [`86a96e5`](https://github.com/graphql/graphiql/commit/86a96e5f1779b5d0e84ad4179dbd6c5d4947fb91) Thanks [@dimaMachina](https://github.com/dimaMachina)! - Migration from Codemirror to [Monaco Editor](https://github.com/microsoft/monaco-editor)
8+
9+
Replacing `codemirror-graphql` with [`monaco-graphql`](https://github.com/graphql/graphiql/tree/main/packages/monaco-graphql)
10+
11+
Support for comments in **Variables** and **Headers** editors
12+
13+
- [#3950](https://github.com/graphql/graphiql/pull/3950) [`2455907`](https://github.com/graphql/graphiql/commit/245590708cea52ff6f1bcce8664781f7e56029cb) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - remove `useQueryEditor`, `useVariableEditor`, `useHeaderEditor`, `useResponseEditor` hooks
14+
- remove `UseHeaderEditorArgs`, `UseQueryEditorArgs`, `UseResponseEditorArgs`, `UseVariableEditorArgs` exports
15+
- rename components
16+
- `StorageContextProvider` => `StorageStore`
17+
- `EditorContextProvider` => `EditorStore`
18+
- `SchemaContextProvider` => `SchemaStore`
19+
- `ExecutionContextProvider` => `ExecutionStore`
20+
- `HistoryContextProvider` => `HistoryStore`
21+
- `ExplorerContextProvider` => `ExplorerStore`
22+
23+
### Patch Changes
24+
25+
- [#3949](https://github.com/graphql/graphiql/pull/3949) [`0844dc1`](https://github.com/graphql/graphiql/commit/0844dc1ca89a5d8fce0dc23658cca6987ff8443e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - replace `onCopyQuery` hook with `copyQuery` function
26+
- replace `onMergeQuery` hook with `mergeQuery` function
27+
- replace `onPrettifyEditors` hook with `prettifyEditors` function
28+
- remove `fetcher` prop from `SchemaContextProvider` and `schemaStore` and add `fetcher` to `executionStore`
29+
- add `onCopyQuery` and `onPrettifyQuery` props to `EditorContextProvider`
30+
- remove exports (use `GraphiQLProvider`)
31+
- `EditorContextProvider`
32+
- `ExecutionContextProvider`
33+
- `PluginContextProvider`
34+
- `SchemaContextProvider`
35+
- `StorageContextProvider`
36+
- `ExecutionContextType`
37+
- `PluginContextType`
38+
- feat(@graphiql/react): migrate React context to zustand:
39+
- replace `useExecutionContext` with `useExecutionStore` hook
40+
- replace `useEditorContext` with `useEditorStore` hook
41+
- prefer `getComputedStyle` over `window.getComputedStyle`
42+
- Updated dependencies [[`0844dc1`](https://github.com/graphql/graphiql/commit/0844dc1ca89a5d8fce0dc23658cca6987ff8443e), [`86a96e5`](https://github.com/graphql/graphiql/commit/86a96e5f1779b5d0e84ad4179dbd6c5d4947fb91), [`2455907`](https://github.com/graphql/graphiql/commit/245590708cea52ff6f1bcce8664781f7e56029cb)]:
43+
- @graphiql/react@0.35.0-rc.0
44+
345
## 0.2.2
446

547
### Patch Changes

packages/graphiql-plugin-doc-explorer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphiql/plugin-doc-explorer",
3-
"version": "0.2.2",
3+
"version": "0.3.0-rc.0",
44
"sideEffects": false,
55
"repository": {
66
"type": "git",
@@ -41,7 +41,7 @@
4141
"react-dom": "^18 || ^19"
4242
},
4343
"dependencies": {
44-
"@graphiql/react": "^0.34.1",
44+
"@graphiql/react": "^0.35.0-rc.0",
4545
"@headlessui/react": "^2.2",
4646
"react-compiler-runtime": "19.1.0-rc.1",
4747
"zustand": "^5"

0 commit comments

Comments
 (0)