From 8839b74944bf6b695218f246fd9429d5883cf459 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 1 Aug 2024 11:27:08 +0000 Subject: [PATCH] Version Packages --- .changeset/eighty-maps-change.md | 20 ------------- .changeset/fifty-swans-care.md | 7 ----- .changeset/gold-numbers-crash.md | 9 ------ .changeset/lazy-beers-confess.md | 5 ---- .changeset/light-geckos-vanish.md | 5 ---- .changeset/seven-scissors-guess.md | 8 ------ .changeset/tidy-fans-reflect.md | 7 ----- examples/graphiql-webpack/package.json | 10 +++---- examples/monaco-graphql-nextjs/package.json | 4 +-- .../monaco-graphql-react-vite/package.json | 6 ++-- examples/monaco-graphql-webpack/package.json | 4 +-- packages/codemirror-graphql/CHANGELOG.md | 9 ++++++ packages/codemirror-graphql/package.json | 4 +-- .../CHANGELOG.md | 11 ++++++++ .../package.json | 6 ++-- .../graphiql-plugin-explorer/CHANGELOG.md | 11 ++++++++ .../graphiql-plugin-explorer/package.json | 6 ++-- packages/graphiql-react/CHANGELOG.md | 17 +++++++++++ packages/graphiql-react/package.json | 8 +++--- packages/graphiql-toolkit/CHANGELOG.md | 6 ++++ packages/graphiql-toolkit/package.json | 2 +- packages/graphiql/CHANGELOG.md | 13 +++++++++ packages/graphiql/package.json | 8 +++--- .../graphql-language-service-cli/CHANGELOG.md | 23 +++++++++++++++ .../graphql-language-service-cli/package.json | 6 ++-- .../CHANGELOG.md | 28 +++++++++++++++++++ .../package.json | 4 +-- .../graphql-language-service/CHANGELOG.md | 6 ++++ .../graphql-language-service/package.json | 2 +- packages/monaco-graphql/CHANGELOG.md | 9 ++++++ packages/monaco-graphql/package.json | 4 +-- packages/vscode-graphql/CHANGELOG.md | 22 +++++++++++++++ packages/vscode-graphql/package.json | 4 +-- 33 files changed, 194 insertions(+), 100 deletions(-) delete mode 100644 .changeset/eighty-maps-change.md delete mode 100644 .changeset/fifty-swans-care.md delete mode 100644 .changeset/gold-numbers-crash.md delete mode 100644 .changeset/lazy-beers-confess.md delete mode 100644 .changeset/light-geckos-vanish.md delete mode 100644 .changeset/seven-scissors-guess.md delete mode 100644 .changeset/tidy-fans-reflect.md diff --git a/.changeset/eighty-maps-change.md b/.changeset/eighty-maps-change.md deleted file mode 100644 index f7c32e9c6ae..00000000000 --- a/.changeset/eighty-maps-change.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'graphql-language-service-server': patch -'graphql-language-service-cli': patch -'vscode-graphql': patch ---- - -**Bugfixes** - -debounce schema change events to fix codegen bugs to fix #3622 - -on mass file changes, network schema is overfetching because the schema cache is now invalidated on every watched schema file change - -to address this, we debounce the new `onSchemaChange` event by 400ms - -note that `schemaCacheTTL` can only be set in extension settings or graphql config at the top level - it will be ignored if configured per-project in the graphql config - -**Code Improvements** - -- Fixes flaky tests, and `schemaCacheTTL` setting not being passed to the cache -- Adds a test to validate network schema changes are reflected in the cache diff --git a/.changeset/fifty-swans-care.md b/.changeset/fifty-swans-care.md deleted file mode 100644 index a43a3692a8e..00000000000 --- a/.changeset/fifty-swans-care.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@graphiql/plugin-code-exporter": patch -"@graphiql/plugin-explorer": patch -"@graphiql/react": minor ---- - -update vite to v5 diff --git a/.changeset/gold-numbers-crash.md b/.changeset/gold-numbers-crash.md deleted file mode 100644 index f29910685ba..00000000000 --- a/.changeset/gold-numbers-crash.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"codemirror-graphql": patch -"@graphiql/react": patch -"graphql-language-service": patch -"graphql-language-service-server": patch -"monaco-graphql": patch ---- - -update eslint plugins and fix errors diff --git a/.changeset/lazy-beers-confess.md b/.changeset/lazy-beers-confess.md deleted file mode 100644 index 4e8fa5d4e65..00000000000 --- a/.changeset/lazy-beers-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"graphiql": minor ---- - -add `className` prop. Additional class names which will be appended to the GraphiQL container element diff --git a/.changeset/light-geckos-vanish.md b/.changeset/light-geckos-vanish.md deleted file mode 100644 index b32bf0e01a3..00000000000 --- a/.changeset/light-geckos-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@graphiql/toolkit": patch ---- - -prefer `localStorage` over `window.localStorage` diff --git a/.changeset/seven-scissors-guess.md b/.changeset/seven-scissors-guess.md deleted file mode 100644 index be242962983..00000000000 --- a/.changeset/seven-scissors-guess.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'graphql-language-service-server': patch ---- - -- switch to using just @astrojs/compiler instead of the more complex "sync" adaptation using workers -- upgrade vue SFC parser to use the new reccomended import from vue package itself -- fix prettier config related to prettier & format on save for parseDocument tests -- fix jest/babel config related to some of the parsers diff --git a/.changeset/tidy-fans-reflect.md b/.changeset/tidy-fans-reflect.md deleted file mode 100644 index 3f08a9261e2..00000000000 --- a/.changeset/tidy-fans-reflect.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@graphiql/plugin-code-exporter": patch -"@graphiql/plugin-explorer": patch -"@graphiql/react": patch ---- - -set `build.minify: false` for cjs/esm builds since minified variable names change every build time diff --git a/examples/graphiql-webpack/package.json b/examples/graphiql-webpack/package.json index 7c7fa22f1fb..f276c54542c 100644 --- a/examples/graphiql-webpack/package.json +++ b/examples/graphiql-webpack/package.json @@ -9,11 +9,11 @@ "start": "NODE_ENV=development webpack-cli serve" }, "dependencies": { - "@graphiql/plugin-code-exporter": "^3.0.4", - "@graphiql/plugin-explorer": "^3.1.0", - "@graphiql/toolkit": "^0.9.1", - "@graphiql/react": "^0.22.4", - "graphiql": "^3.3.2", + "@graphiql/plugin-code-exporter": "^3.0.5", + "@graphiql/plugin-explorer": "^3.1.1", + "@graphiql/toolkit": "^0.9.2", + "@graphiql/react": "^0.23.0", + "graphiql": "^3.4.0", "graphql": "^16.8.1", "graphql-ws": "^5.5.5", "react": "^18.2.0", diff --git a/examples/monaco-graphql-nextjs/package.json b/examples/monaco-graphql-nextjs/package.json index 1c3c7ed64e4..3d7c4dc95f3 100644 --- a/examples/monaco-graphql-nextjs/package.json +++ b/examples/monaco-graphql-nextjs/package.json @@ -9,14 +9,14 @@ "start": "next start" }, "dependencies": { - "@graphiql/toolkit": "^0.9.1", + "@graphiql/toolkit": "^0.9.2", "graphql": "^16.8.1", "graphql-ws": "^5.5.5", "jsonc-parser": "^3.2.0", "marked": "^4.2.12", "monaco-editor": "^0.39.0", "monaco-editor-webpack-plugin": "^7.0.1", - "monaco-graphql": "^1.5.2", + "monaco-graphql": "^1.5.3", "next": "13.4.7", "prettier": "3.3.2", "react": "^18.2.0", diff --git a/examples/monaco-graphql-react-vite/package.json b/examples/monaco-graphql-react-vite/package.json index d535ec3b329..138e60db582 100644 --- a/examples/monaco-graphql-react-vite/package.json +++ b/examples/monaco-graphql-react-vite/package.json @@ -3,12 +3,12 @@ "private": true, "version": "0.0.0", "dependencies": { - "@graphiql/toolkit": "^0.9.1", + "@graphiql/toolkit": "^0.9.2", "graphql": "^16.8.1", - "graphql-language-service": "^5.2.1", + "graphql-language-service": "^5.2.2", "jsonc-parser": "^3.2.0", "monaco-editor": "^0.39.0", - "monaco-graphql": "^1.5.2", + "monaco-graphql": "^1.5.3", "prettier": "3.3.2", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/examples/monaco-graphql-webpack/package.json b/examples/monaco-graphql-webpack/package.json index d42ce071b6e..093c7f662fe 100644 --- a/examples/monaco-graphql-webpack/package.json +++ b/examples/monaco-graphql-webpack/package.json @@ -10,11 +10,11 @@ }, "dependencies": { "graphql": "^16.8.1", - "graphql-language-service": "^5.2.1", + "graphql-language-service": "^5.2.2", "json-schema": "^0.4.0", "jsonc-parser": "^3.2.0", "monaco-editor": "^0.39.0", - "monaco-graphql": "^1.5.2", + "monaco-graphql": "^1.5.3", "prettier": "3.3.2" }, "devDependencies": { diff --git a/packages/codemirror-graphql/CHANGELOG.md b/packages/codemirror-graphql/CHANGELOG.md index 5d9c7a482b8..cc6ddfc8019 100644 --- a/packages/codemirror-graphql/CHANGELOG.md +++ b/packages/codemirror-graphql/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 2.0.13 + +### Patch Changes + +- [#3637](https://github.com/graphql/graphiql/pull/3637) [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update eslint plugins and fix errors + +- Updated dependencies [[`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d)]: + - graphql-language-service@5.2.2 + ## 2.0.12 ### Patch Changes diff --git a/packages/codemirror-graphql/package.json b/packages/codemirror-graphql/package.json index 2d0f1e79f23..23b29225446 100644 --- a/packages/codemirror-graphql/package.json +++ b/packages/codemirror-graphql/package.json @@ -1,6 +1,6 @@ { "name": "codemirror-graphql", - "version": "2.0.12", + "version": "2.0.13", "description": "GraphQL mode and helpers for CodeMirror.", "contributors": [ "Hyohyeon Jeong ", @@ -45,7 +45,7 @@ "// TEMPORARILY PINNED until we fix graphql 15 support": "", "dependencies": { "@types/codemirror": "^0.0.90", - "graphql-language-service": "5.2.1" + "graphql-language-service": "5.2.2" }, "devDependencies": { "@codemirror/language": "^6.0.0", diff --git a/packages/graphiql-plugin-code-exporter/CHANGELOG.md b/packages/graphiql-plugin-code-exporter/CHANGELOG.md index c82a7b3a90e..0cf41978427 100644 --- a/packages/graphiql-plugin-code-exporter/CHANGELOG.md +++ b/packages/graphiql-plugin-code-exporter/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphiql/plugin-code-exporter +## 3.0.5 + +### Patch Changes + +- [#3657](https://github.com/graphql/graphiql/pull/3657) [`5bc7b84`](https://github.com/graphql/graphiql/commit/5bc7b84531b6404553787615d61a5cbcc96c1d6f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update vite to v5 + +- [#3656](https://github.com/graphql/graphiql/pull/3656) [`93c7e9f`](https://github.com/graphql/graphiql/commit/93c7e9fd224cb4f1e9a86b3391efc1e0ef6e1e3f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - set `build.minify: false` for cjs/esm builds since minified variable names change every build time + +- Updated dependencies [[`5bc7b84`](https://github.com/graphql/graphiql/commit/5bc7b84531b6404553787615d61a5cbcc96c1d6f), [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d), [`93c7e9f`](https://github.com/graphql/graphiql/commit/93c7e9fd224cb4f1e9a86b3391efc1e0ef6e1e3f)]: + - @graphiql/react@0.23.0 + ## 3.0.4 ### Patch Changes diff --git a/packages/graphiql-plugin-code-exporter/package.json b/packages/graphiql-plugin-code-exporter/package.json index 6e6b555f37e..18c9e4978de 100644 --- a/packages/graphiql-plugin-code-exporter/package.json +++ b/packages/graphiql-plugin-code-exporter/package.json @@ -1,6 +1,6 @@ { "name": "@graphiql/plugin-code-exporter", - "version": "3.0.4", + "version": "3.0.5", "repository": { "type": "git", "url": "https://github.com/graphql/graphiql", @@ -33,13 +33,13 @@ "graphiql-code-exporter": "^3.0.3" }, "peerDependencies": { - "@graphiql/react": "^0.22.4", + "@graphiql/react": "^0.23.0", "graphql": "^15.5.0 || ^16.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, "devDependencies": { - "@graphiql/react": "^0.22.4", + "@graphiql/react": "^0.23.0", "@vitejs/plugin-react": "^4.3.1", "graphql": "^16.8.1", "postcss-nesting": "^10.1.7", diff --git a/packages/graphiql-plugin-explorer/CHANGELOG.md b/packages/graphiql-plugin-explorer/CHANGELOG.md index 4ba4b13d777..d5dec204346 100644 --- a/packages/graphiql-plugin-explorer/CHANGELOG.md +++ b/packages/graphiql-plugin-explorer/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphiql/plugin-explorer +## 3.1.1 + +### Patch Changes + +- [#3657](https://github.com/graphql/graphiql/pull/3657) [`5bc7b84`](https://github.com/graphql/graphiql/commit/5bc7b84531b6404553787615d61a5cbcc96c1d6f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update vite to v5 + +- [#3656](https://github.com/graphql/graphiql/pull/3656) [`93c7e9f`](https://github.com/graphql/graphiql/commit/93c7e9fd224cb4f1e9a86b3391efc1e0ef6e1e3f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - set `build.minify: false` for cjs/esm builds since minified variable names change every build time + +- Updated dependencies [[`5bc7b84`](https://github.com/graphql/graphiql/commit/5bc7b84531b6404553787615d61a5cbcc96c1d6f), [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d), [`93c7e9f`](https://github.com/graphql/graphiql/commit/93c7e9fd224cb4f1e9a86b3391efc1e0ef6e1e3f)]: + - @graphiql/react@0.23.0 + ## 3.1.0 ### Minor Changes diff --git a/packages/graphiql-plugin-explorer/package.json b/packages/graphiql-plugin-explorer/package.json index e69c18e3fe0..23b148f7c37 100644 --- a/packages/graphiql-plugin-explorer/package.json +++ b/packages/graphiql-plugin-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@graphiql/plugin-explorer", - "version": "3.1.0", + "version": "3.1.1", "repository": { "type": "git", "url": "https://github.com/graphql/graphiql", @@ -32,13 +32,13 @@ "graphiql-explorer": "^0.9.0" }, "peerDependencies": { - "@graphiql/react": "^0.22.4", + "@graphiql/react": "^0.23.0", "graphql": "^15.5.0 || ^16.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, "devDependencies": { - "@graphiql/react": "^0.22.4", + "@graphiql/react": "^0.23.0", "@vitejs/plugin-react": "^4.3.1", "graphql": "^16.8.1", "react": "^18.2.0", diff --git a/packages/graphiql-react/CHANGELOG.md b/packages/graphiql-react/CHANGELOG.md index 63b6185f5a5..af440a09546 100644 --- a/packages/graphiql-react/CHANGELOG.md +++ b/packages/graphiql-react/CHANGELOG.md @@ -1,5 +1,22 @@ # @graphiql/react +## 0.23.0 + +### Minor Changes + +- [#3657](https://github.com/graphql/graphiql/pull/3657) [`5bc7b84`](https://github.com/graphql/graphiql/commit/5bc7b84531b6404553787615d61a5cbcc96c1d6f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update vite to v5 + +### Patch Changes + +- [#3637](https://github.com/graphql/graphiql/pull/3637) [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update eslint plugins and fix errors + +- [#3656](https://github.com/graphql/graphiql/pull/3656) [`93c7e9f`](https://github.com/graphql/graphiql/commit/93c7e9fd224cb4f1e9a86b3391efc1e0ef6e1e3f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - set `build.minify: false` for cjs/esm builds since minified variable names change every build time + +- Updated dependencies [[`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d), [`56c6f45`](https://github.com/graphql/graphiql/commit/56c6f4571dd0dfda307ed11c5afb8c837ad928b0)]: + - codemirror-graphql@2.0.13 + - graphql-language-service@5.2.2 + - @graphiql/toolkit@0.9.2 + ## 0.22.4 ### Patch Changes diff --git a/packages/graphiql-react/package.json b/packages/graphiql-react/package.json index 1a5c98cf822..771393a3308 100644 --- a/packages/graphiql-react/package.json +++ b/packages/graphiql-react/package.json @@ -1,6 +1,6 @@ { "name": "@graphiql/react", - "version": "0.22.4", + "version": "0.23.0", "repository": { "type": "git", "url": "https://github.com/graphql/graphiql", @@ -48,7 +48,7 @@ "react-dom": "^16.8.0 || ^17 || ^18" }, "dependencies": { - "@graphiql/toolkit": "^0.9.1", + "@graphiql/toolkit": "^0.9.2", "@headlessui/react": "^1.7.15", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-dropdown-menu": "^2.0.5", @@ -57,10 +57,10 @@ "@types/codemirror": "^5.60.8", "clsx": "^1.2.1", "codemirror": "^5.65.3", - "codemirror-graphql": "^2.0.12", + "codemirror-graphql": "^2.0.13", "copy-to-clipboard": "^3.2.0", "framer-motion": "^6.5.1", - "graphql-language-service": "^5.2.1", + "graphql-language-service": "^5.2.2", "markdown-it": "^14.1.0", "set-value": "^4.1.0" }, diff --git a/packages/graphiql-toolkit/CHANGELOG.md b/packages/graphiql-toolkit/CHANGELOG.md index a7bbda4b612..b77a7a225cb 100644 --- a/packages/graphiql-toolkit/CHANGELOG.md +++ b/packages/graphiql-toolkit/CHANGELOG.md @@ -1,5 +1,11 @@ # @graphiql/toolkit +## 0.9.2 + +### Patch Changes + +- [#3646](https://github.com/graphql/graphiql/pull/3646) [`56c6f45`](https://github.com/graphql/graphiql/commit/56c6f4571dd0dfda307ed11c5afb8c837ad928b0) Thanks [@dimaMachina](https://github.com/dimaMachina)! - prefer `localStorage` over `window.localStorage` + ## 0.9.1 ### Patch Changes diff --git a/packages/graphiql-toolkit/package.json b/packages/graphiql-toolkit/package.json index 1fc0e2b76a6..20face9b64a 100644 --- a/packages/graphiql-toolkit/package.json +++ b/packages/graphiql-toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@graphiql/toolkit", - "version": "0.9.1", + "version": "0.9.2", "description": "Utility to build a fetcher for GraphiQL", "contributors": [ "Rikki Schulte (https://rikki.dev)" diff --git a/packages/graphiql/CHANGELOG.md b/packages/graphiql/CHANGELOG.md index a4d5333c76b..82b8673ab8d 100644 --- a/packages/graphiql/CHANGELOG.md +++ b/packages/graphiql/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 3.4.0 + +### Minor Changes + +- [#3643](https://github.com/graphql/graphiql/pull/3643) [`82f1ecc`](https://github.com/graphql/graphiql/commit/82f1eccb52e328241cee93389c58154b9f2e8730) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add `className` prop. Additional class names which will be appended to the GraphiQL container element + +### Patch Changes + +- Updated dependencies [[`5bc7b84`](https://github.com/graphql/graphiql/commit/5bc7b84531b6404553787615d61a5cbcc96c1d6f), [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d), [`56c6f45`](https://github.com/graphql/graphiql/commit/56c6f4571dd0dfda307ed11c5afb8c837ad928b0), [`93c7e9f`](https://github.com/graphql/graphiql/commit/93c7e9fd224cb4f1e9a86b3391efc1e0ef6e1e3f)]: + - @graphiql/react@0.23.0 + - graphql-language-service@5.2.2 + - @graphiql/toolkit@0.9.2 + ## 3.3.2 ### Patch Changes diff --git a/packages/graphiql/package.json b/packages/graphiql/package.json index 85f9c0724e1..5ee19603bdd 100644 --- a/packages/graphiql/package.json +++ b/packages/graphiql/package.json @@ -1,6 +1,6 @@ { "name": "graphiql", - "version": "3.3.2", + "version": "3.4.0", "description": "An graphical interactive in-browser GraphQL IDE.", "contributors": [ "Hyohyeon Jeong ", @@ -47,9 +47,9 @@ "webpack": "webpack-cli --config resources/webpack.config.js" }, "dependencies": { - "@graphiql/react": "^0.22.4", - "@graphiql/toolkit": "^0.9.1", - "graphql-language-service": "^5.2.1", + "@graphiql/react": "^0.23.0", + "@graphiql/toolkit": "^0.9.2", + "graphql-language-service": "^5.2.2", "markdown-it": "^14.1.0" }, "peerDependencies": { diff --git a/packages/graphql-language-service-cli/CHANGELOG.md b/packages/graphql-language-service-cli/CHANGELOG.md index bc03e1480a5..9f6043f7742 100644 --- a/packages/graphql-language-service-cli/CHANGELOG.md +++ b/packages/graphql-language-service-cli/CHANGELOG.md @@ -1,5 +1,28 @@ # graphql-language-service-cli +## 3.4.2 + +### Patch Changes + +- [#3647](https://github.com/graphql/graphiql/pull/3647) [`ba5720b`](https://github.com/graphql/graphiql/commit/ba5720b430ed1c888ff64c67aa4b9a36083b9ed0) Thanks [@acao](https://github.com/acao)! - **Bugfixes** + + debounce schema change events to fix codegen bugs to fix #3622 + + on mass file changes, network schema is overfetching because the schema cache is now invalidated on every watched schema file change + + to address this, we debounce the new `onSchemaChange` event by 400ms + + note that `schemaCacheTTL` can only be set in extension settings or graphql config at the top level - it will be ignored if configured per-project in the graphql config + + **Code Improvements** + + - Fixes flaky tests, and `schemaCacheTTL` setting not being passed to the cache + - Adds a test to validate network schema changes are reflected in the cache + +- Updated dependencies [[`ba5720b`](https://github.com/graphql/graphiql/commit/ba5720b430ed1c888ff64c67aa4b9a36083b9ed0), [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d), [`e2c04c7`](https://github.com/graphql/graphiql/commit/e2c04c7c2dc5109ff0446d9a6a010ffdffed1e44)]: + - graphql-language-service-server@2.13.2 + - graphql-language-service@5.2.2 + ## 3.4.1 ### Patch Changes diff --git a/packages/graphql-language-service-cli/package.json b/packages/graphql-language-service-cli/package.json index c8bb60d6f4f..5aa65f3e105 100644 --- a/packages/graphql-language-service-cli/package.json +++ b/packages/graphql-language-service-cli/package.json @@ -1,6 +1,6 @@ { "name": "graphql-language-service-cli", - "version": "3.4.1", + "version": "3.4.2", "description": "An interface for building GraphQL language services for IDEs", "contributors": [ "Hyohyeon Jeong ", @@ -37,8 +37,8 @@ "dependencies": { "@babel/polyfill": "^7.12.1", "@types/yargs": "16.0.5", - "graphql-language-service": "^5.2.1", - "graphql-language-service-server": "^2.13.1", + "graphql-language-service": "^5.2.2", + "graphql-language-service-server": "^2.13.2", "yargs": "^16.2.0" }, "devDependencies": { diff --git a/packages/graphql-language-service-server/CHANGELOG.md b/packages/graphql-language-service-server/CHANGELOG.md index d361148802c..7934a1470cd 100644 --- a/packages/graphql-language-service-server/CHANGELOG.md +++ b/packages/graphql-language-service-server/CHANGELOG.md @@ -1,5 +1,33 @@ # graphql-language-service-server +## 2.13.2 + +### Patch Changes + +- [#3647](https://github.com/graphql/graphiql/pull/3647) [`ba5720b`](https://github.com/graphql/graphiql/commit/ba5720b430ed1c888ff64c67aa4b9a36083b9ed0) Thanks [@acao](https://github.com/acao)! - **Bugfixes** + + debounce schema change events to fix codegen bugs to fix #3622 + + on mass file changes, network schema is overfetching because the schema cache is now invalidated on every watched schema file change + + to address this, we debounce the new `onSchemaChange` event by 400ms + + note that `schemaCacheTTL` can only be set in extension settings or graphql config at the top level - it will be ignored if configured per-project in the graphql config + + **Code Improvements** + + - Fixes flaky tests, and `schemaCacheTTL` setting not being passed to the cache + - Adds a test to validate network schema changes are reflected in the cache + +- [#3637](https://github.com/graphql/graphiql/pull/3637) [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update eslint plugins and fix errors + +- [#3671](https://github.com/graphql/graphiql/pull/3671) [`e2c04c7`](https://github.com/graphql/graphiql/commit/e2c04c7c2dc5109ff0446d9a6a010ffdffed1e44) Thanks [@acao](https://github.com/acao)! - - switch to using just @astrojs/compiler instead of the more complex "sync" adaptation using workers + - upgrade vue SFC parser to use the new reccomended import from vue package itself + - fix prettier config related to prettier & format on save for parseDocument tests + - fix jest/babel config related to some of the parsers +- Updated dependencies [[`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d)]: + - graphql-language-service@5.2.2 + ## 2.13.1 ### Patch Changes diff --git a/packages/graphql-language-service-server/package.json b/packages/graphql-language-service-server/package.json index e11b6f2a220..98d39128804 100644 --- a/packages/graphql-language-service-server/package.json +++ b/packages/graphql-language-service-server/package.json @@ -1,6 +1,6 @@ { "name": "graphql-language-service-server", - "version": "2.13.1", + "version": "2.13.2", "description": "Server process backing the GraphQL Language Service", "contributors": [ "Greg Hurrell (https://greg.hurrell.net/)", @@ -47,7 +47,7 @@ "fast-glob": "^3.2.7", "glob": "^7.2.0", "graphql-config": "5.0.3", - "graphql-language-service": "^5.2.1", + "graphql-language-service": "^5.2.2", "lru-cache": "^10.2.0", "mkdirp": "^1.0.4", "node-abort-controller": "^3.0.1", diff --git a/packages/graphql-language-service/CHANGELOG.md b/packages/graphql-language-service/CHANGELOG.md index 00a9cd70ddf..8bb6d733cfd 100644 --- a/packages/graphql-language-service/CHANGELOG.md +++ b/packages/graphql-language-service/CHANGELOG.md @@ -1,5 +1,11 @@ # graphql-language-service +## 5.2.2 + +### Patch Changes + +- [#3637](https://github.com/graphql/graphiql/pull/3637) [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update eslint plugins and fix errors + ## 5.2.1 ### Patch Changes diff --git a/packages/graphql-language-service/package.json b/packages/graphql-language-service/package.json index 111f91c33b6..ac6b50ff1d3 100644 --- a/packages/graphql-language-service/package.json +++ b/packages/graphql-language-service/package.json @@ -1,6 +1,6 @@ { "name": "graphql-language-service", - "version": "5.2.1", + "version": "5.2.2", "description": "The official, runtime independent Language Service for GraphQL", "contributors": [ "GraphQL Contributors" diff --git a/packages/monaco-graphql/CHANGELOG.md b/packages/monaco-graphql/CHANGELOG.md index 91eefdf320a..3598596e396 100644 --- a/packages/monaco-graphql/CHANGELOG.md +++ b/packages/monaco-graphql/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## 1.5.3 + +### Patch Changes + +- [#3637](https://github.com/graphql/graphiql/pull/3637) [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d) Thanks [@dimaMachina](https://github.com/dimaMachina)! - update eslint plugins and fix errors + +- Updated dependencies [[`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d)]: + - graphql-language-service@5.2.2 + ## 1.5.2 ### Patch Changes diff --git a/packages/monaco-graphql/package.json b/packages/monaco-graphql/package.json index 2e37be371e3..7a08cd9ee81 100644 --- a/packages/monaco-graphql/package.json +++ b/packages/monaco-graphql/package.json @@ -1,7 +1,7 @@ { "name": "monaco-graphql", "description": "full service, official monaco mode for GraphQL", - "version": "1.5.2", + "version": "1.5.3", "license": "MIT", "main": "dist/monaco.contribution.js", "module": "esm/monaco.contribution.js", @@ -66,7 +66,7 @@ "test": "vitest run" }, "dependencies": { - "graphql-language-service": "^5.2.1", + "graphql-language-service": "^5.2.2", "picomatch-browser": "^2.2.6" }, "devDependencies": { diff --git a/packages/vscode-graphql/CHANGELOG.md b/packages/vscode-graphql/CHANGELOG.md index 0ca84f1eb6f..a37233eee8f 100644 --- a/packages/vscode-graphql/CHANGELOG.md +++ b/packages/vscode-graphql/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log +## 0.11.2 + +### Patch Changes + +- [#3647](https://github.com/graphql/graphiql/pull/3647) [`ba5720b`](https://github.com/graphql/graphiql/commit/ba5720b430ed1c888ff64c67aa4b9a36083b9ed0) Thanks [@acao](https://github.com/acao)! - **Bugfixes** + + debounce schema change events to fix codegen bugs to fix #3622 + + on mass file changes, network schema is overfetching because the schema cache is now invalidated on every watched schema file change + + to address this, we debounce the new `onSchemaChange` event by 400ms + + note that `schemaCacheTTL` can only be set in extension settings or graphql config at the top level - it will be ignored if configured per-project in the graphql config + + **Code Improvements** + + - Fixes flaky tests, and `schemaCacheTTL` setting not being passed to the cache + - Adds a test to validate network schema changes are reflected in the cache + +- Updated dependencies [[`ba5720b`](https://github.com/graphql/graphiql/commit/ba5720b430ed1c888ff64c67aa4b9a36083b9ed0), [`fdec377`](https://github.com/graphql/graphiql/commit/fdec377f28ac0d918a219b78dfa2d8f0996ff84d), [`e2c04c7`](https://github.com/graphql/graphiql/commit/e2c04c7c2dc5109ff0446d9a6a010ffdffed1e44)]: + - graphql-language-service-server@2.13.2 + ## 0.11.1 ### Patch Changes diff --git a/packages/vscode-graphql/package.json b/packages/vscode-graphql/package.json index e32a9c81cfb..775e8ca17c9 100644 --- a/packages/vscode-graphql/package.json +++ b/packages/vscode-graphql/package.json @@ -1,6 +1,6 @@ { "name": "vscode-graphql", - "version": "0.11.1", + "version": "0.11.2", "private": true, "license": "MIT", "displayName": "GraphQL: Language Feature Support", @@ -180,7 +180,7 @@ }, "dependencies": { "graphql": "^16.8.1", - "graphql-language-service-server": "^2.13.1", + "graphql-language-service-server": "^2.13.2", "vscode-languageclient": "8.0.2", "typescript": "^5.3.3" }