UNPKG

@graphql-hive/gateway-runtime

Version:
760 lines (502 loc) 202 kB
# @graphql-hive/gateway-runtime ## 2.8.0-alpha-bb7cb0747a2f268a4a03e2f7f7f2ccd1364ded49 ### Minor Changes - [#2133](https://github.com/graphql-hive/gateway/pull/2133) [`18ca078`](https://github.com/graphql-hive/gateway/commit/18ca078a3b34afd9420e37f758713b597fa05352) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Allow `maxCost` in `DemandControlPluginOptions` to accept a function for dynamic cost limiting. Previously, `maxCost` only accepted a static `number`. It now also accepts a synchronous or asynchronous function `(payload: DemandControlMaxCostPayload) => MaybePromise<number>`, where `payload` contains: - `operationCost` – the estimated cost of the current subgraph operation - `totalCost` – the accumulated cost for the whole request context so far - `subgraphName` – the name of the subgraph being executed - `executionRequest` – the full execution request object This lets you implement per-user rate limits, per-subgraph budgets, or any other context-aware cost policy. The `DemandControlMaxCostPayload` interface is exported from the package for use when typing your `maxCost` function. ### Patch Changes - Updated dependencies []: - @graphql-mesh/hmac-upstream-signature@2.0.10 ## 2.7.9 ### Patch Changes - [#2127](https://github.com/graphql-hive/gateway/pull/2127) [`6e15d41`](https://github.com/graphql-hive/gateway/commit/6e15d4107159c931aa65f075278104832f3f64a8) Thanks [@ardatan](https://github.com/ardatan)! - When a plugin like Defer/Stream plugin updates the schema, the gateway considers the original schema as a new schema then tries to overwrite it. After the overwrite, the external plugin tries to update it again on each request. So this causes extra schema changes on each request which causes extra resource consumption. - Updated dependencies []: - @graphql-mesh/hmac-upstream-signature@2.0.10 ## 2.7.8 ### Patch Changes - Updated dependencies [[`da68d27`](https://github.com/graphql-hive/gateway/commit/da68d2710dff1f8bca5b17bcd5368e631f72114e)]: - @graphql-tools/federation@4.3.1 - @graphql-tools/delegate@12.0.12 - @graphql-mesh/fusion-runtime@1.8.1 - @graphql-tools/batch-delegate@10.0.18 - @graphql-tools/stitch@10.1.16 - @graphql-tools/wrap@11.1.12 - @graphql-mesh/hmac-upstream-signature@2.0.10 ## 2.7.7 ### Patch Changes - Updated dependencies [[`4e626d4`](https://github.com/graphql-hive/gateway/commit/4e626d4cd2f1a6050a30b1219f5b5408ff56b3a6), [`08c9da2`](https://github.com/graphql-hive/gateway/commit/08c9da28af4587aa823f3b7a10af493fa87dab87)]: - @graphql-mesh/fusion-runtime@1.8.0 - @graphql-tools/federation@4.3.0 - @graphql-tools/delegate@12.0.11 - @graphql-mesh/hmac-upstream-signature@2.0.10 - @graphql-tools/batch-delegate@10.0.17 - @graphql-tools/stitch@10.1.15 - @graphql-tools/wrap@11.1.11 ## 2.7.6 ### Patch Changes - Updated dependencies [[`dae3fe4`](https://github.com/graphql-hive/gateway/commit/dae3fe4fbb9c78598d1bbf91c2ed07ab1b90f05d)]: - @graphql-tools/executor-http@3.1.1 - @graphql-tools/wrap@11.1.10 - @graphql-tools/delegate@12.0.10 - @graphql-tools/federation@4.2.14 - @graphql-mesh/fusion-runtime@1.7.1 - @graphql-tools/stitch@10.1.14 - @graphql-tools/batch-delegate@10.0.16 - @graphql-mesh/hmac-upstream-signature@2.0.10 ## 2.7.5 ### Patch Changes - Updated dependencies [[`47c9fae`](https://github.com/graphql-hive/gateway/commit/47c9faecac7035e6ccfb2eb2b4146fca0ca07e47)]: - @graphql-mesh/hmac-upstream-signature@2.0.10 ## 2.7.4 ### Patch Changes - Updated dependencies [[`5468882`](https://github.com/graphql-hive/gateway/commit/5468882253927113fa22030bceb265a31101792e)]: - @graphql-mesh/fusion-runtime@1.7.0 - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.7.3 ### Patch Changes - Updated dependencies [[`43aaa6a`](https://github.com/graphql-hive/gateway/commit/43aaa6ab8c1c64cae92e9cdff7016ebdf1afa756)]: - @graphql-tools/delegate@12.0.9 - @graphql-tools/stitch@10.1.13 - @graphql-tools/batch-delegate@10.0.15 - @graphql-tools/federation@4.2.13 - @graphql-mesh/fusion-runtime@1.6.11 - @graphql-tools/wrap@11.1.9 - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.7.2 ### Patch Changes - [#2056](https://github.com/graphql-hive/gateway/pull/2056) [`bd5e436`](https://github.com/graphql-hive/gateway/commit/bd5e436ec951cb572eadaaf2f5831480201c18b0) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.21.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.21.0) (from `^0.20.2`, in `dependencies`) - Updated dependency [`@graphql-hive/yoga@^0.48.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.48.0) (from `^0.47.3`, in `dependencies`) - Updated dependencies []: - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.7.1 ### Patch Changes - Updated dependencies [[`c75fd0a`](https://github.com/graphql-hive/gateway/commit/c75fd0a64730ab07a3a7115748841025e312f335)]: - @graphql-hive/logger@1.1.0 - @graphql-mesh/fusion-runtime@1.6.10 - @graphql-mesh/transport-common@1.0.15 - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.7.0 ### Minor Changes - [#1977](https://github.com/graphql-hive/gateway/pull/1977) [`107dcf2`](https://github.com/graphql-hive/gateway/commit/107dcf2e5f58aaf5feb6e69d7d6917cfb4f709dd) Thanks [@ardatan](https://github.com/ardatan)! - Support Polling in Subgraph mode ### Patch Changes - Updated dependencies [[`4065b7f`](https://github.com/graphql-hive/gateway/commit/4065b7fbb08d9e75c5f0d3b2b4d42d665aa9dbd9)]: - @graphql-tools/delegate@12.0.8 - @graphql-tools/batch-delegate@10.0.14 - @graphql-tools/federation@4.2.12 - @graphql-mesh/fusion-runtime@1.6.9 - @graphql-tools/stitch@10.1.12 - @graphql-tools/wrap@11.1.8 - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.6.1 ### Patch Changes - [#1951](https://github.com/graphql-hive/gateway/pull/1951) [`8028028`](https://github.com/graphql-hive/gateway/commit/8028028109a6e14d7bb332eb37e817082e1a8de2) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-hive/yoga@^0.47.3` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.47.3) (from `^0.47.0`, in `dependencies`) - Updated dependencies [[`584a293`](https://github.com/graphql-hive/gateway/commit/584a293e3dafa7cd2d0210f80299c81b6707bcd4)]: - @graphql-tools/delegate@12.0.7 - @graphql-mesh/hmac-upstream-signature@2.0.9 - @graphql-tools/batch-delegate@10.0.13 - @graphql-tools/federation@4.2.11 - @graphql-mesh/fusion-runtime@1.6.8 - @graphql-tools/stitch@10.1.11 - @graphql-tools/wrap@11.1.7 ## 2.6.0 ### Minor Changes - [#1834](https://github.com/graphql-hive/gateway/pull/1834) [`88ca1bf`](https://github.com/graphql-hive/gateway/commit/88ca1bfbaf58bd83eab6ec86b6cdc4375608e881) Thanks [@adambenhassen](https://github.com/adambenhassen)! - Add Layer 2 cache support for persisted documents. When using Hive CDN for persisted documents, you can now configure caching using the gateway's cache to reduce CDN requests and improve response times across gateway instances. **Configuration:** ```typescript persistedDocuments: { type: 'hive', endpoint: 'https://cdn.graphql-hive.com/artifacts/v1/<target_id>', token: '<cdn_access_token>', cacheTtlSeconds: 3600, cacheNotFoundTtlSeconds: 60, } ``` **CLI options:** - `--hive-persisted-documents-cache-ttl <seconds>` - TTL in seconds for found documents (enables caching) - `--hive-persisted-documents-cache-not-found-ttl <seconds>` - TTL for negative cache entries (default: 60) **Note:** A gateway cache backend must be configured for caching to work. If cache options are provided without a gateway cache, a warning will be logged and caching will be disabled. ### Patch Changes - [#1834](https://github.com/graphql-hive/gateway/pull/1834) [`88ca1bf`](https://github.com/graphql-hive/gateway/commit/88ca1bfbaf58bd83eab6ec86b6cdc4375608e881) Thanks [@adambenhassen](https://github.com/adambenhassen)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.20.2` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.20.2) (from `^0.20.0`, in `dependencies`) - Updated dependencies []: - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.5.5 ### Patch Changes - Updated dependencies [[`2200fc3`](https://github.com/graphql-hive/gateway/commit/2200fc3e9b94db77a642835bbf2d646c65b3e8d0)]: - @graphql-tools/delegate@12.0.6 - @graphql-tools/stitch@10.1.10 - @graphql-tools/federation@4.2.10 - @graphql-tools/batch-delegate@10.0.12 - @graphql-mesh/fusion-runtime@1.6.7 - @graphql-tools/wrap@11.1.6 - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.5.4 ### Patch Changes - Updated dependencies [[`e92c5a9`](https://github.com/graphql-hive/gateway/commit/e92c5a9702a2aea395a4a4e3a482b92f528655e8)]: - @graphql-tools/delegate@12.0.5 - @graphql-tools/batch-delegate@10.0.11 - @graphql-tools/federation@4.2.9 - @graphql-mesh/fusion-runtime@1.6.6 - @graphql-tools/stitch@10.1.9 - @graphql-tools/wrap@11.1.5 - @graphql-mesh/hmac-upstream-signature@2.0.9 ## 2.5.3 ### Patch Changes - [#1856](https://github.com/graphql-hive/gateway/pull/1856) [`c4802be`](https://github.com/graphql-hive/gateway/commit/c4802be46fac65f945a07bf3e9d127b10fc6f119) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.20.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.20.0) (from `^0.19.0`, in `dependencies`) - Updated dependency [`@graphql-hive/yoga@^0.47.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.47.0) (from `^0.46.0`, in `dependencies`) - [#1855](https://github.com/graphql-hive/gateway/pull/1855) [`d031026`](https://github.com/graphql-hive/gateway/commit/d031026ec2a0c273801bab3d81d2845f5838f15f) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Hive Console usage reporting uses the Hive Gateway fetch - [#1855](https://github.com/graphql-hive/gateway/pull/1855) [`d031026`](https://github.com/graphql-hive/gateway/commit/d031026ec2a0c273801bab3d81d2845f5838f15f) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Proxy schema fetcher for Hive Console uses the Hive Gateway fetch and identifies itself when fetching - Updated dependencies [[`f321cbd`](https://github.com/graphql-hive/gateway/commit/f321cbdf87bc68bbf6770bec963c86e2a35b50bf)]: - @graphql-hive/logger@1.0.10 - @graphql-mesh/hmac-upstream-signature@2.0.9 - @graphql-mesh/fusion-runtime@1.6.5 - @graphql-mesh/transport-common@1.0.14 ## 2.5.2 ### Patch Changes - [#1837](https://github.com/graphql-hive/gateway/pull/1837) [`b1a4f60`](https://github.com/graphql-hive/gateway/commit/b1a4f60f1e31d3dc8c7afd816bd117eafb0c217f) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.19.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.19.0) (from `^0.18.0`, in `dependencies`) - [#1842](https://github.com/graphql-hive/gateway/pull/1842) [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-tools/utils@^11.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/11.0.0) (from `^10.10.3`, in `dependencies`) - Updated dependencies [[`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`9f29d58`](https://github.com/graphql-hive/gateway/commit/9f29d587946383482ad55924fe49b9e7804f48a3)]: - @graphql-mesh/fusion-runtime@1.6.4 - @graphql-mesh/hmac-upstream-signature@2.0.9 - @graphql-mesh/transport-common@1.0.13 - @graphql-tools/batch-delegate@10.0.10 - @graphql-tools/delegate@12.0.4 - @graphql-tools/executor-common@1.0.6 - @graphql-tools/executor-http@3.1.0 - @graphql-tools/federation@4.2.8 - @graphql-tools/stitch@10.1.8 - @graphql-tools/wrap@11.1.4 ## 2.5.1 ### Patch Changes - [#1815](https://github.com/graphql-hive/gateway/pull/1815) [`3046dc2`](https://github.com/graphql-hive/gateway/commit/3046dc2e0721c0dc55cb74889b0d21525a8a52ea) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-yoga/plugin-apollo-usage-report@^0.13.0` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-apollo-usage-report/v/0.13.0) (from `^0.12.0`, in `dependencies`) - Updated dependencies [[`dcd8f0e`](https://github.com/graphql-hive/gateway/commit/dcd8f0e93fd220cb99f79cadea759ea49bc15308)]: - @graphql-tools/delegate@12.0.3 - @graphql-mesh/hmac-upstream-signature@2.0.8 - @graphql-tools/batch-delegate@10.0.9 - @graphql-tools/federation@4.2.7 - @graphql-mesh/fusion-runtime@1.6.3 - @graphql-tools/stitch@10.1.7 - @graphql-tools/wrap@11.1.3 ## 2.5.0 ### Minor Changes - [#1786](https://github.com/graphql-hive/gateway/pull/1786) [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc) Thanks [@ardatan](https://github.com/ardatan)! - Respect both \`graphql-client-name\` and \`x-graphql-client-name\` for client name header, and both \`graphql-client-version\` and \`x-graphql-client-version\` for client version header by default if not configured otherwise. ### Patch Changes - [#1784](https://github.com/graphql-hive/gateway/pull/1784) [`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^25.0.0` ↗︎](https://www.npmjs.com/package/@types/node/v/25.0.0) (from `^24.10.1`, in `dependencies`) - [#1804](https://github.com/graphql-hive/gateway/pull/1804) [`c913e6c`](https://github.com/graphql-hive/gateway/commit/c913e6cfec407d4d2da5b264d38047a9df8e09f0) Thanks [@ardatan](https://github.com/ardatan)! - Fixes for better support of the plugin system in WebSockets; - Ensure `params: GraphQLParams` and `request: Request` exist in the context - Invoke `onParams` and `onExecutionResult` hooks from plugins properly - [#1787](https://github.com/graphql-hive/gateway/pull/1787) [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Usage reporting clientInfo context inherits Hive Gateway context - Updated dependencies []: - @graphql-mesh/hmac-upstream-signature@2.0.8 - @graphql-mesh/fusion-runtime@1.6.2 ## 2.4.1 ### Patch Changes - [#1777](https://github.com/graphql-hive/gateway/pull/1777) [`7e33249`](https://github.com/graphql-hive/gateway/commit/7e332496179d213cf10f055b282ce30ab68279d1) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Hive console client agent inherits the plugin's root logger - [#1781](https://github.com/graphql-hive/gateway/pull/1781) [`db20a29`](https://github.com/graphql-hive/gateway/commit/db20a298c57c717495cbdbcaa6a8aa5b369da909) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Debug is determined by Hive Logger and does not need to be set for Hive Console's plugin - [#1781](https://github.com/graphql-hive/gateway/pull/1781) [`db20a29`](https://github.com/graphql-hive/gateway/commit/db20a298c57c717495cbdbcaa6a8aa5b369da909) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Do not print token info by default when using Hive Console - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.6.2 - @graphql-mesh/hmac-upstream-signature@2.0.8 ## 2.4.0 ### Minor Changes - [#1738](https://github.com/graphql-hive/gateway/pull/1738) [`2cab632`](https://github.com/graphql-hive/gateway/commit/2cab632d9094ed76badccf01c1ab8c37bc24112b) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - New Hive CDN mirror and circuit breaker Hive CDN introduced a new CDN mirror and circuit breaker to mitigate the risk related to Cloudflare services failures. You can now provide multiple endpoint in Hive Console related features, and configure the circuit breaker handling CDN failure and how it switches to the CDN mirror. ### Usage To enable this feature, please provide the mirror endpoint in `supergraph` and `persistedDocument` options: ```diff import { defineConfig } from '@graphql-hive/gateway' export const gatewayConfig = defineConfig({ supergraph: { type: 'hive', - endpoint: 'https://cdn.graphql-hive.com/artifacts/v1/<target-id>/supergraph', + endpoint: [ + 'https://cdn.graphql-hive.com/artifacts/v1/<target-id>/supergraph', + 'https://cdn-mirror.graphql-hive.com/artifacts/v1/<target-id>/supergraph' + ] }, persistedDocuments: { - endpoint: 'https://cdn.graphql-hive.com/<target-id>', + endpoint: [ + 'https://cdn.graphql-hive.com/<target-id>', + 'https://cdn-mirror.graphql-hive.com/<target-id>' + ] } }) ``` ### Configuration The circuit breaker has production ready default configuration, but you customize its behavior: ```ts import { defineConfig, CircuitBreakerConfiguration } from '@graphql-hive/gateway'; const circuitBreaker: CircuitBreakerConfiguration = { resetTimeout: 30_000; // 30s errorThresholdPercentage: 50; volumeThreshold: 5; } export const gatewayConfig = defineConfig({ supergraph: { type: 'hive', endpoint: [...], circuitBreaker, }, persistedDocuments: { type: 'hive', endpoint: [...], circuitBreaker, }, }); ``` ### Patch Changes - [#1747](https://github.com/graphql-hive/gateway/pull/1747) [`8fdaef5`](https://github.com/graphql-hive/gateway/commit/8fdaef56d70998dacaed829c278fa7079062ad67) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.18.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.18.0) (from `^0.15.1`, in `dependencies`) - Updated dependency [`@graphql-hive/yoga@^0.46.0` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.46.0) (from `^0.43.1`, in `dependencies`) - Updated dependencies [[`da8b8e3`](https://github.com/graphql-hive/gateway/commit/da8b8e3f3545487249b11c6577e3889f68527249)]: - @graphql-tools/delegate@12.0.2 - @graphql-mesh/hmac-upstream-signature@2.0.8 - @graphql-tools/batch-delegate@10.0.8 - @graphql-tools/federation@4.2.6 - @graphql-mesh/fusion-runtime@1.6.2 - @graphql-tools/stitch@10.1.6 - @graphql-tools/wrap@11.1.2 ## 2.3.7 ### Patch Changes - Updated dependencies [[`0d14faf`](https://github.com/graphql-hive/gateway/commit/0d14fafdbaf3fb27eef123016ef2ca977d6688d8)]: - @graphql-tools/delegate@12.0.1 - @graphql-tools/batch-delegate@10.0.7 - @graphql-tools/federation@4.2.5 - @graphql-mesh/fusion-runtime@1.6.1 - @graphql-tools/stitch@10.1.5 - @graphql-tools/wrap@11.1.1 - @graphql-mesh/hmac-upstream-signature@2.0.8 ## 2.3.6 ### Patch Changes - [#1725](https://github.com/graphql-hive/gateway/pull/1725) [`0ded04f`](https://github.com/graphql-hive/gateway/commit/0ded04f56d9d9dea8c412e2e320fb89815108362) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.15.1` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.15.1) (from `^0.13.2`, in `dependencies`) - Updated dependency [`@graphql-hive/yoga@^0.43.1` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.43.1) (from `^0.42.4`, in `dependencies`) - [#1739](https://github.com/graphql-hive/gateway/pull/1739) [`8ff2e47`](https://github.com/graphql-hive/gateway/commit/8ff2e471f368d5e41f91a7fe1f1b0e494ef3e6ff) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Updated dependency [`@graphql-yoga/plugin-apollo-usage-report@^0.12.0` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-apollo-usage-report/v/0.12.0) (from `^0.11.2`, in `dependencies`) - [#1740](https://github.com/graphql-hive/gateway/pull/1740) [`9cfe2a5`](https://github.com/graphql-hive/gateway/commit/9cfe2a555fcbc9a70ba04b32d6844a7a795de624) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-yoga/plugin-apollo-usage-report@^0.12.0` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-apollo-usage-report/v/0.12.0) (from `^0.11.2`, in `dependencies`) - Updated dependencies [[`55173a5`](https://github.com/graphql-hive/gateway/commit/55173a55344a07fdf9531efcbaa4cb142fff655e), [`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9), [`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9), [`1dbc653`](https://github.com/graphql-hive/gateway/commit/1dbc6536cb992a705cac7894acca6fe5431b72de), [`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9), [`b520eb2`](https://github.com/graphql-hive/gateway/commit/b520eb2309f627578519826d6b9e0056252c6c46)]: - @graphql-tools/stitch@10.1.4 - @graphql-mesh/fusion-runtime@1.6.0 - @graphql-tools/wrap@11.1.0 - @graphql-tools/delegate@12.0.0 - @graphql-mesh/hmac-upstream-signature@2.0.8 - @graphql-tools/federation@4.2.4 - @graphql-tools/batch-delegate@10.0.6 ## 2.3.5 ### Patch Changes - [#1683](https://github.com/graphql-hive/gateway/pull/1683) [`4801627`](https://github.com/graphql-hive/gateway/commit/4801627ef16e963bed0052d0f071879004614a14) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.13.1` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.13.1) (from `^0.13.0`, in `dependencies`) - Updated dependency [`@graphql-hive/yoga@^0.42.3` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.42.3) (from `^0.42.2`, in `dependencies`) - [#1684](https://github.com/graphql-hive/gateway/pull/1684) [`478d7e2`](https://github.com/graphql-hive/gateway/commit/478d7e25ef47fb8fb6183010a8bb61ac31688c55) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.10.17` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.10.17) (from `^0.10.15`, in `dependencies`) - [#1691](https://github.com/graphql-hive/gateway/pull/1691) [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/core@^0.13.2` ↗︎](https://www.npmjs.com/package/@graphql-hive/core/v/0.13.2) (from `^0.13.1`, in `dependencies`) - Updated dependency [`@graphql-hive/yoga@^0.42.4` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.42.4) (from `^0.42.3`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^10.10.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.10.3) (from `^10.10.1`, in `dependencies`) - Updated dependency [`@types/node@^24.10.1` ↗︎](https://www.npmjs.com/package/@types/node/v/24.10.1) (from `^24.10.0`, in `dependencies`) - [#1692](https://github.com/graphql-hive/gateway/pull/1692) [`a81b8b2`](https://github.com/graphql-hive/gateway/commit/a81b8b20ecdfda53fb77ae5fae3cbd508ab08936) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@envelop/generic-auth@^11.0.0` ↗︎](https://www.npmjs.com/package/@envelop/generic-auth/v/11.0.0) (from `^10.0.1`, in `dependencies`) - [#1695](https://github.com/graphql-hive/gateway/pull/1695) [`ce83f35`](https://github.com/graphql-hive/gateway/commit/ce83f356cbeb2f8413689204275710e7d7a27822) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@envelop/disable-introspection@^9.0.0` ↗︎](https://www.npmjs.com/package/@envelop/disable-introspection/v/9.0.0) (from `^8.0.0`, in `dependencies`) - Updated dependencies [[`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`478d7e2`](https://github.com/graphql-hive/gateway/commit/478d7e25ef47fb8fb6183010a8bb61ac31688c55), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`478d7e2`](https://github.com/graphql-hive/gateway/commit/478d7e25ef47fb8fb6183010a8bb61ac31688c55), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`2993f24`](https://github.com/graphql-hive/gateway/commit/2993f24f8e46853c0d2667c0cd2bf96190f3a2b2)]: - @graphql-hive/logger@1.0.9 - @graphql-mesh/fusion-runtime@1.5.1 - @graphql-mesh/hmac-upstream-signature@2.0.8 - @graphql-mesh/transport-common@1.0.12 - @graphql-tools/batch-delegate@10.0.5 - @graphql-tools/delegate@11.1.3 - @graphql-tools/executor-common@1.0.5 - @graphql-tools/executor-http@3.0.7 - @graphql-tools/federation@4.2.3 - @graphql-tools/stitch@10.1.3 - @graphql-tools/wrap@11.0.5 ## 2.3.4 ### Patch Changes - Updated dependencies [[`073a078`](https://github.com/graphql-hive/gateway/commit/073a078c8cdbdd4ec33fdb9d3aeb4955fbcfb103)]: - @graphql-mesh/fusion-runtime@1.5.0 - @graphql-mesh/hmac-upstream-signature@2.0.7 ## 2.3.3 ### Patch Changes - [#1677](https://github.com/graphql-hive/gateway/pull/1677) [`3fbf360`](https://github.com/graphql-hive/gateway/commit/3fbf3602bedbc4c4bb1947fcdca60bc27789ceb7) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-mesh/plugin-response-cache@^0.104.18` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-response-cache/v/0.104.18) (from `^0.104.17`, in `dependencies`) - Updated dependency [`@graphql-mesh/types@^0.104.16` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.16) (from `^0.104.15`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.16` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.16) (from `^0.104.15`, in `dependencies`) - Updated dependencies [[`3fbf360`](https://github.com/graphql-hive/gateway/commit/3fbf3602bedbc4c4bb1947fcdca60bc27789ceb7), [`3fbf360`](https://github.com/graphql-hive/gateway/commit/3fbf3602bedbc4c4bb1947fcdca60bc27789ceb7), [`3fbf360`](https://github.com/graphql-hive/gateway/commit/3fbf3602bedbc4c4bb1947fcdca60bc27789ceb7)]: - @graphql-mesh/fusion-runtime@1.4.3 - @graphql-mesh/hmac-upstream-signature@2.0.7 - @graphql-mesh/transport-common@1.0.11 ## 2.3.2 ### Patch Changes - [#1608](https://github.com/graphql-hive/gateway/pull/1608) [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@envelop/generic-auth@^10.0.1` ↗︎](https://www.npmjs.com/package/@envelop/generic-auth/v/10.0.1) (from `^10.0.0`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-response-cache@^0.104.15` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-response-cache/v/0.104.15) (from `^0.104.14`, in `dependencies`) - Updated dependency [`@graphql-mesh/types@^0.104.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.14) (from `^0.104.13`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.14) (from `^0.104.13`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^10.10.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.10.1) (from `^10.9.1`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-apollo-usage-report@^0.11.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-apollo-usage-report/v/0.11.1) (from `^0.11.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-csrf-prevention@^3.16.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-csrf-prevention/v/3.16.1) (from `^3.16.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-defer-stream@^3.16.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-defer-stream/v/3.16.1) (from `^3.16.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-persisted-operations@^3.16.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-persisted-operations/v/3.16.1) (from `^3.16.0`, in `dependencies`) - Updated dependency [`@types/node@^24.10.0` ↗︎](https://www.npmjs.com/package/@types/node/v/24.10.0) (from `^24.7.2`, in `dependencies`) - Updated dependency [`graphql-yoga@^5.16.1` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.16.1) (from `^5.16.0`, in `dependencies`) - [#1659](https://github.com/graphql-hive/gateway/pull/1659) [`810e12b`](https://github.com/graphql-hive/gateway/commit/810e12bd5d24f90ade73f3b257a16277d2731355) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.10.0` ↗︎](https://www.npmjs.com/package/@types/node/v/24.10.0) (from `^24.9.2`, in `dependencies`) - [#1662](https://github.com/graphql-hive/gateway/pull/1662) [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-tools/utils@^10.10.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.10.1) (from `^10.10.0`, in `dependencies`) - Updated dependency [`graphql-yoga@^5.16.1` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.16.1) (from `^5.16.0`, in `dependencies`) - [#1663](https://github.com/graphql-hive/gateway/pull/1663) [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-yoga/plugin-apollo-usage-report@^0.11.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-apollo-usage-report/v/0.11.1) (from `^0.11.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-csrf-prevention@^3.16.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-csrf-prevention/v/3.16.1) (from `^3.16.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-defer-stream@^3.16.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-defer-stream/v/3.16.1) (from `^3.16.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-persisted-operations@^3.16.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-persisted-operations/v/3.16.1) (from `^3.16.0`, in `dependencies`) - [#1669](https://github.com/graphql-hive/gateway/pull/1669) [`1bfac64`](https://github.com/graphql-hive/gateway/commit/1bfac649f00f1b5ac830813030cec64522fea29f) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-mesh/plugin-response-cache@^0.104.17` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-response-cache/v/0.104.17) (from `^0.104.15`, in `dependencies`) - Updated dependency [`@graphql-mesh/types@^0.104.15` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.15) (from `^0.104.14`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.15` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.15) (from `^0.104.14`, in `dependencies`) - [#1671](https://github.com/graphql-hive/gateway/pull/1671) [`17bbebd`](https://github.com/graphql-hive/gateway/commit/17bbebd241c4285068a6f7045427869d3ca1b1ec) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.10.15` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.10.15) (from `^0.10.13`, in `dependencies`) - [#1672](https://github.com/graphql-hive/gateway/pull/1672) [`3f6b99d`](https://github.com/graphql-hive/gateway/commit/3f6b99d152cbcc17d4ec3c97bc48dae452982151) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@envelop/core@^5.4.0` ↗︎](https://www.npmjs.com/package/@envelop/core/v/5.4.0) (from `^5.3.2`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-apollo-usage-report@^0.11.2` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-apollo-usage-report/v/0.11.2) (from `^0.11.1`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-csrf-prevention@^3.16.2` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-csrf-prevention/v/3.16.2) (from `^3.16.1`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-defer-stream@^3.16.2` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-defer-stream/v/3.16.2) (from `^3.16.1`, in `dependencies`) - Updated dependency [`@graphql-yoga/plugin-persisted-operations@^3.16.2` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-persisted-operations/v/3.16.2) (from `^3.16.1`, in `dependencies`) - Updated dependency [`graphql-yoga@^5.16.2` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.16.2) (from `^5.16.1`, in `dependencies`) - [`c754a96`](https://github.com/graphql-hive/gateway/commit/c754a96d49ea69f54f57a8f1b01baf9d2fb947b6) Thanks [@ardatan](https://github.com/ardatan)! - Use more specific error codes; `GATEWAY_TIMEOUT` -> Server could not get a response from upstream in time `SUBREQUEST_HTTP_ERROR` -> An error occurred while making the HTTP request to the upstream `RESPONSE_VALIDATION_FAILED` -> The response from upstream did not conform to the expected GraphQL response format - Updated dependencies [[`1f58197`](https://github.com/graphql-hive/gateway/commit/1f58197a60882c79430e59638b9396071137a221), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a), [`1bfac64`](https://github.com/graphql-hive/gateway/commit/1bfac649f00f1b5ac830813030cec64522fea29f), [`3f6b99d`](https://github.com/graphql-hive/gateway/commit/3f6b99d152cbcc17d4ec3c97bc48dae452982151), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`1bfac64`](https://github.com/graphql-hive/gateway/commit/1bfac649f00f1b5ac830813030cec64522fea29f), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a), [`1bfac64`](https://github.com/graphql-hive/gateway/commit/1bfac649f00f1b5ac830813030cec64522fea29f), [`3f6b99d`](https://github.com/graphql-hive/gateway/commit/3f6b99d152cbcc17d4ec3c97bc48dae452982151), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`3f6b99d`](https://github.com/graphql-hive/gateway/commit/3f6b99d152cbcc17d4ec3c97bc48dae452982151), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a), [`9c789fb`](https://github.com/graphql-hive/gateway/commit/9c789fb11f6de80e781ff056cb5b98c548938bea), [`27789de`](https://github.com/graphql-hive/gateway/commit/27789de7967cb5299d471c00434591f309b978ff), [`d678113`](https://github.com/graphql-hive/gateway/commit/d678113debfe28095ed6e09c2abba4451a42608a), [`c754a96`](https://github.com/graphql-hive/gateway/commit/c754a96d49ea69f54f57a8f1b01baf9d2fb947b6)]: - @graphql-hive/logger@1.0.8 - @graphql-mesh/fusion-runtime@1.4.2 - @graphql-mesh/hmac-upstream-signature@2.0.6 - @graphql-mesh/transport-common@1.0.10 - @graphql-tools/batch-delegate@10.0.4 - @graphql-tools/delegate@11.1.2 - @graphql-tools/executor-common@1.0.4 - @graphql-tools/executor-http@3.0.6 - @graphql-tools/federation@4.2.2 - @graphql-tools/stitch@10.1.2 - @graphql-tools/wrap@11.0.4 ## 2.3.1 ### Patch Changes - [#1654](https://github.com/graphql-hive/gateway/pull/1654) [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-tools/utils@^10.10.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.10.0) (from `^10.9.1`, in `dependencies`) - Updated dependencies [[`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`efed5e0`](https://github.com/graphql-hive/gateway/commit/efed5e0c257edcacb51dae7f670c2026a747a851), [`3226919`](https://github.com/graphql-hive/gateway/commit/3226919d58930289491696fa3b56ed85c766e3f5)]: - @graphql-mesh/fusion-runtime@1.4.1 - @graphql-mesh/hmac-upstream-signature@2.0.5 - @graphql-mesh/transport-common@1.0.9 - @graphql-tools/batch-delegate@10.0.3 - @graphql-tools/delegate@11.1.1 - @graphql-tools/executor-common@1.0.3 - @graphql-tools/executor-http@3.0.5 - @graphql-tools/federation@4.2.1 - @graphql-tools/stitch@10.1.1 - @graphql-tools/wrap@11.0.3 ## 2.3.0 ### Minor Changes - [#1642](https://github.com/graphql-hive/gateway/pull/1642) [`af7a7de`](https://github.com/graphql-hive/gateway/commit/af7a7de0ebd81a5b41702052a3ddf466f5d84437) Thanks [@ardatan](https://github.com/ardatan)! - Support promises in `progressiveOverride` option ```ts import { defineConfig } from '@graphql-hive/gateway'; export const gatewayConfig = defineConfig({ async progressiveOverride(label: string, context: GatewayContext) { if (label === 'my_label') { const serviceResponse = await fetch('http://example.com/should_override', { headers: { 'x-some-header': context.headers['x-some-header'], } }); const result = await serviceResponse.json(); return result?.override; } return false; } }) ``` ### Patch Changes - [#1637](https://github.com/graphql-hive/gateway/pull/1637) [`aa1cb63`](https://github.com/graphql-hive/gateway/commit/aa1cb635583e41ed0f8ebe7ae4897feedec50a71) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-mesh/plugin-response-cache@^0.104.15` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-response-cache/v/0.104.15) (from `^0.104.14`, in `dependencies`) - Updated dependency [`@graphql-mesh/types@^0.104.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.14) (from `^0.104.13`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.14) (from `^0.104.13`, in `dependencies`) - [#1640](https://github.com/graphql-hive/gateway/pull/1640) [`4a5b67d`](https://github.com/graphql-hive/gateway/commit/4a5b67de55f3aabb775903fb41d935fd64c5296d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Updated dependency [`@envelop/generic-auth@^10.0.1` ↗︎](https://www.npmjs.com/package/@envelop/generic-auth/v/10.0.1) (from `^10.0.0`, in `dependencies`) - [#1645](https://github.com/graphql-hive/gateway/pull/1645) [`bcadf1c`](https://github.com/graphql-hive/gateway/commit/bcadf1cee54b62ed13fbcc02d3e6624eddea707b) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.9.2` ↗︎](https://www.npmjs.com/package/@types/node/v/24.9.2) (from `^24.9.1`, in `dependencies`) - [#1640](https://github.com/graphql-hive/gateway/pull/1640) [`4a5b67d`](https://github.com/graphql-hive/gateway/commit/4a5b67de55f3aabb775903fb41d935fd64c5296d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Remove empty and unused nodes from redacted query after validation of generic-auth directives when issuing requests to subgraphs - Updated dependencies [[`aa1cb63`](https://github.com/graphql-hive/gateway/commit/aa1cb635583e41ed0f8ebe7ae4897feedec50a71), [`aa1cb63`](https://github.com/graphql-hive/gateway/commit/aa1cb635583e41ed0f8ebe7ae4897feedec50a71), [`aa1cb63`](https://github.com/graphql-hive/gateway/commit/aa1cb635583e41ed0f8ebe7ae4897feedec50a71), [`af7a7de`](https://github.com/graphql-hive/gateway/commit/af7a7de0ebd81a5b41702052a3ddf466f5d84437)]: - @graphql-mesh/fusion-runtime@1.4.0 - @graphql-mesh/hmac-upstream-signature@2.0.4 - @graphql-mesh/transport-common@1.0.8 - @graphql-tools/federation@4.2.0 ## 2.2.0 ### Minor Changes - [#1624](https://github.com/graphql-hive/gateway/pull/1624) [`a8458b2`](https://github.com/graphql-hive/gateway/commit/a8458b24e71fda37a515eaf9ac9af43a73e7823f) Thanks [@ardatan](https://github.com/ardatan)! - Progressive Override for Safer Field Migrations Introduces Progressive Override, allowing you to safely migrate fields between subgraphs using the `@override` directive with a label. Control the rollout using custom logic in the gateway (e.g., percentage, headers) or the built-in percent(x) label for gradual, incremental traffic migration. Detailed documentation can be found [here](https://the-guild.dev/graphql/hive/docs/gateway/other-features/progressive-override). ### Patch Changes - [#1605](https://github.com/graphql-hive/gateway/pull/1605) [`19a6cc4`](https://github.com/graphql-hive/gateway/commit/19a6cc45572afdfdae8d6daf6340da489ddd6b0f) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.7.2` ↗︎](https://www.npmjs.com/package/@types/node/v/24.7.2) (from `^24.7.1`, in `dependencies`) - [#1616](https://github.com/graphql-hive/gateway/pull/1616) [`40139dc`](https://github.com/graphql-hive/gateway/commit/40139dcdc257785acba3126e22451b5688ff7773) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.8.1` ↗︎](https://www.npmjs.com/package/@types/node/v/24.8.1) (from `^24.7.2`, in `dependencies`) - [#1617](https://github.com/graphql-hive/gateway/pull/1617) [`d2b3dff`](https://github.com/graphql-hive/gateway/commit/d2b3dff99cc08c4e7a7c551c067e90239671febb) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.9.1` ↗︎](https://www.npmjs.com/package/@types/node/v/24.9.1) (from `^24.8.1`, in `dependencies`) - Updated dependencies [[`b0cf7bb`](https://github.com/graphql-hive/gateway/commit/b0cf7bbb3ec1c1c1d18e7b064b2d9d7d2f8c9a2e), [`a54b0c1`](https://github.com/graphql-hive/gateway/commit/a54b0c1777229aaeea295bcd15d4f4d6e4e615f7), [`058ef2f`](https://github.com/graphql-hive/gateway/commit/058ef2f8373ea822fed985b705416cb39d5b6efc), [`a8458b2`](https://github.com/graphql-hive/gateway/commit/a8458b24e71fda37a515eaf9ac9af43a73e7823f), [`20f7a50`](https://github.com/graphql-hive/gateway/commit/20f7a50c5ddb862c2921e91ca43d9858bae1bce8)]: - @graphql-hive/logger@1.0.7 - @graphql-tools/delegate@11.1.0 - @graphql-tools/batch-delegate@10.0.2 - @graphql-mesh/fusion-runtime@1.3.0 - @graphql-tools/federation@4.1.0 - @graphql-tools/stitch@10.1.0 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-mesh/transport-common@1.0.7 - @graphql-tools/wrap@11.0.2 ## 2.1.9 ### Patch Changes - [#1593](https://github.com/graphql-hive/gateway/pull/1593) [`b535a8c`](https://github.com/graphql-hive/gateway/commit/b535a8cbac463e39c896e582692a282b22d6e84f) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.7.0` ↗︎](https://www.npmjs.com/package/@types/node/v/24.7.0) (from `^24.6.2`, in `dependencies`) - [#1596](https://github.com/graphql-hive/gateway/pull/1596) [`055fd6b`](https://github.com/graphql-hive/gateway/commit/055fd6bd52d0f35f009abe03fdc049e1132f5815) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@types/node@^24.7.1` ↗︎](https://www.npmjs.com/package/@types/node/v/24.7.1) (from `^24.7.0`, in `dependencies`) - [#1597](https://github.com/graphql-hive/gateway/pull/1597) [`29e0608`](https://github.com/graphql-hive/gateway/commit/29e06081ead54a325232c6737dd6c2651f086099) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.10.13` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.10.13) (from `^0.10.12`, in `dependencies`) - [#1563](https://github.com/graphql-hive/gateway/pull/1563) [`8c4138d`](https://github.com/graphql-hive/gateway/commit/8c4138df152d195daa1d78ea22ddb7cea2387e20) Thanks [@zoontek](https://github.com/zoontek)! - Introduce `deduplicateHeaders` option for `propagateHeaders` configuration to control header handling behavior when multiple subgraphs return the same header When `deduplicateHeaders` is enabled (set to `true`), only the last value from subgraphs will be set for each header. When disabled (default `false`), all values are appended. The `set-cookie` header is always appended regardless of this setting, as per HTTP standards. ```ts import { defineConfig } from '@graphql-hive/gateway' export const gatewayConfig = defineConfig({ propagateHeaders: { deduplicateHeaders: true, // default: false fromSubgraphsToClient({ response }) { // ... } } }) ``` - Updated dependencies []: - @graphql-mesh/hmac-upstream-signature@2.0.3 ## 2.1.8 ### Patch Changes - [#1572](https://github.com/graphql-hive/gateway/pull/1572) [`a79f81e`](https://github.com/graphql-hive/gateway/commit/a79f81e04b17fcd089eff5839f4f6797c2ae1274) Thanks [@dependabot](https://github.com/a