From c417be8cd7bd4f8a1ed278e3c36b4338ac54685e Mon Sep 17 00:00:00 2001 From: TheGuildBot <59414373+theguild-bot@users.noreply.github.com> Date: Fri, 13 Dec 2024 08:58:38 -0500 Subject: [PATCH] Upcoming Release Changes (#331) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --- ...l-hive_gateway-runtime-322-dependencies.md | 7 -- ...-mesh_transport-common-322-dependencies.md | 9 --- ...graphql-tools_delegate-322-dependencies.md | 7 -- ...ql-tools_executor-http-322-dependencies.md | 7 -- .changeset/late-socks-repeat.md | 5 -- .changeset/witty-candles-whisper.md | 50 -------------- packages/abort-signal-any/CHANGELOG.md | 7 ++ packages/abort-signal-any/package.json | 2 +- packages/batch-delegate/CHANGELOG.md | 7 ++ packages/batch-delegate/package.json | 2 +- packages/delegate/CHANGELOG.md | 8 +++ packages/delegate/package.json | 2 +- packages/executors/http/CHANGELOG.md | 11 +++ packages/executors/http/package.json | 2 +- packages/federation/CHANGELOG.md | 10 +++ packages/federation/package.json | 2 +- packages/fusion-runtime/CHANGELOG.md | 12 ++++ packages/fusion-runtime/package.json | 2 +- packages/gateway/CHANGELOG.md | 61 +++++++++++++++++ packages/gateway/package.json | 2 +- .../hmac-upstream-signature/CHANGELOG.md | 7 ++ .../hmac-upstream-signature/package.json | 2 +- packages/plugins/opentelemetry/CHANGELOG.md | 8 +++ packages/plugins/opentelemetry/package.json | 2 +- packages/plugins/prometheus/CHANGELOG.md | 7 ++ packages/plugins/prometheus/package.json | 2 +- packages/runtime/CHANGELOG.md | 68 +++++++++++++++++++ packages/runtime/package.json | 2 +- packages/stitch/CHANGELOG.md | 9 +++ packages/stitch/package.json | 2 +- packages/stitching-directives/CHANGELOG.md | 7 ++ packages/stitching-directives/package.json | 2 +- packages/transports/common/CHANGELOG.md | 13 ++++ packages/transports/common/package.json | 2 +- .../transports/http-callback/CHANGELOG.md | 7 ++ .../transports/http-callback/package.json | 2 +- packages/transports/http/CHANGELOG.md | 8 +++ packages/transports/http/package.json | 2 +- packages/transports/ws/CHANGELOG.md | 7 ++ packages/transports/ws/package.json | 2 +- packages/wrap/CHANGELOG.md | 7 ++ packages/wrap/package.json | 2 +- 42 files changed, 282 insertions(+), 103 deletions(-) delete mode 100644 .changeset/@graphql-hive_gateway-runtime-322-dependencies.md delete mode 100644 .changeset/@graphql-mesh_transport-common-322-dependencies.md delete mode 100644 .changeset/@graphql-tools_delegate-322-dependencies.md delete mode 100644 .changeset/@graphql-tools_executor-http-322-dependencies.md delete mode 100644 .changeset/late-socks-repeat.md delete mode 100644 .changeset/witty-candles-whisper.md create mode 100644 packages/abort-signal-any/CHANGELOG.md diff --git a/.changeset/@graphql-hive_gateway-runtime-322-dependencies.md b/.changeset/@graphql-hive_gateway-runtime-322-dependencies.md deleted file mode 100644 index bb357f90..00000000 --- a/.changeset/@graphql-hive_gateway-runtime-322-dependencies.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@graphql-hive/gateway-runtime': patch ---- - -dependencies updates: - -- Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`) diff --git a/.changeset/@graphql-mesh_transport-common-322-dependencies.md b/.changeset/@graphql-mesh_transport-common-322-dependencies.md deleted file mode 100644 index ab63d3e0..00000000 --- a/.changeset/@graphql-mesh_transport-common-322-dependencies.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@graphql-mesh/transport-common': patch ---- - -dependencies updates: - -- Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`) -- Added dependency [`@graphql-tools/executor@^1.3.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.3.8) (to `dependencies`) -- Removed dependency [`@graphql-tools/delegate@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/workspace:^) (from `dependencies`) diff --git a/.changeset/@graphql-tools_delegate-322-dependencies.md b/.changeset/@graphql-tools_delegate-322-dependencies.md deleted file mode 100644 index 7789217a..00000000 --- a/.changeset/@graphql-tools_delegate-322-dependencies.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@graphql-tools/delegate': patch ---- - -dependencies updates: - -- Updated dependency [`@graphql-tools/executor@^1.3.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.3.8) (from `^1.3.6`, in `dependencies`) diff --git a/.changeset/@graphql-tools_executor-http-322-dependencies.md b/.changeset/@graphql-tools_executor-http-322-dependencies.md deleted file mode 100644 index ab31d131..00000000 --- a/.changeset/@graphql-tools_executor-http-322-dependencies.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@graphql-tools/executor-http': patch ---- - -dependencies updates: - -- Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`) diff --git a/.changeset/late-socks-repeat.md b/.changeset/late-socks-repeat.md deleted file mode 100644 index 065bd647..00000000 --- a/.changeset/late-socks-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-hive/gateway-abort-signal-any': patch ---- - -New package diff --git a/.changeset/witty-candles-whisper.md b/.changeset/witty-candles-whisper.md deleted file mode 100644 index 70de30d7..00000000 --- a/.changeset/witty-candles-whisper.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -'@graphql-hive/gateway-runtime': minor -'@graphql-hive/gateway': minor ---- - -New Retry and Timeout plugins; - -- Retry plugin: Retry a request if it fails - -It respects the `Retry-After` HTTP header, [See more about this HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After) - -```ts -export const gatewayConfig = defineConfig({ - upstreamRetry: { - // The maximum number of retries to attempt. - maxRetries: 3, // required - // The delay between retries in milliseconds. - retryDelay: 1000, // default - /** - * A function that determines whether a response should be retried. - * If the upstream returns `Retry-After` header, the request will be retried. - */ - shouldRetry: ({ response }) => response?.status >= 500 || response?.status === 429 - } - // or you can configure it by subgraph name - upstreamRetry({ subgraphName }) { - if (subgraphName === 'my-rate-limited-subgraph') { - return { - maxRetries: 3, - } - } - return { maxRetries: 10 } - } -}) -``` - -- Timeout plugin: Timeout a request if it takes too long - -```ts -export const gatewayConfig = defineConfig({ - // The maximum time in milliseconds to wait for a response from the upstream. - upstreamTimeout: 1000, // required - // or you can configure it by subgraph name - upstreamTimeout({ subgraphName }) { - if (subgraphName === 'my-slow-subgraph') { - return 1000; - } - } -}) -``` diff --git a/packages/abort-signal-any/CHANGELOG.md b/packages/abort-signal-any/CHANGELOG.md new file mode 100644 index 00000000..5e8d73aa --- /dev/null +++ b/packages/abort-signal-any/CHANGELOG.md @@ -0,0 +1,7 @@ +# @graphql-hive/gateway-abort-signal-any + +## 0.0.1 + +### Patch Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - New package diff --git a/packages/abort-signal-any/package.json b/packages/abort-signal-any/package.json index a1a79041..1de74511 100644 --- a/packages/abort-signal-any/package.json +++ b/packages/abort-signal-any/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/gateway-abort-signal-any", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "repository": { "type": "git", diff --git a/packages/batch-delegate/CHANGELOG.md b/packages/batch-delegate/CHANGELOG.md index e81b16b7..3075b2c1 100644 --- a/packages/batch-delegate/CHANGELOG.md +++ b/packages/batch-delegate/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-tools/batch-delegate +## 9.0.24 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-tools/delegate@10.2.8 + ## 9.0.23 ### Patch Changes diff --git a/packages/batch-delegate/package.json b/packages/batch-delegate/package.json index 91fdbb73..bd359703 100644 --- a/packages/batch-delegate/package.json +++ b/packages/batch-delegate/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/batch-delegate", - "version": "9.0.23", + "version": "9.0.24", "type": "module", "description": "A set of utils for faster development of GraphQL tools", "repository": { diff --git a/packages/delegate/CHANGELOG.md b/packages/delegate/CHANGELOG.md index 2bb1cf07..7d84bcd2 100644 --- a/packages/delegate/CHANGELOG.md +++ b/packages/delegate/CHANGELOG.md @@ -1,5 +1,13 @@ # @graphql-tools/delegate +## 10.2.8 + +### Patch Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + + - Updated dependency [`@graphql-tools/executor@^1.3.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.3.8) (from `^1.3.6`, in `dependencies`) + ## 10.2.7 ### Patch Changes diff --git a/packages/delegate/package.json b/packages/delegate/package.json index ac2effd6..7d891dda 100644 --- a/packages/delegate/package.json +++ b/packages/delegate/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/delegate", - "version": "10.2.7", + "version": "10.2.8", "type": "module", "description": "A set of utils for faster development of GraphQL tools", "repository": { diff --git a/packages/executors/http/CHANGELOG.md b/packages/executors/http/CHANGELOG.md index 72a738b9..2c01b7f7 100644 --- a/packages/executors/http/CHANGELOG.md +++ b/packages/executors/http/CHANGELOG.md @@ -1,5 +1,16 @@ # @graphql-tools/executor-http +## 1.2.1 + +### Patch Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + + - Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`) + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-hive/gateway-abort-signal-any@0.0.1 + ## 1.2.0 ### Minor Changes diff --git a/packages/executors/http/package.json b/packages/executors/http/package.json index e1984381..5c2cbe0a 100644 --- a/packages/executors/http/package.json +++ b/packages/executors/http/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/executor-http", - "version": "1.2.0", + "version": "1.2.1", "type": "module", "description": "A set of utils for faster development of GraphQL tools", "repository": { diff --git a/packages/federation/CHANGELOG.md b/packages/federation/CHANGELOG.md index 88e3753c..38bc63b0 100644 --- a/packages/federation/CHANGELOG.md +++ b/packages/federation/CHANGELOG.md @@ -1,5 +1,15 @@ # @graphql-tools/federation +## 3.0.2 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-tools/delegate@10.2.8 + - @graphql-tools/executor-http@1.2.1 + - @graphql-tools/stitch@9.4.10 + - @graphql-tools/wrap@10.0.26 + ## 3.0.1 ### Patch Changes diff --git a/packages/federation/package.json b/packages/federation/package.json index f7a6c79e..f3a20713 100644 --- a/packages/federation/package.json +++ b/packages/federation/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/federation", - "version": "3.0.1", + "version": "3.0.2", "type": "module", "description": "Useful tools to create and manipulate GraphQL schemas.", "repository": { diff --git a/packages/fusion-runtime/CHANGELOG.md b/packages/fusion-runtime/CHANGELOG.md index c3116a86..25333d24 100644 --- a/packages/fusion-runtime/CHANGELOG.md +++ b/packages/fusion-runtime/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-mesh/fusion-runtime +## 0.10.21 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-mesh/transport-common@0.7.23 + - @graphql-tools/delegate@10.2.8 + - @graphql-tools/federation@3.0.2 + - @graphql-tools/stitch@9.4.10 + - @graphql-tools/stitching-directives@3.1.23 + - @graphql-tools/wrap@10.0.26 + ## 0.10.20 ### Patch Changes diff --git a/packages/fusion-runtime/package.json b/packages/fusion-runtime/package.json index 3eb767f3..61e647ff 100644 --- a/packages/fusion-runtime/package.json +++ b/packages/fusion-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/fusion-runtime", - "version": "0.10.20", + "version": "0.10.21", "type": "module", "description": "Runtime for GraphQL Mesh Fusion Supergraph", "repository": { diff --git a/packages/gateway/CHANGELOG.md b/packages/gateway/CHANGELOG.md index 4aa0da7f..f91b8bbe 100644 --- a/packages/gateway/CHANGELOG.md +++ b/packages/gateway/CHANGELOG.md @@ -1,5 +1,66 @@ # @graphql-hive/gateway +## 1.7.0 + +### Minor Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - New Retry and Timeout plugins; + + - Retry plugin: Retry a request if it fails + + It respects the `Retry-After` HTTP header, [See more about this HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After) + + ```ts + export const gatewayConfig = defineConfig({ + upstreamRetry: { + // The maximum number of retries to attempt. + maxRetries: 3, // required + // The delay between retries in milliseconds. + retryDelay: 1000, // default + /** + * A function that determines whether a response should be retried. + * If the upstream returns `Retry-After` header, the request will be retried. + */ + shouldRetry: ({ response }) => response?.status >= 500 || response?.status === 429 + } + // or you can configure it by subgraph name + upstreamRetry({ subgraphName }) { + if (subgraphName === 'my-rate-limited-subgraph') { + return { + maxRetries: 3, + } + } + return { maxRetries: 10 } + } + }) + ``` + + - Timeout plugin: Timeout a request if it takes too long + + ```ts + export const gatewayConfig = defineConfig({ + // The maximum time in milliseconds to wait for a response from the upstream. + upstreamTimeout: 1000, // required + // or you can configure it by subgraph name + upstreamTimeout({ subgraphName }) { + if (subgraphName === 'my-slow-subgraph') { + return 1000; + } + }, + }); + ``` + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-hive/gateway-runtime@1.4.0 + - @graphql-mesh/plugin-opentelemetry@1.3.28 + - @graphql-mesh/plugin-prometheus@1.3.16 + - @graphql-mesh/hmac-upstream-signature@1.2.17 + - @graphql-mesh/transport-http@0.6.27 + - @graphql-mesh/transport-http-callback@0.5.14 + - @graphql-mesh/transport-ws@0.4.12 + ## 1.6.8 ### Patch Changes diff --git a/packages/gateway/package.json b/packages/gateway/package.json index a4129e95..f21c37c2 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/gateway", - "version": "1.6.8", + "version": "1.7.0", "type": "module", "repository": { "type": "git", diff --git a/packages/plugins/hmac-upstream-signature/CHANGELOG.md b/packages/plugins/hmac-upstream-signature/CHANGELOG.md index 6a92c748..8eb6c3c4 100644 --- a/packages/plugins/hmac-upstream-signature/CHANGELOG.md +++ b/packages/plugins/hmac-upstream-signature/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/hmac-upstream-signature +## 1.2.17 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-mesh/transport-common@0.7.23 + ## 1.2.16 ### Patch Changes diff --git a/packages/plugins/hmac-upstream-signature/package.json b/packages/plugins/hmac-upstream-signature/package.json index 137a0551..a998bbb7 100644 --- a/packages/plugins/hmac-upstream-signature/package.json +++ b/packages/plugins/hmac-upstream-signature/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/hmac-upstream-signature", - "version": "1.2.16", + "version": "1.2.17", "type": "module", "repository": { "type": "git", diff --git a/packages/plugins/opentelemetry/CHANGELOG.md b/packages/plugins/opentelemetry/CHANGELOG.md index 1e0bfc51..28a513b0 100644 --- a/packages/plugins/opentelemetry/CHANGELOG.md +++ b/packages/plugins/opentelemetry/CHANGELOG.md @@ -1,5 +1,13 @@ # @graphql-mesh/plugin-opentelemetry +## 1.3.28 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-hive/gateway-runtime@1.4.0 + - @graphql-mesh/transport-common@0.7.23 + ## 1.3.27 ### Patch Changes diff --git a/packages/plugins/opentelemetry/package.json b/packages/plugins/opentelemetry/package.json index 92d42e4f..14d040b2 100644 --- a/packages/plugins/opentelemetry/package.json +++ b/packages/plugins/opentelemetry/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/plugin-opentelemetry", - "version": "1.3.27", + "version": "1.3.28", "type": "module", "repository": { "type": "git", diff --git a/packages/plugins/prometheus/CHANGELOG.md b/packages/plugins/prometheus/CHANGELOG.md index 1e8b21eb..f268d56c 100644 --- a/packages/plugins/prometheus/CHANGELOG.md +++ b/packages/plugins/prometheus/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/plugin-prometheus +## 1.3.16 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-hive/gateway-runtime@1.4.0 + ## 1.3.15 ### Patch Changes diff --git a/packages/plugins/prometheus/package.json b/packages/plugins/prometheus/package.json index 3f805804..2e8c611f 100644 --- a/packages/plugins/prometheus/package.json +++ b/packages/plugins/prometheus/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/plugin-prometheus", - "version": "1.3.15", + "version": "1.3.16", "type": "module", "repository": { "type": "git", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index b03cab67..85bda864 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,73 @@ # @graphql-hive/gateway-runtime +## 1.4.0 + +### Minor Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - New Retry and Timeout plugins; + + - Retry plugin: Retry a request if it fails + + It respects the `Retry-After` HTTP header, [See more about this HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After) + + ```ts + export const gatewayConfig = defineConfig({ + upstreamRetry: { + // The maximum number of retries to attempt. + maxRetries: 3, // required + // The delay between retries in milliseconds. + retryDelay: 1000, // default + /** + * A function that determines whether a response should be retried. + * If the upstream returns `Retry-After` header, the request will be retried. + */ + shouldRetry: ({ response }) => response?.status >= 500 || response?.status === 429 + } + // or you can configure it by subgraph name + upstreamRetry({ subgraphName }) { + if (subgraphName === 'my-rate-limited-subgraph') { + return { + maxRetries: 3, + } + } + return { maxRetries: 10 } + } + }) + ``` + + - Timeout plugin: Timeout a request if it takes too long + + ```ts + export const gatewayConfig = defineConfig({ + // The maximum time in milliseconds to wait for a response from the upstream. + upstreamTimeout: 1000, // required + // or you can configure it by subgraph name + upstreamTimeout({ subgraphName }) { + if (subgraphName === 'my-slow-subgraph') { + return 1000; + } + }, + }); + ``` + +### Patch Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + + - Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`) + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-mesh/transport-common@0.7.23 + - @graphql-tools/delegate@10.2.8 + - @graphql-tools/executor-http@1.2.1 + - @graphql-hive/gateway-abort-signal-any@0.0.1 + - @graphql-mesh/fusion-runtime@0.10.21 + - @graphql-mesh/hmac-upstream-signature@1.2.17 + - @graphql-tools/batch-delegate@9.0.24 + - @graphql-tools/federation@3.0.2 + - @graphql-tools/stitch@9.4.10 + - @graphql-tools/wrap@10.0.26 + ## 1.3.15 ### Patch Changes diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 0e34b815..c7354ab9 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-hive/gateway-runtime", - "version": "1.3.15", + "version": "1.4.0", "type": "module", "repository": { "type": "git", diff --git a/packages/stitch/CHANGELOG.md b/packages/stitch/CHANGELOG.md index cec6b21e..9e67c572 100644 --- a/packages/stitch/CHANGELOG.md +++ b/packages/stitch/CHANGELOG.md @@ -1,5 +1,14 @@ # @graphql-tools/stitch +## 9.4.10 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-tools/delegate@10.2.8 + - @graphql-tools/batch-delegate@9.0.24 + - @graphql-tools/wrap@10.0.26 + ## 9.4.9 ### Patch Changes diff --git a/packages/stitch/package.json b/packages/stitch/package.json index 6a1d0e4f..4644dfa6 100644 --- a/packages/stitch/package.json +++ b/packages/stitch/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/stitch", - "version": "9.4.9", + "version": "9.4.10", "type": "module", "description": "A set of utils for faster development of GraphQL tools", "repository": { diff --git a/packages/stitching-directives/CHANGELOG.md b/packages/stitching-directives/CHANGELOG.md index 7d55a263..3ca1f6fe 100644 --- a/packages/stitching-directives/CHANGELOG.md +++ b/packages/stitching-directives/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-tools/stitching-directives +## 3.1.23 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-tools/delegate@10.2.8 + ## 3.1.22 ### Patch Changes diff --git a/packages/stitching-directives/package.json b/packages/stitching-directives/package.json index 27515555..9f8c5914 100644 --- a/packages/stitching-directives/package.json +++ b/packages/stitching-directives/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/stitching-directives", - "version": "3.1.22", + "version": "3.1.23", "type": "module", "description": "A set of utils for faster development of GraphQL tools", "repository": { diff --git a/packages/transports/common/CHANGELOG.md b/packages/transports/common/CHANGELOG.md index dc1d8b59..2b69542c 100644 --- a/packages/transports/common/CHANGELOG.md +++ b/packages/transports/common/CHANGELOG.md @@ -1,5 +1,18 @@ # @graphql-mesh/transport-common +## 0.7.23 + +### Patch Changes + +- [#322](https://github.com/graphql-hive/gateway/pull/322) [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: + + - Added dependency [`@graphql-hive/gateway-abort-signal-any@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/gateway-abort-signal-any/v/workspace:^) (to `dependencies`) + - Added dependency [`@graphql-tools/executor@^1.3.8` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.3.8) (to `dependencies`) + - Removed dependency [`@graphql-tools/delegate@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/workspace:^) (from `dependencies`) + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-hive/gateway-abort-signal-any@0.0.1 + ## 0.7.22 ### Patch Changes diff --git a/packages/transports/common/package.json b/packages/transports/common/package.json index 965e869b..188113f6 100644 --- a/packages/transports/common/package.json +++ b/packages/transports/common/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/transport-common", - "version": "0.7.22", + "version": "0.7.23", "type": "module", "repository": { "type": "git", diff --git a/packages/transports/http-callback/CHANGELOG.md b/packages/transports/http-callback/CHANGELOG.md index aeaeabf8..66a96498 100644 --- a/packages/transports/http-callback/CHANGELOG.md +++ b/packages/transports/http-callback/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/transport-http-callback +## 0.5.14 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-mesh/transport-common@0.7.23 + ## 0.5.13 ### Patch Changes diff --git a/packages/transports/http-callback/package.json b/packages/transports/http-callback/package.json index ab39a298..0f45d371 100644 --- a/packages/transports/http-callback/package.json +++ b/packages/transports/http-callback/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/transport-http-callback", - "version": "0.5.13", + "version": "0.5.14", "type": "module", "repository": { "type": "git", diff --git a/packages/transports/http/CHANGELOG.md b/packages/transports/http/CHANGELOG.md index 5d4d5377..371f8d1e 100644 --- a/packages/transports/http/CHANGELOG.md +++ b/packages/transports/http/CHANGELOG.md @@ -1,5 +1,13 @@ # @graphql-mesh/transport-http +## 0.6.27 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2), [`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-mesh/transport-common@0.7.23 + - @graphql-tools/executor-http@1.2.1 + ## 0.6.26 ### Patch Changes diff --git a/packages/transports/http/package.json b/packages/transports/http/package.json index 247b1982..0e0440a3 100644 --- a/packages/transports/http/package.json +++ b/packages/transports/http/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/transport-http", - "version": "0.6.26", + "version": "0.6.27", "type": "module", "repository": { "type": "git", diff --git a/packages/transports/ws/CHANGELOG.md b/packages/transports/ws/CHANGELOG.md index d48262df..6805aab5 100644 --- a/packages/transports/ws/CHANGELOG.md +++ b/packages/transports/ws/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-mesh/transport-ws +## 0.4.12 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-mesh/transport-common@0.7.23 + ## 0.4.11 ### Patch Changes diff --git a/packages/transports/ws/package.json b/packages/transports/ws/package.json index 880d06ce..a8330779 100644 --- a/packages/transports/ws/package.json +++ b/packages/transports/ws/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-mesh/transport-ws", - "version": "0.4.11", + "version": "0.4.12", "type": "module", "repository": { "type": "git", diff --git a/packages/wrap/CHANGELOG.md b/packages/wrap/CHANGELOG.md index 517f54f6..9be70c94 100644 --- a/packages/wrap/CHANGELOG.md +++ b/packages/wrap/CHANGELOG.md @@ -1,5 +1,12 @@ # @graphql-tools/wrap +## 10.0.26 + +### Patch Changes + +- Updated dependencies [[`23b8987`](https://github.com/graphql-hive/gateway/commit/23b89874fcf10b4cb6b1b941f29fa5f5aecf0ef2)]: + - @graphql-tools/delegate@10.2.8 + ## 10.0.25 ### Patch Changes diff --git a/packages/wrap/package.json b/packages/wrap/package.json index ed2a8da5..f8945616 100644 --- a/packages/wrap/package.json +++ b/packages/wrap/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/wrap", - "version": "10.0.25", + "version": "10.0.26", "type": "module", "description": "A set of utils for faster development of GraphQL tools", "repository": {