From f99322f7c2ba2a41e33722f1ccf23dfc01c36233 Mon Sep 17 00:00:00 2001 From: TheGuildBot <59414373+theguild-bot@users.noreply.github.com> Date: Wed, 8 May 2024 12:11:35 +0300 Subject: [PATCH] Upcoming Release Changes (#3239) Co-authored-by: github-actions[bot] --- ...oga_plugin-prometheus-3251-dependencies.md | 7 - .changeset/big-students-grin.md | 85 ---------- .changeset/graphql-yoga-3237-dependencies.md | 7 - .changeset/smart-melons-beam.md | 6 - benchmark/CHANGELOG.md | 10 ++ benchmark/package.json | 6 +- .../package.json | 4 +- .../apollo-federation/gateway/CHANGELOG.md | 9 ++ .../apollo-federation/gateway/package.json | 4 +- .../apollo-federation/service/CHANGELOG.md | 9 ++ .../apollo-federation/service/package.json | 4 +- examples/aws-lambda/lambda/CHANGELOG.md | 9 ++ examples/aws-lambda/lambda/package.json | 4 +- examples/azure-function/package.json | 2 +- examples/bun/package.json | 2 +- examples/cloudflare-advanced/CHANGELOG.md | 9 ++ examples/cloudflare-advanced/package.json | 4 +- examples/cloudflare-modules/CHANGELOG.md | 9 ++ examples/cloudflare-modules/package.json | 4 +- examples/cookies/package.json | 2 +- examples/defer-stream/package.json | 6 +- examples/error-handling/package.json | 2 +- examples/express-helmet/package.json | 2 +- examples/express/package.json | 2 +- examples/fastify-modules/package.json | 2 +- examples/fastify/package.json | 2 +- .../file-upload-nextjs-pothos/package.json | 2 +- examples/file-upload-nexus/package.json | 2 +- examples/file-upload/package.json | 2 +- examples/firebase/functions/CHANGELOG.md | 9 ++ examples/firebase/functions/package.json | 2 +- examples/gcp-cloud-run/CHANGELOG.md | 9 ++ examples/gcp-cloud-run/package.json | 4 +- examples/gcp-functions/package.json | 2 +- examples/generic-auth/package.json | 2 +- examples/graphql-armor/package.json | 2 +- examples/graphql-sse/package.json | 4 +- examples/graphql-ws/package.json | 2 +- examples/hackernews/package.json | 2 +- examples/hapi/package.json | 2 +- examples/hello-world/package.json | 4 +- examples/issue-template/package.json | 2 +- examples/koa/package.json | 2 +- examples/live-query/package.json | 2 +- .../package.json | 2 +- examples/netlify-edge/package.json | 2 +- examples/nextjs-app/CHANGELOG.md | 9 ++ examples/nextjs-app/package.json | 4 +- examples/nextjs-auth/package.json | 2 +- examples/nextjs-legacy-pages/package.json | 2 +- examples/nextjs-ws/package.json | 2 +- examples/node-esm/package.json | 2 +- examples/node-ts/package.json | 2 +- examples/pothos/package.json | 2 +- examples/redis-pub-sub/package.json | 2 +- examples/request-cancelation/package.json | 2 +- examples/response-cache/package.json | 4 +- examples/service-worker/package.json | 2 +- examples/sofa/package.json | 4 +- examples/subscriptions/package.json | 2 +- examples/sveltekit/package.json | 4 +- examples/uwebsockets/package.json | 2 +- packages/client/apollo-link/CHANGELOG.md | 2 + packages/client/apollo-link/package.json | 4 +- packages/client/urql-exchange/CHANGELOG.md | 2 + packages/client/urql-exchange/package.json | 4 +- packages/graphql-yoga/CHANGELOG.md | 19 +++ packages/graphql-yoga/package.json | 4 +- packages/nestjs-federation/CHANGELOG.md | 8 + packages/nestjs-federation/package.json | 6 +- packages/nestjs/CHANGELOG.md | 9 ++ packages/nestjs/package.json | 6 +- .../plugins/apollo-inline-trace/CHANGELOG.md | 9 ++ .../plugins/apollo-inline-trace/package.json | 6 +- packages/plugins/apq/CHANGELOG.md | 9 ++ packages/plugins/apq/package.json | 6 +- packages/plugins/csrf-prevention/CHANGELOG.md | 9 ++ packages/plugins/csrf-prevention/package.json | 6 +- packages/plugins/defer-stream/CHANGELOG.md | 9 ++ packages/plugins/defer-stream/package.json | 4 +- .../disable-introspection/CHANGELOG.md | 9 ++ .../disable-introspection/package.json | 4 +- packages/plugins/graphql-sse/CHANGELOG.md | 9 ++ packages/plugins/graphql-sse/package.json | 6 +- packages/plugins/jwt/CHANGELOG.md | 9 ++ packages/plugins/jwt/package.json | 4 +- .../plugins/persisted-operations/CHANGELOG.md | 9 ++ .../plugins/persisted-operations/package.json | 6 +- packages/plugins/prometheus/CHANGELOG.md | 101 ++++++++++++ packages/plugins/prometheus/package.json | 4 +- packages/plugins/response-cache/CHANGELOG.md | 9 ++ packages/plugins/response-cache/package.json | 4 +- packages/plugins/sofa/CHANGELOG.md | 9 ++ packages/plugins/sofa/package.json | 4 +- packages/render-graphiql/CHANGELOG.md | 9 ++ packages/render-graphiql/package.json | 4 +- pnpm-lock.yaml | 150 +++++++++--------- 97 files changed, 504 insertions(+), 287 deletions(-) delete mode 100644 .changeset/@graphql-yoga_plugin-prometheus-3251-dependencies.md delete mode 100644 .changeset/big-students-grin.md delete mode 100644 .changeset/graphql-yoga-3237-dependencies.md delete mode 100644 .changeset/smart-melons-beam.md diff --git a/.changeset/@graphql-yoga_plugin-prometheus-3251-dependencies.md b/.changeset/@graphql-yoga_plugin-prometheus-3251-dependencies.md deleted file mode 100644 index ae7d7d6886..0000000000 --- a/.changeset/@graphql-yoga_plugin-prometheus-3251-dependencies.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@graphql-yoga/plugin-prometheus': patch ---- -dependencies updates: - - Updated dependency [`@envelop/prometheus@^10.0.0` - ↗︎](https://www.npmjs.com/package/@envelop/prometheus/v/10.0.0) (from `^9.4.0`, in - `dependencies`) diff --git a/.changeset/big-students-grin.md b/.changeset/big-students-grin.md deleted file mode 100644 index aa83d8bc83..0000000000 --- a/.changeset/big-students-grin.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -'@graphql-yoga/plugin-prometheus': major ---- - -Adds a cache for metrics definition (Summary, Histogram and Counter). - -Fixes an issue preventing this plugin to be initialized multiple times, leading to metrics -duplication error (https://github.com/ardatan/graphql-mesh/issues/6545). - -## Behavior Breaking Change: - -Due to Prometheus client API limitations, a metric is only defined once for a given registry. This -means that if the configuration of the metrics, it will be silently ignored on plugin -re-initialization. - -This is to avoid potential loss of metrics data produced between the plugin re-initialization and -the last pull by the prometheus agent. - -If you need to be sure metrics configuration is up to date after a plugin re-initialization, you can -either: - -- restart the whole node process instead of just recreating a graphql server at runtime -- clear the registry using `registry.clear()` before plugin re-initialization: - ```ts - function usePrometheusWithReset() { - registry.clear() - return usePrometheus({ ... }) - } - ``` -- use a new registry for each plugin instance: - ```ts - function usePrometheusWithRegistry() { - const registry = new Registry() - return usePrometheus({ - registry, - ... - }) - } - ``` - -Keep in mind that this implies potential data loss in pull mode. - -## API Breaking Change: - -To ensure metrics from being registered multiple times on the same registry, the signature of -`createHistogram`, `createSummary` and `createCounter` have been changed to now include the registry -as a mandatory parameter. - -If you were customizing metrics parameters, you will need to update the metric definitions - -```diff -usePrometheus({ - execute: createHistogram({ -+ registry: registry - histogram: new Histogram({ - name: 'my_custom_name', - help: 'HELP ME', - labelNames: ['opText'] as const, -- registers: [registry], - }), - fillLabelsFn: () => {} - }), - requestCount: createCounter({ -+ registry: registry - histogram: new Histogram({ - name: 'my_custom_name', - help: 'HELP ME', - labelNames: ['opText'] as const, -- registers: [registry], - }), - fillLabelsFn: () => {} - }), - requestSummary: createSummary({ -+ registry: registry - histogram: new Histogram({ - name: 'my_custom_name', - help: 'HELP ME', - labelNames: ['opText'] as const, -- registers: [registry], - }), - fillLabelsFn: () => {} - }), -}) -``` - diff --git a/.changeset/graphql-yoga-3237-dependencies.md b/.changeset/graphql-yoga-3237-dependencies.md deleted file mode 100644 index a1df413065..0000000000 --- a/.changeset/graphql-yoga-3237-dependencies.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'graphql-yoga': patch ---- -dependencies updates: - - Updated dependency [`@whatwg-node/server@^0.9.33` - ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.9.33) (from `^0.9.32`, in - `dependencies`) diff --git a/.changeset/smart-melons-beam.md b/.changeset/smart-melons-beam.md deleted file mode 100644 index 6343e33f89..0000000000 --- a/.changeset/smart-melons-beam.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'graphql-yoga': patch ---- - -In such environments like CloudFlare Workers, the `request` object in the context always has the initial request object, so it was impossible to access the actual `Request` object from the execution context. -Now Yoga ensures that the `request` in the context is the same with the actual `Request`. \ No newline at end of file diff --git a/benchmark/CHANGELOG.md b/benchmark/CHANGELOG.md index efd4260fae..606a31aee1 100644 --- a/benchmark/CHANGELOG.md +++ b/benchmark/CHANGELOG.md @@ -1,5 +1,15 @@ # hello-world-benchmark +## 3.5.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + - @graphql-yoga/plugin-response-cache@3.5.1 + ## 3.5.0 ### Patch Changes diff --git a/benchmark/package.json b/benchmark/package.json index 43474b3556..115ee79a05 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "hello-world-benchmark", - "version": "3.5.0", + "version": "3.5.1", "type": "module", "private": true, "scripts": { @@ -14,9 +14,9 @@ "dependencies": { "@envelop/graphql-jit": "8.0.0", "@faker-js/faker": "8.0.2", - "@graphql-yoga/plugin-response-cache": "3.5.0", + "@graphql-yoga/plugin-response-cache": "3.5.1", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "start-server-and-test": "2.0.0" diff --git a/examples/apollo-federation-compatibility/package.json b/examples/apollo-federation-compatibility/package.json index 67f21f9e10..7774cf559f 100644 --- a/examples/apollo-federation-compatibility/package.json +++ b/examples/apollo-federation-compatibility/package.json @@ -14,10 +14,10 @@ }, "dependencies": { "@apollo/subgraph": "^2.4.0", - "@graphql-yoga/plugin-apollo-inline-trace": "3.3.0", + "@graphql-yoga/plugin-apollo-inline-trace": "3.3.1", "graphql": "16.6.0", "graphql-tag": "2.12.6", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@graphql-codegen/cli": "5.0.0", diff --git a/examples/apollo-federation/gateway/CHANGELOG.md b/examples/apollo-federation/gateway/CHANGELOG.md index 3387e89057..327bffebcd 100644 --- a/examples/apollo-federation/gateway/CHANGELOG.md +++ b/examples/apollo-federation/gateway/CHANGELOG.md @@ -1,5 +1,14 @@ # apollo-federation-gateway-with-yoga +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/examples/apollo-federation/gateway/package.json b/examples/apollo-federation/gateway/package.json index 390368b292..67d5b1cf81 100644 --- a/examples/apollo-federation/gateway/package.json +++ b/examples/apollo-federation/gateway/package.json @@ -1,6 +1,6 @@ { "name": "apollo-federation-gateway-with-yoga", - "version": "3.3.0", + "version": "3.3.1", "private": true, "scripts": { "check": "exit 0", @@ -10,6 +10,6 @@ "@apollo/gateway": "2.4.7", "@envelop/apollo-federation": "5.0.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" } } diff --git a/examples/apollo-federation/service/CHANGELOG.md b/examples/apollo-federation/service/CHANGELOG.md index 05484b3893..aedc32ecde 100644 --- a/examples/apollo-federation/service/CHANGELOG.md +++ b/examples/apollo-federation/service/CHANGELOG.md @@ -1,5 +1,14 @@ # apollo-subgraph-with-yoga +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/examples/apollo-federation/service/package.json b/examples/apollo-federation/service/package.json index ae9d9ee617..2fe8185bb4 100644 --- a/examples/apollo-federation/service/package.json +++ b/examples/apollo-federation/service/package.json @@ -1,6 +1,6 @@ { "name": "apollo-subgraph-with-yoga", - "version": "3.3.0", + "version": "3.3.1", "private": true, "scripts": { "check": "exit 0", @@ -9,6 +9,6 @@ "dependencies": { "@apollo/subgraph": "^2.4.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" } } diff --git a/examples/aws-lambda/lambda/CHANGELOG.md b/examples/aws-lambda/lambda/CHANGELOG.md index 1f926e6053..4a89844fc1 100644 --- a/examples/aws-lambda/lambda/CHANGELOG.md +++ b/examples/aws-lambda/lambda/CHANGELOG.md @@ -1,5 +1,14 @@ # graphql-lambda +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/examples/aws-lambda/lambda/package.json b/examples/aws-lambda/lambda/package.json index e168086870..46b64c0185 100644 --- a/examples/aws-lambda/lambda/package.json +++ b/examples/aws-lambda/lambda/package.json @@ -1,6 +1,6 @@ { "name": "graphql-lambda", - "version": "3.3.0", + "version": "3.3.1", "description": "", "author": "", "license": "ISC", @@ -13,6 +13,6 @@ }, "dependencies": { "graphql": "^16.3.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" } } diff --git a/examples/azure-function/package.json b/examples/azure-function/package.json index 6103aa5684..15df84ea98 100644 --- a/examples/azure-function/package.json +++ b/examples/azure-function/package.json @@ -7,7 +7,7 @@ "check": "tsc --pretty --noEmit" }, "dependencies": { - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@azure/functions": "4.0.0", diff --git a/examples/bun/package.json b/examples/bun/package.json index 6f574bbd45..114cef14bf 100644 --- a/examples/bun/package.json +++ b/examples/bun/package.json @@ -9,7 +9,7 @@ "dependencies": { "bun-types": "^1.0.0", "graphql": "^16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@whatwg-node/fetch": "^0.9.17" diff --git a/examples/cloudflare-advanced/CHANGELOG.md b/examples/cloudflare-advanced/CHANGELOG.md index d81ccafedd..467430755a 100644 --- a/examples/cloudflare-advanced/CHANGELOG.md +++ b/examples/cloudflare-advanced/CHANGELOG.md @@ -1,5 +1,14 @@ # cloudflare-advanced +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/examples/cloudflare-advanced/package.json b/examples/cloudflare-advanced/package.json index dccf17e974..e19a32c867 100644 --- a/examples/cloudflare-advanced/package.json +++ b/examples/cloudflare-advanced/package.json @@ -1,6 +1,6 @@ { "name": "cloudflare-advanced", - "version": "3.3.0", + "version": "3.3.1", "private": true, "scripts": { "check": "tsc --pretty --noEmit", @@ -9,7 +9,7 @@ "dependencies": { "@cloudflare/workers-types": "^4.0.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "ts-loader": "9.4.3", diff --git a/examples/cloudflare-modules/CHANGELOG.md b/examples/cloudflare-modules/CHANGELOG.md index a112d76529..c31188b1c2 100644 --- a/examples/cloudflare-modules/CHANGELOG.md +++ b/examples/cloudflare-modules/CHANGELOG.md @@ -1,5 +1,14 @@ # cloudflare +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/examples/cloudflare-modules/package.json b/examples/cloudflare-modules/package.json index 6f4fdf32e5..9b80d636dd 100644 --- a/examples/cloudflare-modules/package.json +++ b/examples/cloudflare-modules/package.json @@ -1,6 +1,6 @@ { "name": "cloudflare", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "private": true, "module": "./dist/index.mjs", @@ -11,7 +11,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@cloudflare/workers-types": "4.20230518.0", diff --git a/examples/cookies/package.json b/examples/cookies/package.json index 94cc2af777..1afb059bee 100644 --- a/examples/cookies/package.json +++ b/examples/cookies/package.json @@ -9,7 +9,7 @@ "dependencies": { "@whatwg-node/server-plugin-cookies": "^1.0.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/defer-stream/package.json b/examples/defer-stream/package.json index 06e222f814..5b0982d06d 100644 --- a/examples/defer-stream/package.json +++ b/examples/defer-stream/package.json @@ -7,10 +7,10 @@ "start": "ts-node src/index.ts" }, "dependencies": { - "@graphql-yoga/plugin-defer-stream": "3.3.0", - "@graphql-yoga/render-graphiql": "5.3.0", + "@graphql-yoga/plugin-defer-stream": "3.3.1", + "@graphql-yoga/render-graphiql": "5.3.1", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "ts-node": "10.9.1", diff --git a/examples/error-handling/package.json b/examples/error-handling/package.json index 0dd3e59bf8..38a3041360 100644 --- a/examples/error-handling/package.json +++ b/examples/error-handling/package.json @@ -9,7 +9,7 @@ "dependencies": { "@whatwg-node/fetch": "^0.9.17", "graphql": "^16.1.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "ts-node": "10.9.1", diff --git a/examples/express-helmet/package.json b/examples/express-helmet/package.json index 426649ee9d..8356ba19c7 100644 --- a/examples/express-helmet/package.json +++ b/examples/express-helmet/package.json @@ -9,7 +9,7 @@ "dependencies": { "@types/express": "^4.17.13", "express": "^4.17.1", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "helmet": "^7.0.0", "supertest": "^6.1.6" }, diff --git a/examples/express/package.json b/examples/express/package.json index 016963c0d7..9f37a395c3 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -9,7 +9,7 @@ "dependencies": { "@types/express": "^4.17.13", "express": "^4.17.1", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "supertest": "^6.1.6" }, "devDependencies": { diff --git a/examples/fastify-modules/package.json b/examples/fastify-modules/package.json index f916961bf9..07d9610e75 100644 --- a/examples/fastify-modules/package.json +++ b/examples/fastify-modules/package.json @@ -11,7 +11,7 @@ "@graphql-tools/load-files": "7.0.0", "fastify": "4.17.0", "graphql-modules": "2.1.2", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "reflect-metadata": "0.1.13" }, "devDependencies": { diff --git a/examples/fastify/package.json b/examples/fastify/package.json index a0aaf5859f..d5631a89e3 100644 --- a/examples/fastify/package.json +++ b/examples/fastify/package.json @@ -9,7 +9,7 @@ "dependencies": { "@whatwg-node/fetch": "^0.9.17", "fastify": "4.17.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "pino-pretty": "10.0.0" }, "devDependencies": { diff --git a/examples/file-upload-nextjs-pothos/package.json b/examples/file-upload-nextjs-pothos/package.json index 07f0addd86..d2cf1812b4 100644 --- a/examples/file-upload-nextjs-pothos/package.json +++ b/examples/file-upload-nextjs-pothos/package.json @@ -12,7 +12,7 @@ "dependencies": { "@pothos/core": "3.30.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "next": "13.4.12", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/file-upload-nexus/package.json b/examples/file-upload-nexus/package.json index 8191483cd4..c76e15f894 100644 --- a/examples/file-upload-nexus/package.json +++ b/examples/file-upload-nexus/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "nexus": "^1.3.0" }, "devDependencies": { diff --git a/examples/file-upload/package.json b/examples/file-upload/package.json index 87d60684b5..d887c45972 100644 --- a/examples/file-upload/package.json +++ b/examples/file-upload/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "ts-node": "10.9.1" }, "devDependencies": { diff --git a/examples/firebase/functions/CHANGELOG.md b/examples/firebase/functions/CHANGELOG.md index f4473d6ebf..0ba602fddb 100644 --- a/examples/firebase/functions/CHANGELOG.md +++ b/examples/firebase/functions/CHANGELOG.md @@ -4,6 +4,15 @@ ### Patch Changes +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + +## null + +### Patch Changes + - Updated dependencies [[`f775b341`](https://github.com/dotansimha/graphql-yoga/commit/f775b341729145cee68747ab966aa9f4a9ea0389), [`f775b341`](https://github.com/dotansimha/graphql-yoga/commit/f775b341729145cee68747ab966aa9f4a9ea0389), diff --git a/examples/firebase/functions/package.json b/examples/firebase/functions/package.json index e32fe814cf..2357cd10c5 100644 --- a/examples/firebase/functions/package.json +++ b/examples/firebase/functions/package.json @@ -15,7 +15,7 @@ "firebase-admin": "^11.5.0", "firebase-functions": "^4.2.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "concurrently": "8.1.0", diff --git a/examples/gcp-cloud-run/CHANGELOG.md b/examples/gcp-cloud-run/CHANGELOG.md index e6b461d2d8..72835493b2 100644 --- a/examples/gcp-cloud-run/CHANGELOG.md +++ b/examples/gcp-cloud-run/CHANGELOG.md @@ -1,5 +1,14 @@ # graphql-yoga-cloud-run-guide +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/examples/gcp-cloud-run/package.json b/examples/gcp-cloud-run/package.json index 0133e7d591..a0000ae7a8 100644 --- a/examples/gcp-cloud-run/package.json +++ b/examples/gcp-cloud-run/package.json @@ -1,6 +1,6 @@ { "name": "graphql-yoga-cloud-run-guide", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "", "author": "", @@ -11,6 +11,6 @@ }, "dependencies": { "graphql": "^16.6.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" } } diff --git a/examples/gcp-functions/package.json b/examples/gcp-functions/package.json index 0bc42afb32..45a44b5115 100644 --- a/examples/gcp-functions/package.json +++ b/examples/gcp-functions/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@google-cloud/functions-framework": "3.2.0", diff --git a/examples/generic-auth/package.json b/examples/generic-auth/package.json index e8ff600c89..251a0f422f 100644 --- a/examples/generic-auth/package.json +++ b/examples/generic-auth/package.json @@ -14,7 +14,7 @@ "dependencies": { "@envelop/generic-auth": "7.0.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/graphql-armor/package.json b/examples/graphql-armor/package.json index 8793a5bfcc..ae6a94ff12 100644 --- a/examples/graphql-armor/package.json +++ b/examples/graphql-armor/package.json @@ -14,7 +14,7 @@ "dependencies": { "@escape.tech/graphql-armor": "2.0.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/graphql-sse/package.json b/examples/graphql-sse/package.json index 4e492ea9ef..43268a2dd7 100644 --- a/examples/graphql-sse/package.json +++ b/examples/graphql-sse/package.json @@ -7,9 +7,9 @@ "start": "ts-node src/index.ts" }, "dependencies": { - "@graphql-yoga/plugin-graphql-sse": "3.3.0", + "@graphql-yoga/plugin-graphql-sse": "3.3.1", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "ts-node": "10.9.1", diff --git a/examples/graphql-ws/package.json b/examples/graphql-ws/package.json index e1968dd49b..0aaa0d72e6 100644 --- a/examples/graphql-ws/package.json +++ b/examples/graphql-ws/package.json @@ -10,7 +10,7 @@ "dependencies": { "graphql": "16.6.0", "graphql-ws": "5.13.1", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "ws": "8.13.0" }, "devDependencies": { diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 168e8d5a5a..3c5f72a153 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@prisma/client": "5.13.0", diff --git a/examples/hapi/package.json b/examples/hapi/package.json index efb14a83e5..f3491b1061 100644 --- a/examples/hapi/package.json +++ b/examples/hapi/package.json @@ -9,7 +9,7 @@ "dependencies": { "@hapi/hapi": "21.3.2", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@whatwg-node/fetch": "^0.9.17", diff --git a/examples/hello-world/package.json b/examples/hello-world/package.json index 71bcdeb11c..8af8162211 100644 --- a/examples/hello-world/package.json +++ b/examples/hello-world/package.json @@ -7,8 +7,8 @@ "start": "node index.js" }, "dependencies": { - "@graphql-yoga/render-graphiql": "5.3.0", + "@graphql-yoga/render-graphiql": "5.3.1", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" } } diff --git a/examples/issue-template/package.json b/examples/issue-template/package.json index 8846b1c356..f8a57b43b6 100644 --- a/examples/issue-template/package.json +++ b/examples/issue-template/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "graphql": "^16.3.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/koa/package.json b/examples/koa/package.json index 98bb7c0137..cda4d5adf4 100644 --- a/examples/koa/package.json +++ b/examples/koa/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@types/koa": "2.13.6", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "koa": "2.14.2", "supertest": "^6.1.6" }, diff --git a/examples/live-query/package.json b/examples/live-query/package.json index 5aaecc0ef0..b9f57583d6 100644 --- a/examples/live-query/package.json +++ b/examples/live-query/package.json @@ -13,7 +13,7 @@ "@n1ru4l/graphql-live-query": "0.10.0", "@n1ru4l/in-memory-live-query-store": "0.10.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "ts-node": "10.9.1", diff --git a/examples/nestjs-apollo-federation-compatibility/package.json b/examples/nestjs-apollo-federation-compatibility/package.json index baec94b7c2..95b6fac4a3 100644 --- a/examples/nestjs-apollo-federation-compatibility/package.json +++ b/examples/nestjs-apollo-federation-compatibility/package.json @@ -9,7 +9,7 @@ "start": "nest start" }, "devDependencies": { - "@graphql-yoga/nestjs-federation": "3.3.0", + "@graphql-yoga/nestjs-federation": "3.3.1", "@grpc/proto-loader": "^0.7.5", "@nestjs/cli": "^10.0.0", "@nestjs/common": "^10.0.0", diff --git a/examples/netlify-edge/package.json b/examples/netlify-edge/package.json index 24e15f12e3..b9404cebd9 100644 --- a/examples/netlify-edge/package.json +++ b/examples/netlify-edge/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "esbuild": "0.17.19", diff --git a/examples/nextjs-app/CHANGELOG.md b/examples/nextjs-app/CHANGELOG.md index 43b57257f3..2f9067dd0c 100644 --- a/examples/nextjs-app/CHANGELOG.md +++ b/examples/nextjs-app/CHANGELOG.md @@ -1,5 +1,14 @@ # nextjs-app +## 2.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 2.3.0 ### Patch Changes diff --git a/examples/nextjs-app/package.json b/examples/nextjs-app/package.json index 3f114906b8..e957aff9ca 100644 --- a/examples/nextjs-app/package.json +++ b/examples/nextjs-app/package.json @@ -1,6 +1,6 @@ { "name": "nextjs-app", - "version": "2.3.0", + "version": "2.3.1", "private": true, "scripts": { "build": "next build", @@ -16,7 +16,7 @@ "eslint": "8.42.0", "eslint-config-next": "13.4.12", "graphql": "^16.1.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "next": "13.4.12", "postcss": "8.4.38", "react": "18.2.0", diff --git a/examples/nextjs-auth/package.json b/examples/nextjs-auth/package.json index 3d8b12028d..8457e3e722 100644 --- a/examples/nextjs-auth/package.json +++ b/examples/nextjs-auth/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "graphql": "^16.1.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "next": "13.4.12", "next-auth": "4.23.2", "react": "18.2.0", diff --git a/examples/nextjs-legacy-pages/package.json b/examples/nextjs-legacy-pages/package.json index 9033ff85c0..6f9ff45081 100644 --- a/examples/nextjs-legacy-pages/package.json +++ b/examples/nextjs-legacy-pages/package.json @@ -13,7 +13,7 @@ "dependencies": { "@types/react": "18.2.8", "graphql": "^16.1.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "next": "13.4.12", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/nextjs-ws/package.json b/examples/nextjs-ws/package.json index b66dbc5eb9..6a54be8144 100644 --- a/examples/nextjs-ws/package.json +++ b/examples/nextjs-ws/package.json @@ -11,7 +11,7 @@ "@types/react": "18.2.8", "graphql": "^16.1.0", "graphql-ws": "^5.11.3", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "next": "13.4.12", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/node-esm/package.json b/examples/node-esm/package.json index 6d4938f3d9..b3f60b00d4 100644 --- a/examples/node-esm/package.json +++ b/examples/node-esm/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "graphql": "^16.3.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" } } diff --git a/examples/node-ts/package.json b/examples/node-ts/package.json index b974c4d4c5..dd567c0054 100644 --- a/examples/node-ts/package.json +++ b/examples/node-ts/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "ts-node": "10.9.1", diff --git a/examples/pothos/package.json b/examples/pothos/package.json index 1f0042815c..5eaa1990fa 100644 --- a/examples/pothos/package.json +++ b/examples/pothos/package.json @@ -9,7 +9,7 @@ "dependencies": { "@pothos/core": "3.30.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/redis-pub-sub/package.json b/examples/redis-pub-sub/package.json index 33a945eeac..4f33dfe4da 100644 --- a/examples/redis-pub-sub/package.json +++ b/examples/redis-pub-sub/package.json @@ -15,7 +15,7 @@ "dependencies": { "@graphql-yoga/redis-event-target": "3.0.0", "graphql": "16.6.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "ioredis": "5.3.2" }, "devDependencies": { diff --git a/examples/request-cancelation/package.json b/examples/request-cancelation/package.json index d97b2dfd3c..1562562957 100644 --- a/examples/request-cancelation/package.json +++ b/examples/request-cancelation/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/response-cache/package.json b/examples/response-cache/package.json index bd011ca535..639dd94e00 100644 --- a/examples/response-cache/package.json +++ b/examples/response-cache/package.json @@ -13,9 +13,9 @@ "start": "ts-node src/main.ts" }, "dependencies": { - "@graphql-yoga/plugin-response-cache": "3.5.0", + "@graphql-yoga/plugin-response-cache": "3.5.1", "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@types/node": "18.16.16", diff --git a/examples/service-worker/package.json b/examples/service-worker/package.json index 5fc8c3223d..8230dc210f 100644 --- a/examples/service-worker/package.json +++ b/examples/service-worker/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "graphql": "16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@whatwg-node/fetch": "^0.9.17", diff --git a/examples/sofa/package.json b/examples/sofa/package.json index efd355d260..83bb3dde0c 100644 --- a/examples/sofa/package.json +++ b/examples/sofa/package.json @@ -7,9 +7,9 @@ "start": "ts-node-dev src/index.ts" }, "dependencies": { - "@graphql-yoga/plugin-sofa": "3.3.0", + "@graphql-yoga/plugin-sofa": "3.3.1", "graphql": "16.6.0", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "ts-node-dev": "2.0.0", "typescript": "5.1.6" } diff --git a/examples/subscriptions/package.json b/examples/subscriptions/package.json index 2826f1e571..7e7d7a5c00 100644 --- a/examples/subscriptions/package.json +++ b/examples/subscriptions/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "graphql": "^16.1.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "devDependencies": { "@graphql-codegen/cli": "5.0.0", diff --git a/examples/sveltekit/package.json b/examples/sveltekit/package.json index f64c50f9e9..d8aa7df358 100644 --- a/examples/sveltekit/package.json +++ b/examples/sveltekit/package.json @@ -37,8 +37,8 @@ }, "dependencies": { "@envelop/graphql-jit": "8.0.0", - "graphql-yoga": "5.3.0", - "@graphql-yoga/render-graphiql": "5.3.0", + "graphql-yoga": "5.3.1", + "@graphql-yoga/render-graphiql": "5.3.1", "graphql": "16.6.0" }, "type": "module" diff --git a/examples/uwebsockets/package.json b/examples/uwebsockets/package.json index 2884bafbf5..31165d37d4 100644 --- a/examples/uwebsockets/package.json +++ b/examples/uwebsockets/package.json @@ -10,7 +10,7 @@ "@types/node": "^18.11.19", "graphql": "^16.6.0", "graphql-ws": "^5.11.3", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "ts-node-dev": "^2.0.0", "typescript": "^5.0.0", "uWebSockets.js": "uNetworking/uWebSockets.js#v20.31.0" diff --git a/packages/client/apollo-link/CHANGELOG.md b/packages/client/apollo-link/CHANGELOG.md index e54543a9a7..d5fb3e336f 100644 --- a/packages/client/apollo-link/CHANGELOG.md +++ b/packages/client/apollo-link/CHANGELOG.md @@ -1,5 +1,7 @@ # @graphql-yoga/apollo-link +## 3.3.1 + ## 3.3.0 ## 3.2.0 diff --git a/packages/client/apollo-link/package.json b/packages/client/apollo-link/package.json index ac77ab635b..1947eae636 100644 --- a/packages/client/apollo-link/package.json +++ b/packages/client/apollo-link/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/apollo-link", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "", "repository": { @@ -53,7 +53,7 @@ }, "devDependencies": { "@apollo/client": "3.7.15", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "publishConfig": { "directory": "dist", diff --git a/packages/client/urql-exchange/CHANGELOG.md b/packages/client/urql-exchange/CHANGELOG.md index ba3f157c41..2e1adb090f 100644 --- a/packages/client/urql-exchange/CHANGELOG.md +++ b/packages/client/urql-exchange/CHANGELOG.md @@ -1,5 +1,7 @@ # @graphql-yoga/urql-exchange +## 3.3.1 + ## 3.3.0 ## 3.2.0 diff --git a/packages/client/urql-exchange/package.json b/packages/client/urql-exchange/package.json index 1c0e4162a3..d9aa992603 100644 --- a/packages/client/urql-exchange/package.json +++ b/packages/client/urql-exchange/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/urql-exchange", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "", "repository": { @@ -54,7 +54,7 @@ }, "devDependencies": { "@urql/core": "4.0.10", - "graphql-yoga": "5.3.0", + "graphql-yoga": "5.3.1", "wonka": "6.3.2" }, "publishConfig": { diff --git a/packages/graphql-yoga/CHANGELOG.md b/packages/graphql-yoga/CHANGELOG.md index d91b75bf60..1c41d20c37 100644 --- a/packages/graphql-yoga/CHANGELOG.md +++ b/packages/graphql-yoga/CHANGELOG.md @@ -1,5 +1,24 @@ # graphql-yoga +## 5.3.1 + +### Patch Changes + +- [#3237](https://github.com/dotansimha/graphql-yoga/pull/3237) + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca) + Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + + - Updated dependency + [`@whatwg-node/server@^0.9.33` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.9.33) + (from `^0.9.32`, in `dependencies`) + +- [#3237](https://github.com/dotansimha/graphql-yoga/pull/3237) + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca) + Thanks [@ardatan](https://github.com/ardatan)! - In such environments like CloudFlare Workers, the + `request` object in the context always has the initial request object, so it was impossible to + access the actual `Request` object from the execution context. Now Yoga ensures that the `request` + in the context is the same with the actual `Request`. + ## 5.3.0 ### Minor Changes diff --git a/packages/graphql-yoga/package.json b/packages/graphql-yoga/package.json index af4b2ec860..479972e1c3 100644 --- a/packages/graphql-yoga/package.json +++ b/packages/graphql-yoga/package.json @@ -1,6 +1,6 @@ { "name": "graphql-yoga", - "version": "5.3.0", + "version": "5.3.1", "type": "module", "description": "", "repository": { @@ -65,7 +65,7 @@ "@envelop/disable-introspection": "6.0.0", "@envelop/graphql-jit": "8.0.0", "@envelop/live-query": "7.0.0", - "@graphql-yoga/render-graphiql": "5.3.0", + "@graphql-yoga/render-graphiql": "5.3.1", "@jest/globals": "^29.2.1", "@n1ru4l/in-memory-live-query-store": "0.10.0", "@repeaterjs/repeater": "^3.0.4", diff --git a/packages/nestjs-federation/CHANGELOG.md b/packages/nestjs-federation/CHANGELOG.md index aa1bd72131..fe247022d4 100644 --- a/packages/nestjs-federation/CHANGELOG.md +++ b/packages/nestjs-federation/CHANGELOG.md @@ -1,5 +1,13 @@ # @graphql-yoga/nestjs-federation +## 3.3.1 + +### Patch Changes + +- Updated dependencies []: + - @graphql-yoga/nestjs@3.3.1 + - @graphql-yoga/plugin-apollo-inline-trace@3.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/nestjs-federation/package.json b/packages/nestjs-federation/package.json index 8227396f3c..c5dc549be1 100644 --- a/packages/nestjs-federation/package.json +++ b/packages/nestjs-federation/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/nestjs-federation", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "GraphQL Yoga driver with Apollo Federation for NestJS GraphQL.", "repository": { @@ -57,8 +57,8 @@ "@apollo/subgraph": "^2.4.0", "@envelop/apollo-federation": "^5.0.0", "@envelop/core": "^5.0.0", - "@graphql-yoga/nestjs": "3.3.0", - "@graphql-yoga/plugin-apollo-inline-trace": "3.3.0" + "@graphql-yoga/nestjs": "3.3.1", + "@graphql-yoga/plugin-apollo-inline-trace": "3.3.1" }, "devDependencies": { "@nestjs/common": "^10.0.0", diff --git a/packages/nestjs/CHANGELOG.md b/packages/nestjs/CHANGELOG.md index 84fb8bf5b6..e4e98c5bfb 100644 --- a/packages/nestjs/CHANGELOG.md +++ b/packages/nestjs/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/nestjs +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/nestjs/package.json b/packages/nestjs/package.json index edc4a02fa2..d0fd19bbeb 100644 --- a/packages/nestjs/package.json +++ b/packages/nestjs/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/nestjs", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "GraphQL Yoga driver for NestJS GraphQL.", "repository": { @@ -49,7 +49,7 @@ "@nestjs/core": "^10.0.0", "@nestjs/graphql": "^12.0.0", "graphql": "^15.0.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "devDependencies": { "@nestjs/common": "^10.0.0", @@ -69,7 +69,7 @@ "graphql": "^16.6.0", "graphql-http": "^1.18.0", "graphql-ws": "^5.11.3", - "graphql-yoga": "^5.3.0", + "graphql-yoga": "^5.3.1", "prettier": "^3.0.0", "reflect-metadata": "^0.1.13", "rxjs": "^7.8.0", diff --git a/packages/plugins/apollo-inline-trace/CHANGELOG.md b/packages/plugins/apollo-inline-trace/CHANGELOG.md index 762dc1a658..5b1ea3aff2 100644 --- a/packages/plugins/apollo-inline-trace/CHANGELOG.md +++ b/packages/plugins/apollo-inline-trace/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-apollo-inline-trace +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/apollo-inline-trace/package.json b/packages/plugins/apollo-inline-trace/package.json index e35aa88315..aac31d81fd 100644 --- a/packages/plugins/apollo-inline-trace/package.json +++ b/packages/plugins/apollo-inline-trace/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-apollo-inline-trace", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "Apollo's federated tracing plugin for GraphQL Yoga.", "repository": { @@ -40,7 +40,7 @@ "@graphql-tools/utils": "^10.0.0", "@whatwg-node/fetch": "^0.9.17", "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "dependencies": { "@envelop/on-resolve": "^4.0.0", @@ -51,7 +51,7 @@ "@envelop/on-resolve": "^4.0.0", "@whatwg-node/fetch": "^0.9.17", "graphql": "^16.6.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "publishConfig": { "directory": "dist", diff --git a/packages/plugins/apq/CHANGELOG.md b/packages/plugins/apq/CHANGELOG.md index d47fe4e8e9..3e6b20566a 100644 --- a/packages/plugins/apq/CHANGELOG.md +++ b/packages/plugins/apq/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-apq +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/apq/package.json b/packages/plugins/apq/package.json index c8a46a7ab3..f3be837a53 100644 --- a/packages/plugins/apq/package.json +++ b/packages/plugins/apq/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-apq", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "APQ plugin for GraphQL Yoga.", "repository": { @@ -38,12 +38,12 @@ }, "peerDependencies": { "@graphql-tools/utils": "^10.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "devDependencies": { "@apollo/client": "3.8.2", "crypto-hash": "3.0.0", - "graphql-yoga": "5.3.0" + "graphql-yoga": "5.3.1" }, "publishConfig": { "directory": "dist", diff --git a/packages/plugins/csrf-prevention/CHANGELOG.md b/packages/plugins/csrf-prevention/CHANGELOG.md index 98194b7286..f7fe285776 100644 --- a/packages/plugins/csrf-prevention/CHANGELOG.md +++ b/packages/plugins/csrf-prevention/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-csrf-prevention +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/csrf-prevention/package.json b/packages/plugins/csrf-prevention/package.json index 48528bfb65..61763ffa88 100644 --- a/packages/plugins/csrf-prevention/package.json +++ b/packages/plugins/csrf-prevention/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-csrf-prevention", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "CSRF prevention plugin for GraphQL Yoga that requires the clients to have a specific header set.", "repository": { @@ -37,10 +37,10 @@ "check": "tsc --pretty --noEmit" }, "peerDependencies": { - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "devDependencies": { - "graphql-yoga": "^5.3.0", + "graphql-yoga": "^5.3.1", "tslib": "^2.5.2" }, "publishConfig": { diff --git a/packages/plugins/defer-stream/CHANGELOG.md b/packages/plugins/defer-stream/CHANGELOG.md index f1657021f4..33ad220e61 100644 --- a/packages/plugins/defer-stream/CHANGELOG.md +++ b/packages/plugins/defer-stream/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-defer-stream +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/defer-stream/package.json b/packages/plugins/defer-stream/package.json index 02c8b7a8a8..d23a26b255 100644 --- a/packages/plugins/defer-stream/package.json +++ b/packages/plugins/defer-stream/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-defer-stream", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "Defer/Stream plugin for GraphQL Yoga.", "repository": { @@ -38,7 +38,7 @@ }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "dependencies": { "@graphql-tools/utils": "^10.0.0" diff --git a/packages/plugins/disable-introspection/CHANGELOG.md b/packages/plugins/disable-introspection/CHANGELOG.md index e4f671cf62..a0a0059149 100644 --- a/packages/plugins/disable-introspection/CHANGELOG.md +++ b/packages/plugins/disable-introspection/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-disable-introspection +## 2.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 2.3.0 ### Patch Changes diff --git a/packages/plugins/disable-introspection/package.json b/packages/plugins/disable-introspection/package.json index 5f250c5a7a..2d3c9b1010 100644 --- a/packages/plugins/disable-introspection/package.json +++ b/packages/plugins/disable-introspection/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-disable-introspection", - "version": "2.3.0", + "version": "2.3.1", "type": "module", "description": "Disable Introspection plugin for GraphQL Yoga.", "repository": { @@ -38,7 +38,7 @@ }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "devDependencies": { "graphql": "^16.6.0", diff --git a/packages/plugins/graphql-sse/CHANGELOG.md b/packages/plugins/graphql-sse/CHANGELOG.md index fc9bf16ebe..70717447f8 100644 --- a/packages/plugins/graphql-sse/CHANGELOG.md +++ b/packages/plugins/graphql-sse/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-graphql-sse +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/graphql-sse/package.json b/packages/plugins/graphql-sse/package.json index 6ef448ed64..20850322ec 100644 --- a/packages/plugins/graphql-sse/package.json +++ b/packages/plugins/graphql-sse/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-graphql-sse", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "GraphQL over Server-Sent Events Protocol plugin for GraphQL Yoga.", "repository": { @@ -38,13 +38,13 @@ }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "dependencies": { "graphql-sse": "^2.0.0" }, "devDependencies": { - "graphql-yoga": "^5.3.0", + "graphql-yoga": "^5.3.1", "tslib": "^2.5.2" }, "publishConfig": { diff --git a/packages/plugins/jwt/CHANGELOG.md b/packages/plugins/jwt/CHANGELOG.md index cda5427153..72d89c9adf 100644 --- a/packages/plugins/jwt/CHANGELOG.md +++ b/packages/plugins/jwt/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-jwt +## 2.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 2.3.0 ### Patch Changes diff --git a/packages/plugins/jwt/package.json b/packages/plugins/jwt/package.json index be51425a0a..d1bdc066e7 100644 --- a/packages/plugins/jwt/package.json +++ b/packages/plugins/jwt/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-jwt", - "version": "2.3.0", + "version": "2.3.1", "type": "module", "description": "jwt plugin for GraphQL Yoga.", "repository": { @@ -38,7 +38,7 @@ }, "peerDependencies": { "graphql": "^16.5.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "dependencies": { "jsonwebtoken": "^9.0.0", diff --git a/packages/plugins/persisted-operations/CHANGELOG.md b/packages/plugins/persisted-operations/CHANGELOG.md index df2730a957..f43ae72e6f 100644 --- a/packages/plugins/persisted-operations/CHANGELOG.md +++ b/packages/plugins/persisted-operations/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-persisted-operations +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/persisted-operations/package.json b/packages/plugins/persisted-operations/package.json index 00f122599b..2fe0fa48ee 100644 --- a/packages/plugins/persisted-operations/package.json +++ b/packages/plugins/persisted-operations/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-persisted-operations", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "Persisted Operations plugin for GraphQL Yoga.", "repository": { @@ -39,11 +39,11 @@ "peerDependencies": { "@graphql-tools/utils": "^10.0.0", "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "devDependencies": { "graphql": "^16.6.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "publishConfig": { "directory": "dist", diff --git a/packages/plugins/prometheus/CHANGELOG.md b/packages/plugins/prometheus/CHANGELOG.md index 8717ada2f3..915ea52280 100644 --- a/packages/plugins/prometheus/CHANGELOG.md +++ b/packages/plugins/prometheus/CHANGELOG.md @@ -1,5 +1,106 @@ # @graphql-yoga/plugin-prometheus +## 5.0.0 + +### Major Changes + +- [#3251](https://github.com/dotansimha/graphql-yoga/pull/3251) + [`a8ddac54`](https://github.com/dotansimha/graphql-yoga/commit/a8ddac54ebee796563d0002d2d09d2a8129499b4) + Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Adds a cache for metrics definition + (Summary, Histogram and Counter). + + Fixes an issue preventing this plugin to be initialized multiple times, leading to metrics + duplication error (https://github.com/ardatan/graphql-mesh/issues/6545). + + ## Behavior Breaking Change: + + Due to Prometheus client API limitations, a metric is only defined once for a given registry. This + means that if the configuration of the metrics, it will be silently ignored on plugin + re-initialization. + + This is to avoid potential loss of metrics data produced between the plugin re-initialization and + the last pull by the prometheus agent. + + If you need to be sure metrics configuration is up to date after a plugin re-initialization, you + can either: + + - restart the whole node process instead of just recreating a graphql server at runtime + - clear the registry using `registry.clear()` before plugin re-initialization: + ```ts + function usePrometheusWithReset() { + registry.clear() + return usePrometheus({ ... }) + } + ``` + - use a new registry for each plugin instance: + ```ts + function usePrometheusWithRegistry() { + const registry = new Registry() + return usePrometheus({ + registry, + ... + }) + } + ``` + + Keep in mind that this implies potential data loss in pull mode. + + ## API Breaking Change: + + To ensure metrics from being registered multiple times on the same registry, the signature of + `createHistogram`, `createSummary` and `createCounter` have been changed to now include the + registry as a mandatory parameter. + + If you were customizing metrics parameters, you will need to update the metric definitions + + ```diff + usePrometheus({ + execute: createHistogram({ + + registry: registry + histogram: new Histogram({ + name: 'my_custom_name', + help: 'HELP ME', + labelNames: ['opText'] as const, + - registers: [registry], + }), + fillLabelsFn: () => {} + }), + requestCount: createCounter({ + + registry: registry + histogram: new Histogram({ + name: 'my_custom_name', + help: 'HELP ME', + labelNames: ['opText'] as const, + - registers: [registry], + }), + fillLabelsFn: () => {} + }), + requestSummary: createSummary({ + + registry: registry + histogram: new Histogram({ + name: 'my_custom_name', + help: 'HELP ME', + labelNames: ['opText'] as const, + - registers: [registry], + }), + fillLabelsFn: () => {} + }), + }) + ``` + +### Patch Changes + +- [#3251](https://github.com/dotansimha/graphql-yoga/pull/3251) + [`a8ddac54`](https://github.com/dotansimha/graphql-yoga/commit/a8ddac54ebee796563d0002d2d09d2a8129499b4) + Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: + - Updated dependency + [`@envelop/prometheus@^10.0.0` ↗︎](https://www.npmjs.com/package/@envelop/prometheus/v/10.0.0) + (from `^9.4.0`, in `dependencies`) +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 4.2.0 ### Patch Changes diff --git a/packages/plugins/prometheus/package.json b/packages/plugins/prometheus/package.json index 36ba46de70..c9fe64c2c3 100644 --- a/packages/plugins/prometheus/package.json +++ b/packages/plugins/prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-prometheus", - "version": "4.2.0", + "version": "5.0.0", "type": "module", "description": "Prometheus plugin for GraphQL Yoga.", "repository": { @@ -38,7 +38,7 @@ }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0", + "graphql-yoga": "^5.3.1", "prom-client": "^15.0.0" }, "dependencies": { diff --git a/packages/plugins/response-cache/CHANGELOG.md b/packages/plugins/response-cache/CHANGELOG.md index d706c4d21a..bb1fa00eaf 100644 --- a/packages/plugins/response-cache/CHANGELOG.md +++ b/packages/plugins/response-cache/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-response-cache +## 3.5.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.5.0 ### Patch Changes diff --git a/packages/plugins/response-cache/package.json b/packages/plugins/response-cache/package.json index 6849481478..64d62a6c8e 100644 --- a/packages/plugins/response-cache/package.json +++ b/packages/plugins/response-cache/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-response-cache", - "version": "3.5.0", + "version": "3.5.1", "type": "module", "description": "", "repository": { @@ -44,7 +44,7 @@ }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "dependencies": { "@envelop/response-cache": "^6.1.2" diff --git a/packages/plugins/sofa/CHANGELOG.md b/packages/plugins/sofa/CHANGELOG.md index f368c0f389..4f65156c70 100644 --- a/packages/plugins/sofa/CHANGELOG.md +++ b/packages/plugins/sofa/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/plugin-sofa +## 3.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 3.3.0 ### Patch Changes diff --git a/packages/plugins/sofa/package.json b/packages/plugins/sofa/package.json index 6911bbb9ad..83f8fdf921 100644 --- a/packages/plugins/sofa/package.json +++ b/packages/plugins/sofa/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-sofa", - "version": "3.3.0", + "version": "3.3.1", "type": "module", "description": "", "repository": { @@ -44,7 +44,7 @@ }, "peerDependencies": { "graphql": "^15.2.0 || ^16.0.0", - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "dependencies": { "sofa-api": "^0.18.0" diff --git a/packages/render-graphiql/CHANGELOG.md b/packages/render-graphiql/CHANGELOG.md index 37d24c48a8..c8c7b74932 100644 --- a/packages/render-graphiql/CHANGELOG.md +++ b/packages/render-graphiql/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-yoga/render-graphiql +## 5.3.1 + +### Patch Changes + +- Updated dependencies + [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), + [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: + - graphql-yoga@5.3.1 + ## 5.3.0 ### Patch Changes diff --git a/packages/render-graphiql/package.json b/packages/render-graphiql/package.json index 66e15b4c14..53b996b243 100644 --- a/packages/render-graphiql/package.json +++ b/packages/render-graphiql/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/render-graphiql", - "version": "5.3.0", + "version": "5.3.1", "type": "module", "description": "", "repository": { @@ -58,7 +58,7 @@ "check": "tsc --pretty --noEmit" }, "peerDependencies": { - "graphql-yoga": "^5.3.0" + "graphql-yoga": "^5.3.1" }, "publishConfig": { "directory": "dist", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fccf87157a..869b2d52f6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -137,13 +137,13 @@ importers: specifier: 8.0.2 version: 8.0.2 '@graphql-yoga/plugin-response-cache': - specifier: 3.5.0 + specifier: 3.5.1 version: link:../packages/plugins/response-cache/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../packages/graphql-yoga/dist devDependencies: start-server-and-test: @@ -199,7 +199,7 @@ importers: specifier: ^2.4.0 version: 2.4.0(graphql@16.6.0) '@graphql-yoga/plugin-apollo-inline-trace': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../../packages/plugins/apollo-inline-trace/dist graphql: specifier: 16.6.0 @@ -208,7 +208,7 @@ importers: specifier: 2.12.6 version: 2.12.6(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@graphql-codegen/cli': @@ -239,7 +239,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../../packages/graphql-yoga/dist examples/apollo-federation/service: @@ -251,7 +251,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../../packages/graphql-yoga/dist examples/aws-lambda: @@ -300,13 +300,13 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../../packages/graphql-yoga/dist examples/azure-function: dependencies: graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@azure/functions': @@ -331,7 +331,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@whatwg-node/fetch': @@ -347,7 +347,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: ts-loader: @@ -369,7 +369,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@cloudflare/workers-types': @@ -394,7 +394,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -413,16 +413,16 @@ importers: examples/defer-stream: dependencies: '@graphql-yoga/plugin-defer-stream': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../../packages/plugins/defer-stream/dist '@graphql-yoga/render-graphiql': - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/render-graphiql/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: ts-node: @@ -443,7 +443,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: ts-node: @@ -462,7 +462,7 @@ importers: specifier: ^4.17.1 version: 4.18.2 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist supertest: specifier: ^6.1.6 @@ -481,7 +481,7 @@ importers: specifier: ^4.17.1 version: 4.18.2 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist helmet: specifier: ^7.0.0 @@ -503,7 +503,7 @@ importers: specifier: 4.17.0 version: 4.17.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist pino-pretty: specifier: 10.0.0 @@ -531,7 +531,7 @@ importers: specifier: 2.1.2 version: 2.1.2(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist reflect-metadata: specifier: 0.1.13 @@ -550,7 +550,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist ts-node: specifier: 10.9.1 @@ -569,7 +569,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist next: specifier: 13.4.12 @@ -603,7 +603,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist nexus: specifier: ^1.3.0 @@ -631,7 +631,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../../packages/graphql-yoga/dist devDependencies: concurrently: @@ -653,7 +653,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../packages/graphql-yoga/dist examples/gcp-functions: @@ -662,7 +662,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@google-cloud/functions-framework': @@ -684,7 +684,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -715,7 +715,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -737,13 +737,13 @@ importers: examples/graphql-sse: dependencies: '@graphql-yoga/plugin-graphql-sse': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../../packages/plugins/graphql-sse/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: ts-node: @@ -762,7 +762,7 @@ importers: specifier: 5.13.1 version: 5.13.1(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist ws: specifier: 8.13.0 @@ -787,7 +787,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@prisma/client': @@ -827,7 +827,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@whatwg-node/fetch': @@ -843,13 +843,13 @@ importers: examples/hello-world: dependencies: '@graphql-yoga/render-graphiql': - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/render-graphiql/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist examples/issue-template: @@ -858,7 +858,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -880,7 +880,7 @@ importers: specifier: 2.13.6 version: 2.13.6 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist koa: specifier: 2.14.2 @@ -914,7 +914,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: ts-node: @@ -930,7 +930,7 @@ importers: examples/nestjs-apollo-federation-compatibility: devDependencies: '@graphql-yoga/nestjs-federation': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../../packages/nestjs-federation '@grpc/proto-loader': specifier: ^0.7.5 @@ -1008,7 +1008,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: esbuild: @@ -1042,7 +1042,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist next: specifier: 13.4.12 @@ -1073,7 +1073,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist next: specifier: 13.4.12 @@ -1113,7 +1113,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist next: specifier: 13.4.12 @@ -1156,7 +1156,7 @@ importers: specifier: ^5.11.3 version: 5.11.3(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist next: specifier: 13.4.12 @@ -1193,7 +1193,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist examples/node-ts: @@ -1202,7 +1202,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: ts-node: @@ -1221,7 +1221,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -1243,7 +1243,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist ioredis: specifier: 5.3.2 @@ -1271,7 +1271,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -1296,13 +1296,13 @@ importers: examples/response-cache: dependencies: '@graphql-yoga/plugin-response-cache': - specifier: 3.5.0 + specifier: 3.5.1 version: link:../../packages/plugins/response-cache/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@types/node': @@ -1330,7 +1330,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@whatwg-node/fetch': @@ -1346,13 +1346,13 @@ importers: examples/sofa: dependencies: '@graphql-yoga/plugin-sofa': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../../packages/plugins/sofa/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist ts-node-dev: specifier: 2.0.0 @@ -1367,7 +1367,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@graphql-codegen/cli': @@ -1392,13 +1392,13 @@ importers: specifier: 8.0.0 version: 8.0.0(@envelop/core@5.0.1)(graphql@16.6.0) '@graphql-yoga/render-graphiql': - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/render-graphiql/dist graphql: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist devDependencies: '@sveltejs/adapter-auto': @@ -1468,7 +1468,7 @@ importers: specifier: ^5.11.3 version: 5.11.3(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../packages/graphql-yoga/dist ts-node-dev: specifier: ^2.0.0 @@ -1509,7 +1509,7 @@ importers: specifier: 3.7.15 version: 3.7.15(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../graphql-yoga/dist publishDirectory: dist @@ -1532,7 +1532,7 @@ importers: specifier: 4.0.10 version: 4.0.10(graphql@16.6.0) graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../graphql-yoga/dist wonka: specifier: 6.3.2 @@ -1658,7 +1658,7 @@ importers: specifier: 7.0.0 version: 7.0.0(@envelop/core@4.0.0)(graphql@16.6.0) '@graphql-yoga/render-graphiql': - specifier: 5.3.0 + specifier: 5.3.1 version: link:../render-graphiql/dist '@jest/globals': specifier: ^29.2.1 @@ -1756,7 +1756,7 @@ importers: specifier: ^5.11.3 version: 5.11.3(graphql@16.6.0) graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../graphql-yoga/dist prettier: specifier: ^3.0.0 @@ -1792,10 +1792,10 @@ importers: specifier: 4.0.0 version: 4.0.0 '@graphql-yoga/nestjs': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../nestjs '@graphql-yoga/plugin-apollo-inline-trace': - specifier: 3.3.0 + specifier: 3.3.1 version: link:../plugins/apollo-inline-trace/dist devDependencies: '@nestjs/common': @@ -1836,7 +1836,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../graphql-yoga/dist publishDirectory: dist @@ -1853,14 +1853,14 @@ importers: specifier: 3.0.0 version: 3.0.0 graphql-yoga: - specifier: 5.3.0 + specifier: 5.3.1 version: link:../../graphql-yoga/dist publishDirectory: dist packages/plugins/csrf-prevention: devDependencies: graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist tslib: specifier: ^2.5.2 @@ -1873,7 +1873,7 @@ importers: specifier: ^10.0.0 version: 10.0.0(graphql@16.6.0) graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist devDependencies: '@graphql-tools/executor-http': @@ -1910,7 +1910,7 @@ importers: version: 2.0.0(graphql@16.6.0) devDependencies: graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist tslib: specifier: ^2.5.2 @@ -1920,7 +1920,7 @@ importers: packages/plugins/jwt: dependencies: graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist jsonwebtoken: specifier: ^9.0.0 @@ -1953,7 +1953,7 @@ importers: specifier: 16.6.0 version: 16.6.0 graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist publishDirectory: dist @@ -1966,7 +1966,7 @@ importers: specifier: ^15.2.0 || ^16.0.0 version: 16.6.0 graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist devDependencies: prom-client: @@ -1980,7 +1980,7 @@ importers: specifier: ^6.1.2 version: 6.1.2(@envelop/core@5.0.1)(graphql@16.6.0) graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist devDependencies: graphql: @@ -1997,7 +1997,7 @@ importers: specifier: ^15.2.0 || ^16.0.0 version: 16.6.0 graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../../graphql-yoga/dist sofa-api: specifier: ^0.18.0 @@ -2007,7 +2007,7 @@ importers: packages/render-graphiql: dependencies: graphql-yoga: - specifier: ^5.3.0 + specifier: ^5.3.1 version: link:../graphql-yoga/dist publishDirectory: dist