diff --git a/.changeset/neat-houses-explode.md b/.changeset/neat-houses-explode.md deleted file mode 100644 index 63cd90d233..0000000000 --- a/.changeset/neat-houses-explode.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'graphql-language-service-server': minor -'@graphiql/plugin-code-exporter': minor -'graphql-language-service-cli': minor -'@graphiql/plugin-explorer': minor -'graphql-language-service': minor -'codemirror-graphql': minor -'@graphiql/toolkit': minor -'@graphiql/react': minor -'monaco-graphql': minor -'cm6-graphql': minor -'graphiql': minor ---- - -officially deprecate graphql@15 support, as our types and other runtime capabilities ceased to be compatible in 2022 or 2023, but the regression tests were disabled -`graphql-language-service` is where the bug is, which is used by all of the libraries and applications in `graphiql` monorepo. diff --git a/.changeset/strange-knives-hammer.md b/.changeset/strange-knives-hammer.md index 08369aaab3..106640053c 100644 --- a/.changeset/strange-knives-hammer.md +++ b/.changeset/strange-knives-hammer.md @@ -15,4 +15,4 @@ 'vscode-graphql-syntax': patch --- -use latest stable version of graphql 16.9.0 +use latest stable version of graphql 16.9.0 for tests diff --git a/packages/cm6-graphql/package.json b/packages/cm6-graphql/package.json index 1bdadb27d1..fb1aa9b349 100644 --- a/packages/cm6-graphql/package.json +++ b/packages/cm6-graphql/package.json @@ -44,7 +44,7 @@ "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0", - "graphql": "^16.5.0" + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0" }, "license": "MIT" } diff --git a/packages/codemirror-graphql/package.json b/packages/codemirror-graphql/package.json index b45d94408e..efd088dbbd 100644 --- a/packages/codemirror-graphql/package.json +++ b/packages/codemirror-graphql/package.json @@ -40,7 +40,7 @@ "peerDependencies": { "@codemirror/language": "6.0.0", "codemirror": "^5.65.3", - "graphql": "^16.0.0" + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0" }, "// TEMPORARILY PINNED until we fix graphql 15 support": "", "dependencies": { diff --git a/packages/graphiql-plugin-code-exporter/package.json b/packages/graphiql-plugin-code-exporter/package.json index a750ddd171..5636068b19 100644 --- a/packages/graphiql-plugin-code-exporter/package.json +++ b/packages/graphiql-plugin-code-exporter/package.json @@ -34,7 +34,7 @@ }, "peerDependencies": { "@graphiql/react": "^0.26.0", - "graphql": "^16.0.0", + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, diff --git a/packages/graphiql-plugin-explorer/package.json b/packages/graphiql-plugin-explorer/package.json index 5cee6c4bf9..2016e31247 100644 --- a/packages/graphiql-plugin-explorer/package.json +++ b/packages/graphiql-plugin-explorer/package.json @@ -33,7 +33,7 @@ }, "peerDependencies": { "@graphiql/react": "^0.26.0", - "graphql": "^16.0.0", + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, diff --git a/packages/graphiql-react/package.json b/packages/graphiql-react/package.json index 76c4e4b2b9..9fa1548abb 100644 --- a/packages/graphiql-react/package.json +++ b/packages/graphiql-react/package.json @@ -43,7 +43,7 @@ "build": "tsc --emitDeclarationOnly && vite build" }, "peerDependencies": { - "graphql": "^16.0.0", + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, diff --git a/packages/graphiql-toolkit/package.json b/packages/graphiql-toolkit/package.json index aee9a44b3b..881f1205b5 100644 --- a/packages/graphiql-toolkit/package.json +++ b/packages/graphiql-toolkit/package.json @@ -37,7 +37,7 @@ "tsup": "^8.2.4" }, "peerDependencies": { - "graphql": "^16.0.0", + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "graphql-ws": ">= 4.5.0" }, "peerDependenciesMeta": { diff --git a/packages/graphiql/package.json b/packages/graphiql/package.json index ca669ef1da..4c99237926 100644 --- a/packages/graphiql/package.json +++ b/packages/graphiql/package.json @@ -50,7 +50,7 @@ "@graphiql/react": "^0.26.2" }, "peerDependencies": { - "graphql": "^16.0.0", + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, diff --git a/packages/graphql-language-service-cli/package.json b/packages/graphql-language-service-cli/package.json index d6e80afb36..b7010004ff 100644 --- a/packages/graphql-language-service-cli/package.json +++ b/packages/graphql-language-service-cli/package.json @@ -32,7 +32,7 @@ "LSP" ], "peerDependencies": { - "graphql": "^16.0.0" + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0" }, "dependencies": { "@babel/polyfill": "^7.12.1", diff --git a/packages/graphql-language-service/package.json b/packages/graphql-language-service/package.json index d2ae7fcacd..030119aba5 100644 --- a/packages/graphql-language-service/package.json +++ b/packages/graphql-language-service/package.json @@ -32,7 +32,7 @@ "graphql": "./dist/temp-bin.js" }, "peerDependencies": { - "graphql": "^16.0.0" + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0" }, "dependencies": { "debounce-promise": "^3.1.2", diff --git a/packages/monaco-graphql/package.json b/packages/monaco-graphql/package.json index 5fe092c6a6..164da6aab1 100644 --- a/packages/monaco-graphql/package.json +++ b/packages/monaco-graphql/package.json @@ -77,7 +77,7 @@ "vscode-languageserver-types": "^3.17.1" }, "peerDependencies": { - "graphql": "^16.0.0", + "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "monaco-editor": ">= 0.20.0 < 1", "prettier": "^2.8.0 || ^3.0.0" }