Skip to content

Commit d3fc470

Browse files
dimaMachinayaacovCRacaogithub-actions[bot]
authored
[v4] fix merge conflicts with main (#3719)
* upgrade to graphql v17 including support for new incremental delivery format (#3682) * add support for new incremental delivery format * fix vitest * add patch for graphql-js bug submittes upstream with test at graphql/graphql-js#4160 * apply feedback * move patches! * some fixes * fix netlify/cypress * remove export * update changeset --------- Co-authored-by: Dimitri POSTOLOV <[email protected]> * Version Packages (#3715) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * prettier * fix e2e * update pr-graphql-compat-check.yml * prettier --------- Co-authored-by: Yaacov Rydzinski <[email protected]> Co-authored-by: Rikki Schulte <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 15fff26 commit d3fc470

File tree

49 files changed

+595
-260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+595
-260
lines changed

.github/workflows/pr-graphql-compat-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
# only on merge to main.
55
# it's rare that this workflow would
66
# show us an error, but when it does it's important!
7-
branches:
8-
- main
7+
branches: [main, graphiql-v4]
98
# don't run this regression suite if we don't need to
109
paths-ignore:
1110
- '**.md'
@@ -23,7 +22,8 @@ jobs:
2322
runs-on: ubuntu-20.04
2423
strategy:
2524
matrix:
26-
release: ['15.5.3', '^15.8.0', '16.1.0', '16.2.0', '16.3.0']
25+
release:
26+
['15.5.3', '^15.8.0', '16.1.0', '16.2.0', '16.3.0', '17.0.0-alpha.5']
2727
steps:
2828
- name: Checkout Code
2929
uses: actions/checkout@v4

examples/graphiql-webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@graphiql/plugin-code-exporter": "^4.0.0-alpha.0",
1313
"@graphiql/plugin-explorer": "^4.0.0-alpha.0",
14-
"@graphiql/toolkit": "^0.9.2",
14+
"@graphiql/toolkit": "^0.10.0",
1515
"@graphiql/react": "^1.0.0-alpha.1",
1616
"graphiql": "^4.0.0-alpha.2",
1717
"graphql": "^16.9.0",

examples/monaco-graphql-nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"start": "next start"
1010
},
1111
"dependencies": {
12-
"@graphiql/toolkit": "^0.9.2",
12+
"@graphiql/toolkit": "^0.10.0",
1313
"graphql": "^16.9.0",
1414
"graphql-ws": "^5.5.5",
1515
"jsonc-parser": "^3.2.0",
1616
"marked": "^4.2.12",
1717
"monaco-editor": "^0.39.0",
1818
"monaco-editor-webpack-plugin": "^7.0.1",
19-
"monaco-graphql": "^1.5.3",
19+
"monaco-graphql": "^1.6.0",
2020
"next": "13.4.7",
2121
"prettier": "3.3.2",
2222
"react": "^18.2.0",

examples/monaco-graphql-react-vite/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"private": true,
44
"version": "0.0.0",
55
"dependencies": {
6-
"@graphiql/toolkit": "^0.9.2",
6+
"@graphiql/toolkit": "^0.10.0",
77
"graphql": "^16.9.0",
8-
"graphql-language-service": "^5.2.2",
8+
"graphql-language-service": "^5.3.0",
99
"jsonc-parser": "^3.2.0",
1010
"monaco-editor": "^0.39.0",
11-
"monaco-graphql": "^1.5.3",
11+
"monaco-graphql": "^1.6.0",
1212
"prettier": "3.3.2",
1313
"react": "^18.2.0",
1414
"react-dom": "^18.2.0"

examples/monaco-graphql-webpack/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
},
1111
"dependencies": {
1212
"graphql": "^16.9.0",
13-
"graphql-language-service": "^5.2.2",
13+
"graphql-language-service": "^5.3.0",
1414
"json-schema": "^0.4.0",
1515
"jsonc-parser": "^3.2.0",
1616
"monaco-editor": "^0.39.0",
17-
"monaco-graphql": "^1.5.3",
17+
"monaco-graphql": "^1.6.0",
1818
"prettier": "3.3.2"
1919
},
2020
"devDependencies": {

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"dependencies": {
8080
"identity-obj-proxy": "^3.0.0",
8181
"babel-plugin-macros": "^3.1.0",
82+
"graphql-http": "^1.22.1",
8283
"@babel/cli": "^7.21.0",
8384
"@babel/core": "^7.21.0",
8485
"@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -144,6 +145,7 @@
144145
"resolutions": {
145146
"@babel/traverse": "^7.23.2",
146147
"vscode-languageserver-types": "3.17.3",
147-
"markdown-it": "14.1.0"
148+
"markdown-it": "14.1.0",
149+
"graphql": "17.0.0-alpha.5"
148150
}
149151
}

packages/cm6-graphql/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# cm6-graphql
22

3+
## 0.1.0
4+
5+
### Minor Changes
6+
7+
- [#3682](https://github.com/graphql/graphiql/pull/3682) [`6c9f0df`](https://github.com/graphql/graphiql/commit/6c9f0df83ea4afe7fa59f84d83d59fba73dc3931) Thanks [@yaacovCR](https://github.com/yaacovCR)! - Support v17 of `graphql-js` from `17.0.0-alpha.2` forward.
8+
9+
Includes support for the latest incremental delivery response format. For further details, see https://github.com/graphql/defer-stream-wg/discussions/69.
10+
11+
### Patch Changes
12+
13+
- Updated dependencies [[`6c9f0df`](https://github.com/graphql/graphiql/commit/6c9f0df83ea4afe7fa59f84d83d59fba73dc3931)]:
14+
15+
316
## 0.0.15
417

518
### Patch Changes

packages/cm6-graphql/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cm6-graphql",
3-
"version": "0.0.15",
3+
"version": "0.1.0",
44
"description": "GraphQL language support for CodeMirror 6",
55
"scripts": {
66
"build": "cm-buildhelper src/index.ts",
@@ -16,7 +16,7 @@
1616
"types": "dist/index.d.ts",
1717
"sideEffects": false,
1818
"dependencies": {
19-
"graphql-language-service": "^5.2.1"
19+
"graphql-language-service": "^5.3.0"
2020
},
2121
"devDependencies": {
2222
"@codemirror/autocomplete": "6.2.0",
@@ -30,7 +30,7 @@
3030
"@lezer/highlight": "^1.0.0",
3131
"@lezer/lr": "^1.1.0",
3232
"esbuild": "0.18.10",
33-
"graphql": "^16.9.0",
33+
"graphql": "^17.0.0-alpha.5",
3434
"rollup": "^2.60.2",
3535
"rollup-plugin-dts": "^4.0.1",
3636
"rollup-plugin-esbuild": "^4.9.1",
@@ -44,7 +44,7 @@
4444
"@codemirror/state": "6.2.0",
4545
"@codemirror/view": "6.2.1",
4646
"@lezer/highlight": "^1.0.0",
47-
"graphql": "^16.5.0"
47+
"graphql": "^16.5.0 || ^17.0.0-alpha.2"
4848
},
4949
"license": "MIT"
5050
}

packages/codemirror-graphql/CHANGELOG.md

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

3+
## 2.1.0
4+
5+
### Minor Changes
6+
7+
- [#3682](https://github.com/graphql/graphiql/pull/3682) [`6c9f0df`](https://github.com/graphql/graphiql/commit/6c9f0df83ea4afe7fa59f84d83d59fba73dc3931) Thanks [@yaacovCR](https://github.com/yaacovCR)! - Support v17 of `graphql-js` from `17.0.0-alpha.2` forward.
8+
9+
Includes support for the latest incremental delivery response format. For further details, see https://github.com/graphql/defer-stream-wg/discussions/69.
10+
11+
### Patch Changes
12+
13+
- Updated dependencies [[`6c9f0df`](https://github.com/graphql/graphiql/commit/6c9f0df83ea4afe7fa59f84d83d59fba73dc3931)]:
14+
15+
316
## 2.0.13
417

518
### Patch Changes

packages/codemirror-graphql/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codemirror-graphql",
3-
"version": "2.0.13",
3+
"version": "2.1.0",
44
"description": "GraphQL mode and helpers for CodeMirror.",
55
"contributors": [
66
"Hyohyeon Jeong <[email protected]>",
@@ -40,18 +40,18 @@
4040
"peerDependencies": {
4141
"@codemirror/language": "6.0.0",
4242
"codemirror": "^5.65.3",
43-
"graphql": "^15.5.0 || ^16.0.0"
43+
"graphql": "^15.5.0 || ^16.0.0 || ^17.0.0-alpha.2"
4444
},
4545
"// TEMPORARILY PINNED until we fix graphql 15 support": "",
4646
"dependencies": {
4747
"@types/codemirror": "^0.0.90",
48-
"graphql-language-service": "5.2.2"
48+
"graphql-language-service": "5.3.0"
4949
},
5050
"devDependencies": {
5151
"@codemirror/language": "^6.0.0",
5252
"codemirror": "^5.65.3",
5353
"cross-env": "^7.0.2",
54-
"graphql": "^16.9.0",
54+
"graphql": "^17.0.0-alpha.5",
5555
"rimraf": "^3.0.2",
5656
"sane": "2.0.0"
5757
}

0 commit comments

Comments
 (0)