UNPKG

@graphql-hive/gateway

Version:
584 lines (418 loc) 185 kB
# @graphql-hive/gateway ## 2.1.12-hive-router-query-planner-9b3459fa7873a3839921ae36a42f1356301d79b7 ### Patch Changes - Updated dependencies []: - @graphql-hive/plugin-aws-sigv4@2.0.12-hive-router-query-planner-9b3459fa7873a3839921ae36a42f1356301d79b7 - @graphql-hive/gateway-runtime@2.2.1-hive-router-query-planner-9b3459fa7873a3839921ae36a42f1356301d79b7 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-hive/plugin-opentelemetry@1.0.14-hive-router-query-planner-9b3459fa7873a3839921ae36a42f1356301d79b7 - @graphql-mesh/plugin-prometheus@2.0.15-hive-router-query-planner-9b3459fa7873a3839921ae36a42f1356301d79b7 ## 2.1.11 ### Patch Changes - [#1618](https://github.com/graphql-hive/gateway/pull/1618) [`c449385`](https://github.com/graphql-hive/gateway/commit/c449385cf7a80efbc0387798ab7a86a12f51d3d9) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@opentelemetry/api-logs@^0.207.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.207.0) (from `^0.206.0`, in `dependencies`) - Updated dependency [`@opentelemetry/context-async-hooks@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/context-zone@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/core@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/exporter-jaeger@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/exporter-zipkin@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-zipkin/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/propagator-b3@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-b3/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/propagator-jaeger@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-jaeger/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sampler-jaeger-remote@^0.207.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.207.0) (from `^0.206.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-logs@^0.207.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.207.0) (from `^0.206.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-metrics@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-trace-base@^2.2.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.2.0) (from `^2.1.0`, in `dependencies`) - Updated dependencies [[`19a6cc4`](https://github.com/graphql-hive/gateway/commit/19a6cc45572afdfdae8d6daf6340da489ddd6b0f), [`40139dc`](https://github.com/graphql-hive/gateway/commit/40139dcdc257785acba3126e22451b5688ff7773), [`d2b3dff`](https://github.com/graphql-hive/gateway/commit/d2b3dff99cc08c4e7a7c551c067e90239671febb), [`b0cf7bb`](https://github.com/graphql-hive/gateway/commit/b0cf7bbb3ec1c1c1d18e7b064b2d9d7d2f8c9a2e), [`19a6cc4`](https://github.com/graphql-hive/gateway/commit/19a6cc45572afdfdae8d6daf6340da489ddd6b0f), [`40139dc`](https://github.com/graphql-hive/gateway/commit/40139dcdc257785acba3126e22451b5688ff7773), [`b0cf7bb`](https://github.com/graphql-hive/gateway/commit/b0cf7bbb3ec1c1c1d18e7b064b2d9d7d2f8c9a2e), [`357d931`](https://github.com/graphql-hive/gateway/commit/357d931a715d58e7a70072e325774e650bf27446), [`02d9ec4`](https://github.com/graphql-hive/gateway/commit/02d9ec4f760b54e40dc1791685d047440de59f69), [`c449385`](https://github.com/graphql-hive/gateway/commit/c449385cf7a80efbc0387798ab7a86a12f51d3d9), [`606d649`](https://github.com/graphql-hive/gateway/commit/606d649a3a7e5eb0091b0125bf6cb83045f03e2d), [`a8458b2`](https://github.com/graphql-hive/gateway/commit/a8458b24e71fda37a515eaf9ac9af43a73e7823f)]: - @graphql-hive/gateway-runtime@2.2.0 - @graphql-hive/logger@1.0.7 - @graphql-hive/plugin-aws-sigv4@2.0.11 - @graphql-hive/plugin-opentelemetry@1.0.13 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-mesh/plugin-prometheus@2.0.14 - @graphql-mesh/transport-http@1.0.7 - @graphql-mesh/transport-http-callback@1.0.7 - @graphql-mesh/transport-ws@2.0.7 ## 2.1.10 ### Patch Changes - [#1589](https://github.com/graphql-hive/gateway/pull/1589) [`b08458f`](https://github.com/graphql-hive/gateway/commit/b08458f2a240e2bd8330aa6b14740b087072ead1) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@opentelemetry/api-logs@^0.206.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.206.0) (from `^0.205.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sampler-jaeger-remote@^0.206.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.206.0) (from `^0.205.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-logs@^0.206.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.206.0) (from `^0.205.0`, in `dependencies`) - Updated dependencies [[`b535a8c`](https://github.com/graphql-hive/gateway/commit/b535a8cbac463e39c896e582692a282b22d6e84f), [`055fd6b`](https://github.com/graphql-hive/gateway/commit/055fd6bd52d0f35f009abe03fdc049e1132f5815), [`29e0608`](https://github.com/graphql-hive/gateway/commit/29e06081ead54a325232c6737dd6c2651f086099), [`b535a8c`](https://github.com/graphql-hive/gateway/commit/b535a8cbac463e39c896e582692a282b22d6e84f), [`055fd6b`](https://github.com/graphql-hive/gateway/commit/055fd6bd52d0f35f009abe03fdc049e1132f5815), [`b08458f`](https://github.com/graphql-hive/gateway/commit/b08458f2a240e2bd8330aa6b14740b087072ead1), [`8c4138d`](https://github.com/graphql-hive/gateway/commit/8c4138df152d195daa1d78ea22ddb7cea2387e20), [`1f419db`](https://github.com/graphql-hive/gateway/commit/1f419db02ebe493f3563e80e0890403a7c080d80)]: - @graphql-hive/gateway-runtime@2.1.9 - @graphql-hive/plugin-aws-sigv4@2.0.10 - @graphql-hive/plugin-opentelemetry@1.0.12 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-mesh/plugin-prometheus@2.0.13 ## 2.1.9 ### 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/apps/dependabot)! - dependencies updates: - Updated dependency [`dotenv@^17.2.3` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.3) (from `^17.2.2`, in `dependencies`) - [#1576](https://github.com/graphql-hive/gateway/pull/1576) [`458db4c`](https://github.com/graphql-hive/gateway/commit/458db4cb53960d92ce81a148aaf63671bf7b01ee) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update OpenSSL in Docker images to address security vulnerabilities; - https://avd.aquasec.com/nvd/cve-2025-9230 - https://avd.aquasec.com/nvd/cve-2025-9231 - Updated dependencies [[`a79f81e`](https://github.com/graphql-hive/gateway/commit/a79f81e04b17fcd089eff5839f4f6797c2ae1274), [`458db4c`](https://github.com/graphql-hive/gateway/commit/458db4cb53960d92ce81a148aaf63671bf7b01ee), [`91a848b`](https://github.com/graphql-hive/gateway/commit/91a848bf2db0b65f2751aaf0b2ebea9ae580e66d), [`883cd5a`](https://github.com/graphql-hive/gateway/commit/883cd5af9bc9badd0adc5596eb6a8cad741a3cb4), [`91a848b`](https://github.com/graphql-hive/gateway/commit/91a848bf2db0b65f2751aaf0b2ebea9ae580e66d), [`a79f81e`](https://github.com/graphql-hive/gateway/commit/a79f81e04b17fcd089eff5839f4f6797c2ae1274), [`91a848b`](https://github.com/graphql-hive/gateway/commit/91a848bf2db0b65f2751aaf0b2ebea9ae580e66d), [`ad8ff45`](https://github.com/graphql-hive/gateway/commit/ad8ff4573f73a9f0e9fa96476c6a1647a97df4ec)]: - @graphql-hive/gateway-runtime@2.1.8 - @graphql-hive/logger@1.0.6 - @graphql-hive/plugin-aws-sigv4@2.0.9 - @graphql-hive/plugin-opentelemetry@1.0.11 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-mesh/plugin-prometheus@2.0.12 - @graphql-mesh/transport-http@1.0.6 - @graphql-mesh/transport-http-callback@1.0.6 - @graphql-mesh/transport-ws@2.0.6 ## 2.1.8 ### Patch Changes - [#1548](https://github.com/graphql-hive/gateway/pull/1548) [`f6938a5`](https://github.com/graphql-hive/gateway/commit/f6938a5d20009351e7f9d3888925152826dabf38) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-tools/graphql-file-loader@^8.1.2` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.1.2) (from `^8.1.1`, in `dependencies`) - [#1565](https://github.com/graphql-hive/gateway/pull/1565) [`1a0d955`](https://github.com/graphql-hive/gateway/commit/1a0d955e5679d923342ed539f7447ab9a8ae9277) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Include also system CA certificates for Node in Docker image In light of the cert removals from https://nodejs.org/en/blog/release/v24.7.0 - Updated dependencies [[`f6938a5`](https://github.com/graphql-hive/gateway/commit/f6938a5d20009351e7f9d3888925152826dabf38), [`9c610b9`](https://github.com/graphql-hive/gateway/commit/9c610b989099f84ddb2a14a9846b4d13c957a444), [`a6a203c`](https://github.com/graphql-hive/gateway/commit/a6a203c90a0303c487661d1b8740fdde041fb313)]: - @graphql-hive/plugin-aws-sigv4@2.0.8 ## 2.1.7 ### Patch Changes - [#1541](https://github.com/graphql-hive/gateway/pull/1541) [`5e511ca`](https://github.com/graphql-hive/gateway/commit/5e511ca9cc555577936bba942c8b3ff0796b015e) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-yoga/render-graphiql@^5.16.0` ↗︎](https://www.npmjs.com/package/@graphql-yoga/render-graphiql/v/5.16.0) (from `^5.15.2`, in `dependencies`) - Updated dependency [`graphql-yoga@^5.16.0` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.16.0) (from `^5.15.2`, in `dependencies`) - Updated dependencies [[`5e511ca`](https://github.com/graphql-hive/gateway/commit/5e511ca9cc555577936bba942c8b3ff0796b015e), [`5e511ca`](https://github.com/graphql-hive/gateway/commit/5e511ca9cc555577936bba942c8b3ff0796b015e), [`5e511ca`](https://github.com/graphql-hive/gateway/commit/5e511ca9cc555577936bba942c8b3ff0796b015e), [`5e511ca`](https://github.com/graphql-hive/gateway/commit/5e511ca9cc555577936bba942c8b3ff0796b015e), [`5e511ca`](https://github.com/graphql-hive/gateway/commit/5e511ca9cc555577936bba942c8b3ff0796b015e), [`0a349fb`](https://github.com/graphql-hive/gateway/commit/0a349fbfd52eaf8a2b21c9669871c916d41b840f)]: - @graphql-hive/gateway-runtime@2.1.7 - @graphql-hive/logger@1.0.5 - @graphql-hive/plugin-aws-sigv4@2.0.7 - @graphql-mesh/plugin-jwt-auth@2.0.6 - @graphql-mesh/plugin-prometheus@2.0.11 - @graphql-mesh/transport-http-callback@1.0.5 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-hive/plugin-opentelemetry@1.0.10 - @graphql-mesh/transport-http@1.0.5 - @graphql-mesh/transport-ws@2.0.5 ## 2.1.6 ### Patch Changes - Updated dependencies []: - @graphql-hive/gateway-runtime@2.1.6 - @graphql-hive/plugin-aws-sigv4@2.0.6 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-hive/plugin-opentelemetry@1.0.9 - @graphql-mesh/plugin-prometheus@2.0.10 ## 2.1.5 ### Patch Changes - [#1524](https://github.com/graphql-hive/gateway/pull/1524) [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Updated dependency [`@envelop/core@^5.3.2` ↗︎](https://www.npmjs.com/package/@envelop/core/v/5.3.2) (from `^5.3.1`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.13) (from `^0.105.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-localforage@^0.105.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.14) (from `^0.105.13`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-redis@^0.104.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.13) (from `^0.104.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.13) (from `^0.1.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-http-cache@^0.105.14` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-http-cache/v/0.105.14) (from `^0.105.13`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-jit@^0.2.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-jit/v/0.2.13) (from `^0.2.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-rate-limit@^0.105.1` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-rate-limit/v/0.105.1) (from `^0.104.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-snapshot@^0.104.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-snapshot/v/0.104.13) (from `^0.104.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/types@^0.104.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.13) (from `^0.104.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.13) (from `^0.104.12`, in `dependencies`) - [#1524](https://github.com/graphql-hive/gateway/pull/1524) [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Improve performance of rate limiter - [#1489](https://github.com/graphql-hive/gateway/pull/1489) [`7ab184c`](https://github.com/graphql-hive/gateway/commit/7ab184c07543889e443cae3237a9e718b7af1980) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Support nested imports of package.json#exports definitions in Docker ```ts import { defineConfig, GatewayPlugin } from '@graphql-hive/gateway'; import { trace } from '@graphql-hive/gateway/opentelemetry/api'; // ✅ import { openTelemetrySetup } from '@graphql-hive/gateway/opentelemetry/setup'; // ✅ ``` - Updated dependencies [[`706b6f4`](https://github.com/graphql-hive/gateway/commit/706b6f47f1e06ec2460d7ae11307108ce08e2607), [`bb2621c`](https://github.com/graphql-hive/gateway/commit/bb2621ce85c42ccbc97c6ca128f959bcb2bb6475), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`bb2621c`](https://github.com/graphql-hive/gateway/commit/bb2621ce85c42ccbc97c6ca128f959bcb2bb6475), [`706b6f4`](https://github.com/graphql-hive/gateway/commit/706b6f47f1e06ec2460d7ae11307108ce08e2607), [`bb2621c`](https://github.com/graphql-hive/gateway/commit/bb2621ce85c42ccbc97c6ca128f959bcb2bb6475), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`d7b48a7`](https://github.com/graphql-hive/gateway/commit/d7b48a778344145478f0d3e1e1e188124181f0f2), [`9da33f9`](https://github.com/graphql-hive/gateway/commit/9da33f960aaf9693f988e09396aa1d76ce890616)]: - @graphql-hive/gateway-runtime@2.1.5 - @graphql-hive/logger@1.0.4 - @graphql-hive/plugin-aws-sigv4@2.0.5 - @graphql-hive/plugin-opentelemetry@1.0.8 - @graphql-mesh/hmac-upstream-signature@2.0.3 - @graphql-mesh/plugin-jwt-auth@2.0.5 - @graphql-mesh/plugin-prometheus@2.0.9 - @graphql-mesh/transport-http@1.0.4 - @graphql-mesh/transport-http-callback@1.0.4 - @graphql-mesh/transport-ws@2.0.4 ## 2.1.4 ### Patch Changes - [#1472](https://github.com/graphql-hive/gateway/pull/1472) [`8080944`](https://github.com/graphql-hive/gateway/commit/8080944849e65d18203b4ca39be6a991d7bf6aaa) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@opentelemetry/api-logs@^0.205.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.205.0) (from `^0.203.0`, in `dependencies`) - Updated dependency [`@opentelemetry/context-async-hooks@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/context-zone@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/core@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/exporter-jaeger@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/exporter-zipkin@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-zipkin/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/propagator-b3@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-b3/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/propagator-jaeger@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-jaeger/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/sampler-jaeger-remote@^0.205.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.205.0) (from `^0.203.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-logs@^0.205.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.205.0) (from `^0.203.0`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-metrics@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.1.0) (from `^2.0.1`, in `dependencies`) - Updated dependency [`@opentelemetry/sdk-trace-base@^2.1.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.1.0) (from `^2.0.1`, in `dependencies`) - [#1505](https://github.com/graphql-hive/gateway/pull/1505) [`1fcec98`](https://github.com/graphql-hive/gateway/commit/1fcec98172ea58f009cdf41c34921494ecfd07fc) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`commander@^14.0.1` ↗︎](https://www.npmjs.com/package/commander/v/14.0.1) (from `^14.0.0`, in `dependencies`) - Updated dependencies [[`babf7db`](https://github.com/graphql-hive/gateway/commit/babf7db20468b409af274974591eeadfd51b27b1), [`59739ea`](https://github.com/graphql-hive/gateway/commit/59739ea706d36d800f4d50b52be66ce4a6a892e2), [`8080944`](https://github.com/graphql-hive/gateway/commit/8080944849e65d18203b4ca39be6a991d7bf6aaa), [`b343aad`](https://github.com/graphql-hive/gateway/commit/b343aadb7de0b1258d626fca504acb08ac01168c)]: - @graphql-hive/gateway-runtime@2.1.4 - @graphql-hive/plugin-opentelemetry@1.0.7 - @graphql-hive/plugin-aws-sigv4@2.0.4 - @graphql-mesh/hmac-upstream-signature@2.0.2 - @graphql-mesh/plugin-prometheus@2.0.8 ## 2.1.3 ### Patch Changes - [#1471](https://github.com/graphql-hive/gateway/pull/1471) [`3751dbf`](https://github.com/graphql-hive/gateway/commit/3751dbf6a47fdb0312de41d72483862c6416c5db) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.12) (from `^0.105.11`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-localforage@^0.105.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.13) (from `^0.105.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-redis@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.12) (from `^0.104.11`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.12) (from `^0.1.11`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-http-cache@^0.105.13` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-http-cache/v/0.105.13) (from `^0.105.12`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-jit@^0.2.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-jit/v/0.2.12) (from `^0.2.11`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-rate-limit@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-rate-limit/v/0.104.12) (from `^0.104.11`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-snapshot@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-snapshot/v/0.104.12) (from `^0.104.11`, in `dependencies`) - Updated dependencies [[`3751dbf`](https://github.com/graphql-hive/gateway/commit/3751dbf6a47fdb0312de41d72483862c6416c5db), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`950ebd1`](https://github.com/graphql-hive/gateway/commit/950ebd1d1686846b59b555695c1738e25fd3268e), [`d722331`](https://github.com/graphql-hive/gateway/commit/d722331dca64ecb5a61cf9c9ad4b93e42f737350), [`950ebd1`](https://github.com/graphql-hive/gateway/commit/950ebd1d1686846b59b555695c1738e25fd3268e), [`fe99f74`](https://github.com/graphql-hive/gateway/commit/fe99f74dd11fdf2928ca7080d4d2e5dfd1e2f18e), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`950ebd1`](https://github.com/graphql-hive/gateway/commit/950ebd1d1686846b59b555695c1738e25fd3268e), [`fe99f74`](https://github.com/graphql-hive/gateway/commit/fe99f74dd11fdf2928ca7080d4d2e5dfd1e2f18e), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`950ebd1`](https://github.com/graphql-hive/gateway/commit/950ebd1d1686846b59b555695c1738e25fd3268e), [`950ebd1`](https://github.com/graphql-hive/gateway/commit/950ebd1d1686846b59b555695c1738e25fd3268e), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`838ffec`](https://github.com/graphql-hive/gateway/commit/838ffecb2ad3d4ef6bbb65607a56302cb45e2f14), [`9b60107`](https://github.com/graphql-hive/gateway/commit/9b60107dbee1b6581679d25e52ce19c366bfe344), [`856f012`](https://github.com/graphql-hive/gateway/commit/856f01287f537c502b1bcec58799890572ddd009)]: - @graphql-hive/gateway-runtime@2.1.3 - @graphql-hive/logger@1.0.3 - @graphql-hive/plugin-aws-sigv4@2.0.4 - @graphql-hive/plugin-opentelemetry@1.0.7 - @graphql-hive/pubsub@2.1.1 - @graphql-mesh/hmac-upstream-signature@2.0.2 - @graphql-mesh/plugin-jwt-auth@2.0.4 - @graphql-mesh/plugin-prometheus@2.0.7 - @graphql-mesh/transport-http@1.0.3 - @graphql-mesh/transport-http-callback@1.0.3 - @graphql-mesh/transport-ws@2.0.3 ## 2.1.2 ### Patch Changes - Updated dependencies [[`70c5010`](https://github.com/graphql-hive/gateway/commit/70c5010b40643a6da0ca5e84a90a5c3ba126107f)]: - @graphql-hive/gateway-runtime@2.1.2 - @graphql-hive/plugin-aws-sigv4@2.0.3 - @graphql-mesh/hmac-upstream-signature@2.0.1 - @graphql-hive/plugin-opentelemetry@1.0.6 - @graphql-mesh/plugin-prometheus@2.0.6 ## 2.1.1 ### Patch Changes - Updated dependencies [[`7212b86`](https://github.com/graphql-hive/gateway/commit/7212b86f3de663d7026de1256494c2fd4fecc5b1)]: - @graphql-hive/gateway-runtime@2.1.1 - @graphql-hive/plugin-aws-sigv4@2.0.3 - @graphql-mesh/hmac-upstream-signature@2.0.1 - @graphql-hive/plugin-opentelemetry@1.0.5 - @graphql-mesh/plugin-prometheus@2.0.5 ## 2.1.0 ### Minor Changes - [#1458](https://github.com/graphql-hive/gateway/pull/1458) [`6495780`](https://github.com/graphql-hive/gateway/commit/6495780516c11e6668ab827113b7edfb6379b5f2) Thanks [@ardatan](https://github.com/ardatan)! - New directive `@pubsubPublish` to publish the payload to the pubsub engine directly ```graphql extend schema @link( url: "https://specs.apollo.dev/federation/v2.6" import: ["@key", "@composeDirective"] ) @link( url: "https://the-guild.dev/mesh/v1.0" import: ["@pubsubOperation", "@pubsubPublish"] ) @composeDirective(name: "@pubsubOperation") @composeDirective(name: "@pubsubPublish") directive @pubsubOperation( pubsubTopic: String! filterBy: String result: String ) on FIELD_DEFINITION directive @pubsubPublish(pubsubTopic: String!) on FIELD_DEFINITION type Query { hello: String! } type Product @key(fields: "id") { id: ID! name: String! price: Float! } type Mutation { createProduct(name: String!, price: Float!): Product! @pubsubPublish(pubsubTopic: "new_product") } type Subscription { newProductSubgraph: Product! @pubsubOperation(pubsubTopic: "new_product") } ``` ### Patch Changes - [#1463](https://github.com/graphql-hive/gateway/pull/1463) [`bcb9407`](https://github.com/graphql-hive/gateway/commit/bcb94071daccb1698439d364ccc37146aa4c5032) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-yoga/render-graphiql@^5.15.2` ↗︎](https://www.npmjs.com/package/@graphql-yoga/render-graphiql/v/5.15.2) (from `^5.15.1`, in `dependencies`) - Updated dependency [`graphql-yoga@^5.15.2` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.15.2) (from `^5.15.1`, in `dependencies`) - [#1462](https://github.com/graphql-hive/gateway/pull/1462) [`0061547`](https://github.com/graphql-hive/gateway/commit/006154724f12de114eea2fedbb84cb15e312a12a) Thanks [@ardatan](https://github.com/ardatan)! - Export RedisPubSub and NATSPubSub from `@graphql-hive/gateway` package - Updated dependencies [[`bcb9407`](https://github.com/graphql-hive/gateway/commit/bcb94071daccb1698439d364ccc37146aa4c5032), [`e758071`](https://github.com/graphql-hive/gateway/commit/e758071ed64ec26baf8c2d1d71bc27275291b018), [`7020674`](https://github.com/graphql-hive/gateway/commit/70206747f0f1ffaddb4b77742bec053bcd90e494), [`7020674`](https://github.com/graphql-hive/gateway/commit/70206747f0f1ffaddb4b77742bec053bcd90e494), [`6495780`](https://github.com/graphql-hive/gateway/commit/6495780516c11e6668ab827113b7edfb6379b5f2), [`7020674`](https://github.com/graphql-hive/gateway/commit/70206747f0f1ffaddb4b77742bec053bcd90e494)]: - @graphql-hive/gateway-runtime@2.1.0 - @graphql-hive/plugin-opentelemetry@1.0.4 - @graphql-hive/plugin-aws-sigv4@2.0.3 - @graphql-mesh/hmac-upstream-signature@2.0.1 - @graphql-mesh/plugin-prometheus@2.0.4 ## 2.0.4 ### Patch Changes - Updated dependencies [[`a6cb800`](https://github.com/graphql-hive/gateway/commit/a6cb800337db07e9aa86092d17cc238346e722e4)]: - @graphql-mesh/plugin-jwt-auth@2.0.3 ## 2.0.3 ### Patch Changes - [#1450](https://github.com/graphql-hive/gateway/pull/1450) [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-mesh/cache-cfw-kv@^0.105.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-cfw-kv/v/0.105.11) (from `^0.105.8`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-localforage@^0.105.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-localforage/v/0.105.12) (from `^0.105.9`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-redis@^0.104.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-redis/v/0.104.11) (from `^0.104.8`, in `dependencies`) - Updated dependency [`@graphql-mesh/cache-upstash-redis@^0.1.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cache-upstash-redis/v/0.1.11) (from `^0.1.8`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-http-cache@^0.105.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-http-cache/v/0.105.12) (from `^0.105.8`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-jit@^0.2.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-jit/v/0.2.11) (from `^0.2.7`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-rate-limit@^0.104.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-rate-limit/v/0.104.11) (from `^0.104.7`, in `dependencies`) - Updated dependency [`@graphql-mesh/plugin-snapshot@^0.104.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-snapshot/v/0.104.11) (from `^0.104.7`, in `dependencies`) - Updated dependency [`@graphql-mesh/types@^0.104.11` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.11) (from `^0.104.8`, in `dependencies`) - [#1452](https://github.com/graphql-hive/gateway/pull/1452) [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@envelop/core@^5.3.1` ↗︎](https://www.npmjs.com/package/@envelop/core/v/5.3.1) (from `^5.3.0`, in `dependencies`) - Updated dependency [`@escape.tech/graphql-armor-max-depth@^2.4.2` ↗︎](https://www.npmjs.com/package/@escape.tech/graphql-armor-max-depth/v/2.4.2) (from `^2.4.0`, in `dependencies`) - Updated dependency [`@graphql-tools/graphql-file-loader@^8.1.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.1.1) (from `^8.0.22`, in `dependencies`) - Updated dependency [`dotenv@^17.2.2` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.2) (from `^17.2.1`, in `dependencies`) - [#1455](https://github.com/graphql-hive/gateway/pull/1455) [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-mesh/types@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.12) (from `^0.104.11`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.12` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.12) (from `^0.104.11`, in `dependencies`) - [#1455](https://github.com/graphql-hive/gateway/pull/1455) [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e) Thanks [@ardatan](https://github.com/ardatan)! - Support client side pubsub operation definition with `@pubsubOperation` Instead of `@resolveTo` on the gateway-side configuration with `additionalTypeDefs`, now you can define those operations on the subgraphs directly. Since this is a additional directive provided by Mesh, you need to use `@composeDirective` ```graphql extend schema @link( url: "https://specs.apollo.dev/federation/v2.6" import: ["@key", "@composeDirective"] ) @link( url: "https://the-guild.dev/mesh/v1.0" import: ["@pubsubOperation"] ) @composeDirective(name: "@pubsubOperation") directive @pubsubOperation( pubsubTopic: String! filterBy: String result: String ) on FIELD_DEFINITION type Query { hello: String! } type Product @key(fields: "id") { id: ID! name: String! price: Float! } type Subscription { newProductSubgraph: Product! @pubsubOperation(pubsubTopic: "new_product") } ``` - Updated dependencies [[`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`ab05e3f`](https://github.com/graphql-hive/gateway/commit/ab05e3f899b017067e0eb42301516d4fdf3b816d), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`b6f985b`](https://github.com/graphql-hive/gateway/commit/b6f985b0456ba7556cc299368892ffc5f7d4817e), [`105c10d`](https://github.com/graphql-hive/gateway/commit/105c10dbe2ef269b83a524927c4ba9e63631b055), [`105c10d`](https://github.com/graphql-hive/gateway/commit/105c10dbe2ef269b83a524927c4ba9e63631b055), [`b0e5568`](https://github.com/graphql-hive/gateway/commit/b0e55688d4fc22d0bfbf664de52e78e9642d7014)]: - @graphql-hive/gateway-runtime@2.0.3 - @graphql-hive/logger@1.0.2 - @graphql-hive/plugin-aws-sigv4@2.0.2 - @graphql-hive/plugin-opentelemetry@1.0.3 - @graphql-mesh/hmac-upstream-signature@2.0.1 - @graphql-mesh/plugin-jwt-auth@2.0.2 - @graphql-mesh/plugin-prometheus@2.0.3 - @graphql-mesh/transport-http@1.0.2 - @graphql-mesh/transport-http-callback@1.0.2 - @graphql-mesh/transport-ws@2.0.2 ## 2.0.2 ### Patch Changes - Updated dependencies [[`20f4880`](https://github.com/graphql-hive/gateway/commit/20f48801dbab0aaccc7aa68f0447f7f5504cb0f7)]: - @graphql-hive/gateway-runtime@2.0.2 - @graphql-hive/plugin-aws-sigv4@2.0.1 - @graphql-mesh/hmac-upstream-signature@2.0.0 - @graphql-hive/plugin-opentelemetry@1.0.2 - @graphql-mesh/plugin-prometheus@2.0.2 ## 2.0.1 ### Patch Changes - [#1441](https://github.com/graphql-hive/gateway/pull/1441) [`2b3946f`](https://github.com/graphql-hive/gateway/commit/2b3946f418b0fb018ca792ff6a2c14fef7abb01d) Thanks [@enisdenjo](https://github.com/enisdenjo)! - maxDepth and maxTokens disabled by default Other gateways out there don't have these defaults and they might be too limiting, let's leave it for the users to decide. No new breaking change because it's too early for significant adoption. - Updated dependencies [[`2b3946f`](https://github.com/graphql-hive/gateway/commit/2b3946f418b0fb018ca792ff6a2c14fef7abb01d), [`65eef45`](https://github.com/graphql-hive/gateway/commit/65eef45eb372f20afa7907a2be1c9cef345bb893), [`65eef45`](https://github.com/graphql-hive/gateway/commit/65eef45eb372f20afa7907a2be1c9cef345bb893), [`65eef45`](https://github.com/graphql-hive/gateway/commit/65eef45eb372f20afa7907a2be1c9cef345bb893)]: - @graphql-hive/pubsub@2.1.0 - @graphql-hive/plugin-opentelemetry@1.0.1 - @graphql-mesh/plugin-jwt-auth@2.0.1 - @graphql-hive/gateway-runtime@2.0.1 - @graphql-hive/plugin-aws-sigv4@2.0.1 - @graphql-mesh/hmac-upstream-signature@2.0.0 - @graphql-mesh/plugin-prometheus@2.0.1 - @graphql-mesh/transport-http@1.0.1 - @graphql-mesh/transport-http-callback@1.0.1 - @graphql-mesh/transport-ws@2.0.1 ## 2.0.0 ### Major Changes - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Sane security defaults, max token and depths limits enabled by default Max token limit defaults to 1000 (can be configured via `maxTokens` option) and max depth limit defaults to 8 (can be configured via `maxDepth` option). - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support Least supported Node version is now v20. - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - `useDeduplicateRequest()` plugin has been removed in favour of the built-in inflight request deduplication To migrate, simply remove the plugin from your configuration and you're good to go! ```diff import { defineConfig, - useDeduplicateRequest, } from '@graphql-hive/gateway' export const gatewayConfig = defineConfig({ - plugins: ctx => [useDeduplicateRequest(ctx)] }) ``` If you still want to use the deprecated plugin, you need to install it separately and use it as before: ```sh npm i @graphql-hive/plugin-deduplicate-request ``` ```ts import { defineConfig, useDeduplicateRequest, type HTTPTransportOptions, // only for typedefs, otherwise not necessary } from '@graphql-hive/gateway' import { useDeduplicateRequest } from '@graphql-hive/plugin-deduplicate-request' export const gatewayConfig = defineConfig({ transportEntries: { '*.http': { options: { // disable the built in deduplication deduplicateInflightRequests: false, } as HTTPTransportOptions, }, }, plugins: ctx => [useDeduplicateRequest(ctx)] }) ``` - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger - [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger) - If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Disable forking even if NODE_ENV=production Forking workers for concurrent processing is a delicate process and if not done carefully can lead to performance degradations. It should be configured with careful consideration by advanced users. - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Remove mocking plugin from Hive Gateway built-ins There is no need to provide the `useMock` plugin alongside Hive Gateway built-ins. Not only is the mock plugin 2MB in size (minified), but installing and using it is very simple. - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Load schema on initialization Failing to start if the schema is not loaded for whatever reason. ### Minor Changes - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - The `defineConfig` accepts a TContext generic ### Patch Changes - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`) - Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/core@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/exporter-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/exporter-zipkin@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-zipkin/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/propagator-b3@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-b3/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/propagator-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-jaeger/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.202.0) (to `dependencies`) - Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Added dependency [`@opentelemetry/api-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.202.0) (to `dependencies`) - Added dependency [`@opentelemetry/sdk-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.202.0) (to `dependencies`) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Removed dependency [`@graphql-hive/plugin-deduplicate-request@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-deduplicate-request/v/workspace:^) (from `dependencies`) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) - Added dependency [`@graphql-hive/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-opentelemetry/v/workspace:^) (to `dependencies`) - Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`) - Added dependency [`@opentelemetry/api-logs@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.203.0) (to `dependencies`) - Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/core@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/exporter-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/exporter-zipkin@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-zipkin/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/propagator-b3@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-b3/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/propagator-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/propagator-jaeger/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.203.0) (to `dependencies`) - Added dependency [`@opentelemetry/sdk-logs@^0.203.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.203.0) (to `dependencies`) - Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`) - Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`) - Removed dependency [`@graphql-hive/plugin-deduplicate-request@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/plugin-deduplicate-request/v/workspace:^) (from `dependencies`) - Removed dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `dependencies`) - Removed dependency [`@graphql-mesh/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-opentelemetry/v/workspace:^) (from `dependencies`) - [#956](https://github.com/graphql-hive/gateway/pull/956) [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Inflight request deduplication - Updated dependencies [[`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d2661`](https://github.com/graphql-hive/gateway/commit/46d26615c2c3c5f936c1d1bca1d03b025c1ce86a), [`46d