@graphql-hive/gateway 2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b → 2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,21 +1,33 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
3
+ ## 2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#956](https://github.com/graphql-hive/gateway/pull/956) [`c2de557`](https://github.com/graphql-hive/gateway/commit/c2de55739ace44858287ef0e3687213c4c362c34) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
7
+ - [#956](https://github.com/graphql-hive/gateway/pull/956) [`2e5d9e3`](https://github.com/graphql-hive/gateway/commit/2e5d9e3c89569ace0d40e2fabd06c61808fed3b0) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support
8
+
9
+ Least supported Node version is now v20.
10
+
11
+ - [#956](https://github.com/graphql-hive/gateway/pull/956) [`6c9083c`](https://github.com/graphql-hive/gateway/commit/6c9083c08c9f61ee224451a370353c18ad08e6d9) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
8
12
 
9
13
  - [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
10
14
  - If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
11
15
 
16
+ - [#956](https://github.com/graphql-hive/gateway/pull/956) [`977784f`](https://github.com/graphql-hive/gateway/commit/977784fd34087ce6db77bfd520cb3f3518b21551) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Disable forking even if NODE_ENV=production
17
+
18
+ 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.
19
+
20
+ - [#956](https://github.com/graphql-hive/gateway/pull/956) [`a83493a`](https://github.com/graphql-hive/gateway/commit/a83493ace7f8c22b8469f0b07ec2ff7bd744eb80) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Remove mocking plugin from Hive Gateway built-ins
21
+
22
+ 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.
23
+
12
24
  ### Patch Changes
13
25
 
14
- - [#956](https://github.com/graphql-hive/gateway/pull/956) [`c2de557`](https://github.com/graphql-hive/gateway/commit/c2de55739ace44858287ef0e3687213c4c362c34) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
26
+ - [#956](https://github.com/graphql-hive/gateway/pull/956) [`6c9083c`](https://github.com/graphql-hive/gateway/commit/6c9083c08c9f61ee224451a370353c18ad08e6d9) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
15
27
 
16
28
  - Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
17
29
 
18
- - [#1171](https://github.com/graphql-hive/gateway/pull/1171) [`5ab76ae`](https://github.com/graphql-hive/gateway/commit/5ab76ae74d6e705c48933bb5f3a767a4003c8570) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
30
+ - [#1171](https://github.com/graphql-hive/gateway/pull/1171) [`86fd77c`](https://github.com/graphql-hive/gateway/commit/86fd77c9f9fa971ef8761919168738293f071193) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
19
31
 
20
32
  - Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
21
33
  - Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
@@ -27,22 +39,37 @@
27
39
  - Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.202.0) (to `dependencies`)
28
40
  - Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
29
41
 
30
- - [#956](https://github.com/graphql-hive/gateway/pull/956) [`daed0aa`](https://github.com/graphql-hive/gateway/commit/daed0aa2fbecb5588c7f7fdc70b1ecab08f9a7b1) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
42
+ - [#956](https://github.com/graphql-hive/gateway/pull/956) [`81671ba`](https://github.com/graphql-hive/gateway/commit/81671ba909e319be155d2ec2f10f5e3f6cc01cec) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
31
43
 
32
44
  - Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
45
+ - Removed dependency [`@graphql-mesh/plugin-mock@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.6) (from `dependencies`)
33
46
 
34
- - Updated dependencies [[`c2de557`](https://github.com/graphql-hive/gateway/commit/c2de55739ace44858287ef0e3687213c4c362c34), [`daed0aa`](https://github.com/graphql-hive/gateway/commit/daed0aa2fbecb5588c7f7fdc70b1ecab08f9a7b1), [`bbc37f8`](https://github.com/graphql-hive/gateway/commit/bbc37f84325fa3280ea88d9008dd908185a938c4), [`c355ebe`](https://github.com/graphql-hive/gateway/commit/c355ebe6df55b201b6c970442a67fa7c0bb6e87e), [`beba61b`](https://github.com/graphql-hive/gateway/commit/beba61be65b8c3b0418b94637c7da9aa676ec58e), [`d1ba180`](https://github.com/graphql-hive/gateway/commit/d1ba18059b33c844225fa55d972dbfc90faa3729), [`c2de557`](https://github.com/graphql-hive/gateway/commit/c2de55739ace44858287ef0e3687213c4c362c34), [`daed0aa`](https://github.com/graphql-hive/gateway/commit/daed0aa2fbecb5588c7f7fdc70b1ecab08f9a7b1), [`c2de557`](https://github.com/graphql-hive/gateway/commit/c2de55739ace44858287ef0e3687213c4c362c34), [`10c4f8e`](https://github.com/graphql-hive/gateway/commit/10c4f8ebd3f94ce7a4027ad3bff1436805058ca3), [`a7365b1`](https://github.com/graphql-hive/gateway/commit/a7365b1b44281b11586b110a0395409889daf82e), [`2b452d5`](https://github.com/graphql-hive/gateway/commit/2b452d54131237a713aaa49a8d9e606a526e6a5c), [`da779b3`](https://github.com/graphql-hive/gateway/commit/da779b31208ad472cdcbc32bd1376b19271203ac), [`d1ba180`](https://github.com/graphql-hive/gateway/commit/d1ba18059b33c844225fa55d972dbfc90faa3729), [`c2de557`](https://github.com/graphql-hive/gateway/commit/c2de55739ace44858287ef0e3687213c4c362c34)]:
35
- - @graphql-hive/gateway-runtime@2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
36
- - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
37
- - @graphql-mesh/plugin-prometheus@2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
38
- - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
39
- - @graphql-mesh/transport-http-callback@1.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
40
- - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
41
- - @graphql-mesh/transport-ws@2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
42
- - @graphql-hive/logger@1.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
43
- - @graphql-hive/plugin-aws-sigv4@1.0.14-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
47
+ - Updated dependencies [[`6c9083c`](https://github.com/graphql-hive/gateway/commit/6c9083c08c9f61ee224451a370353c18ad08e6d9), [`81671ba`](https://github.com/graphql-hive/gateway/commit/81671ba909e319be155d2ec2f10f5e3f6cc01cec), [`a4395be`](https://github.com/graphql-hive/gateway/commit/a4395be9b4705a57a3a0f6d6c76ca16cc6f60fc4), [`2375a73`](https://github.com/graphql-hive/gateway/commit/2375a73752497960e18a2d9f58ae70125b89b64a), [`1942a82`](https://github.com/graphql-hive/gateway/commit/1942a82c039703b5682b64bda8464945722d266c), [`dd09ea9`](https://github.com/graphql-hive/gateway/commit/dd09ea939cc92d86559b3d4abe2d2a86a6f84ef4), [`6c9083c`](https://github.com/graphql-hive/gateway/commit/6c9083c08c9f61ee224451a370353c18ad08e6d9), [`81671ba`](https://github.com/graphql-hive/gateway/commit/81671ba909e319be155d2ec2f10f5e3f6cc01cec), [`2e5d9e3`](https://github.com/graphql-hive/gateway/commit/2e5d9e3c89569ace0d40e2fabd06c61808fed3b0), [`6c9083c`](https://github.com/graphql-hive/gateway/commit/6c9083c08c9f61ee224451a370353c18ad08e6d9), [`e08a863`](https://github.com/graphql-hive/gateway/commit/e08a863ad6ed47f3ab9c41efcb4b9434b0d61d59), [`17c1241`](https://github.com/graphql-hive/gateway/commit/17c12417e321dba453d149d08df730307bda300b), [`f008aed`](https://github.com/graphql-hive/gateway/commit/f008aed2fa901905090ef19ec43f8043b5852103), [`f0ff13d`](https://github.com/graphql-hive/gateway/commit/f0ff13d086a30eb156469cdb3452298f2ea0352e), [`dd09ea9`](https://github.com/graphql-hive/gateway/commit/dd09ea939cc92d86559b3d4abe2d2a86a6f84ef4), [`6c9083c`](https://github.com/graphql-hive/gateway/commit/6c9083c08c9f61ee224451a370353c18ad08e6d9), [`07c2d07`](https://github.com/graphql-hive/gateway/commit/07c2d07b11cce6d3f50fadd16b3e36597cd2472f)]:
48
+ - @graphql-hive/gateway-runtime@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
49
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
50
+ - @graphql-mesh/plugin-prometheus@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
51
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
52
+ - @graphql-hive/plugin-deduplicate-request@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
53
+ - @graphql-mesh/transport-http-callback@1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
54
+ - @graphql-hive/plugin-aws-sigv4@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
55
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
56
+ - @graphql-mesh/transport-http@1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
57
+ - @graphql-mesh/transport-ws@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
58
+ - @graphql-hive/importer@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
59
+ - @graphql-hive/logger@1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
60
+ - @graphql-hive/pubsub@2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44
61
+
62
+ ## 1.15.3
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies []:
67
+ - @graphql-hive/gateway-runtime@1.9.3
68
+ - @graphql-hive/plugin-aws-sigv4@1.0.14
44
69
  - @graphql-hive/plugin-deduplicate-request@1.0.1
45
- - @graphql-mesh/transport-http@0.6.44-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b
70
+ - @graphql-mesh/hmac-upstream-signature@1.2.28
71
+ - @graphql-mesh/plugin-opentelemetry@1.3.61
72
+ - @graphql-mesh/plugin-prometheus@1.3.49
46
73
 
47
74
  ## 1.15.2
48
75
 
package/dist/bin.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  require('dotenv/config');
4
4
  var module$1 = require('node:module');
5
5
  var logger = require('@graphql-hive/logger');
6
- var cli = require('./cli-BuM-InLk.cjs');
6
+ var cli = require('./cli-Bej_F2hi.cjs');
7
7
  require('node:cluster');
8
8
  require('node:os');
9
9
  require('node:path');
package/dist/bin.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import 'dotenv/config';
3
3
  import module from 'node:module';
4
4
  import { Logger } from '@graphql-hive/logger';
5
- import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BvnQIP6H.js';
5
+ import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-B_Lev2Nu.js';
6
6
  import 'node:cluster';
7
7
  import 'node:os';
8
8
  import 'node:path';
@@ -1165,9 +1165,8 @@ function getMaxConcurrency() {
1165
1165
  function defineConfig(config) {
1166
1166
  return config;
1167
1167
  }
1168
- const maxFork = getMaxConcurrency();
1169
1168
  const defaultOptions = {
1170
- fork: process.env["NODE_ENV"] === "production" ? maxFork : 1,
1169
+ fork: 1,
1171
1170
  host: platform().toLowerCase() === "win32" || // is WSL?
1172
1171
  release().toLowerCase().includes("microsoft") ? "127.0.0.1" : "0.0.0.0",
1173
1172
  port: 4e3,
@@ -1179,19 +1178,20 @@ let cli = new Command().configureHelp({
1179
1178
  showGlobalOptions: true
1180
1179
  }).addOption(
1181
1180
  new Option(
1182
- "--fork <count>",
1183
- `count of workers to spawn. uses "${maxFork}" (available parallelism) workers when NODE_ENV is "production", otherwise "1" (the main) worker (default: ${defaultOptions.fork})`
1181
+ "--fork <number>",
1182
+ `number of workers to spawn. (default: ${defaultOptions.fork})`
1184
1183
  ).env("FORK").argParser((v) => {
1185
- const count = parseInt(v);
1186
- if (isNaN(count)) {
1184
+ const number = parseInt(v);
1185
+ if (isNaN(number)) {
1187
1186
  throw new InvalidArgumentError("not a number.");
1188
1187
  }
1189
- if (count > maxFork) {
1188
+ const maxConcurrency = getMaxConcurrency();
1189
+ if (number > maxConcurrency) {
1190
1190
  throw new InvalidArgumentError(
1191
- `exceedes number of available parallelism "${maxFork}".`
1191
+ `exceedes number of available concurrency "${maxConcurrency}".`
1192
1192
  );
1193
1193
  }
1194
- return count;
1194
+ return number;
1195
1195
  })
1196
1196
  ).addOption(
1197
1197
  new Option(
@@ -1172,9 +1172,8 @@ function getMaxConcurrency() {
1172
1172
  function defineConfig(config) {
1173
1173
  return config;
1174
1174
  }
1175
- const maxFork = getMaxConcurrency();
1176
1175
  const defaultOptions = {
1177
- fork: process.env["NODE_ENV"] === "production" ? maxFork : 1,
1176
+ fork: 1,
1178
1177
  host: node_os.platform().toLowerCase() === "win32" || // is WSL?
1179
1178
  node_os.release().toLowerCase().includes("microsoft") ? "127.0.0.1" : "0.0.0.0",
1180
1179
  port: 4e3,
@@ -1186,19 +1185,20 @@ let cli = new extraTypings.Command().configureHelp({
1186
1185
  showGlobalOptions: true
1187
1186
  }).addOption(
1188
1187
  new extraTypings.Option(
1189
- "--fork <count>",
1190
- `count of workers to spawn. uses "${maxFork}" (available parallelism) workers when NODE_ENV is "production", otherwise "1" (the main) worker (default: ${defaultOptions.fork})`
1188
+ "--fork <number>",
1189
+ `number of workers to spawn. (default: ${defaultOptions.fork})`
1191
1190
  ).env("FORK").argParser((v) => {
1192
- const count = parseInt(v);
1193
- if (isNaN(count)) {
1191
+ const number = parseInt(v);
1192
+ if (isNaN(number)) {
1194
1193
  throw new extraTypings.InvalidArgumentError("not a number.");
1195
1194
  }
1196
- if (count > maxFork) {
1195
+ const maxConcurrency = getMaxConcurrency();
1196
+ if (number > maxConcurrency) {
1197
1197
  throw new extraTypings.InvalidArgumentError(
1198
- `exceedes number of available parallelism "${maxFork}".`
1198
+ `exceedes number of available concurrency "${maxConcurrency}".`
1199
1199
  );
1200
1200
  }
1201
- return count;
1201
+ return number;
1202
1202
  })
1203
1203
  ).addOption(
1204
1204
  new extraTypings.Option(
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cli = require('./cli-BuM-InLk.cjs');
3
+ var cli = require('./cli-Bej_F2hi.cjs');
4
4
  var logger = require('@graphql-hive/logger');
5
5
  var gatewayRuntime = require('@graphql-hive/gateway-runtime');
6
6
  var pubsub = require('@graphql-hive/pubsub');
@@ -10,7 +10,6 @@ var pluginPrometheus = require('@graphql-mesh/plugin-prometheus');
10
10
  var pluginRateLimit = require('@graphql-mesh/plugin-rate-limit');
11
11
  var pluginHttpCache = require('@graphql-mesh/plugin-http-cache');
12
12
  var pluginDeduplicateRequest = require('@graphql-hive/plugin-deduplicate-request');
13
- var pluginMock = require('@graphql-mesh/plugin-mock');
14
13
  var pluginSnapshot = require('@graphql-mesh/plugin-snapshot');
15
14
  var cacheCfwKv = require('@graphql-mesh/cache-cfw-kv');
16
15
  var cacheRedis = require('@graphql-mesh/cache-redis');
@@ -41,7 +40,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
41
40
  var pluginPrometheus__default = /*#__PURE__*/_interopDefault(pluginPrometheus);
42
41
  var pluginRateLimit__default = /*#__PURE__*/_interopDefault(pluginRateLimit);
43
42
  var pluginHttpCache__default = /*#__PURE__*/_interopDefault(pluginHttpCache);
44
- var pluginMock__default = /*#__PURE__*/_interopDefault(pluginMock);
45
43
  var pluginSnapshot__default = /*#__PURE__*/_interopDefault(pluginSnapshot);
46
44
  var cacheCfwKv__default = /*#__PURE__*/_interopDefault(cacheCfwKv);
47
45
  var cacheRedis__default = /*#__PURE__*/_interopDefault(cacheRedis);
@@ -80,10 +78,6 @@ Object.defineProperty(exports, "useDeduplicateRequest", {
80
78
  enumerable: true,
81
79
  get: function () { return pluginDeduplicateRequest.useDeduplicateRequest; }
82
80
  });
83
- Object.defineProperty(exports, "useMock", {
84
- enumerable: true,
85
- get: function () { return pluginMock__default.default; }
86
- });
87
81
  Object.defineProperty(exports, "useSnapshot", {
88
82
  enumerable: true,
89
83
  get: function () { return pluginSnapshot__default.default; }
package/dist/index.d.cts CHANGED
@@ -20,7 +20,6 @@ import { YamlConfig, KeyValueCache } from '@graphql-mesh/types';
20
20
  export { default as useRateLimit } from '@graphql-mesh/plugin-rate-limit';
21
21
  export { default as useHttpCache } from '@graphql-mesh/plugin-http-cache';
22
22
  export { useDeduplicateRequest } from '@graphql-hive/plugin-deduplicate-request';
23
- export { default as useMock } from '@graphql-mesh/plugin-mock';
24
23
  export { default as useSnapshot } from '@graphql-mesh/plugin-snapshot';
25
24
  export { default as CloudflareKVCacheStorage } from '@graphql-mesh/cache-cfw-kv';
26
25
  export { default as RedisCacheStorage } from '@graphql-mesh/cache-redis';
package/dist/index.d.ts CHANGED
@@ -20,7 +20,6 @@ import { YamlConfig, KeyValueCache } from '@graphql-mesh/types';
20
20
  export { default as useRateLimit } from '@graphql-mesh/plugin-rate-limit';
21
21
  export { default as useHttpCache } from '@graphql-mesh/plugin-http-cache';
22
22
  export { useDeduplicateRequest } from '@graphql-hive/plugin-deduplicate-request';
23
- export { default as useMock } from '@graphql-mesh/plugin-mock';
24
23
  export { default as useSnapshot } from '@graphql-mesh/plugin-snapshot';
25
24
  export { default as CloudflareKVCacheStorage } from '@graphql-mesh/cache-cfw-kv';
26
25
  export { default as RedisCacheStorage } from '@graphql-mesh/cache-redis';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossible, a as getBuiltinPluginsFromConfig, g as getCacheInstanceFromConfig, h as handleNodeWarnings, r as run } from './cli-BvnQIP6H.js';
1
+ export { b as defaultOptions, d as defineConfig, e as enableModuleCachingIfPossible, a as getBuiltinPluginsFromConfig, g as getCacheInstanceFromConfig, h as handleNodeWarnings, r as run } from './cli-B_Lev2Nu.js';
2
2
  export * from '@graphql-hive/logger';
3
3
  export * from '@graphql-hive/gateway-runtime';
4
4
  export { PubSub } from '@graphql-hive/pubsub';
@@ -9,7 +9,6 @@ export { default as usePrometheus } from '@graphql-mesh/plugin-prometheus';
9
9
  export { default as useRateLimit } from '@graphql-mesh/plugin-rate-limit';
10
10
  export { default as useHttpCache } from '@graphql-mesh/plugin-http-cache';
11
11
  export { useDeduplicateRequest } from '@graphql-hive/plugin-deduplicate-request';
12
- export { default as useMock } from '@graphql-mesh/plugin-mock';
13
12
  export { default as useSnapshot } from '@graphql-mesh/plugin-snapshot';
14
13
  export { default as CloudflareKVCacheStorage } from '@graphql-mesh/cache-cfw-kv';
15
14
  export { default as RedisCacheStorage } from '@graphql-mesh/cache-redis';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
3
+ "version": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "license": "MIT",
17
17
  "engines": {
18
- "node": ">=18.0.0"
18
+ "node": ">=20.0.0"
19
19
  },
20
20
  "bin": {
21
21
  "hive-gateway": "./dist/bin.js"
@@ -53,29 +53,28 @@
53
53
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
54
54
  "@escape.tech/graphql-armor-max-depth": "^2.4.0",
55
55
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
56
- "@graphql-hive/gateway-runtime": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
57
- "@graphql-hive/importer": "^1.1.0",
58
- "@graphql-hive/logger": "1.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
59
- "@graphql-hive/plugin-aws-sigv4": "1.0.14-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
60
- "@graphql-hive/plugin-deduplicate-request": "^1.0.1",
61
- "@graphql-hive/pubsub": "^1.0.0",
56
+ "@graphql-hive/gateway-runtime": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
57
+ "@graphql-hive/importer": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
58
+ "@graphql-hive/logger": "1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
59
+ "@graphql-hive/plugin-aws-sigv4": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
60
+ "@graphql-hive/plugin-deduplicate-request": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
61
+ "@graphql-hive/pubsub": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
62
62
  "@graphql-mesh/cache-cfw-kv": "^0.105.5",
63
63
  "@graphql-mesh/cache-localforage": "^0.105.6",
64
64
  "@graphql-mesh/cache-redis": "^0.104.5",
65
65
  "@graphql-mesh/cache-upstash-redis": "^0.1.5",
66
66
  "@graphql-mesh/cross-helpers": "^0.4.10",
67
- "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
67
+ "@graphql-mesh/hmac-upstream-signature": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
68
68
  "@graphql-mesh/plugin-http-cache": "^0.105.6",
69
69
  "@graphql-mesh/plugin-jit": "^0.2.5",
70
- "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
71
- "@graphql-mesh/plugin-mock": "^0.105.6",
72
- "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
73
- "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
70
+ "@graphql-mesh/plugin-jwt-auth": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
71
+ "@graphql-mesh/plugin-opentelemetry": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
72
+ "@graphql-mesh/plugin-prometheus": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
74
73
  "@graphql-mesh/plugin-rate-limit": "^0.104.5",
75
74
  "@graphql-mesh/plugin-snapshot": "^0.104.5",
76
- "@graphql-mesh/transport-http": "0.6.44-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
77
- "@graphql-mesh/transport-http-callback": "1.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
78
- "@graphql-mesh/transport-ws": "2.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
75
+ "@graphql-mesh/transport-http": "1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
76
+ "@graphql-mesh/transport-http-callback": "1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
77
+ "@graphql-mesh/transport-ws": "2.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
79
78
  "@graphql-mesh/types": "^0.104.5",
80
79
  "@graphql-mesh/utils": "^0.104.5",
81
80
  "@graphql-tools/code-file-loader": "^8.1.15",
@@ -100,7 +99,7 @@
100
99
  "ws": "^8.18.0"
101
100
  },
102
101
  "devDependencies": {
103
- "@graphql-mesh/transport-common": "1.0.0-alpha-c7160a656bd60bb1b28ae0e05bcbc90b745e6e6b",
102
+ "@graphql-mesh/transport-common": "1.0.0-alpha-09d3a725efa0be18c872e144fc3f689b4d4c1b44",
104
103
  "@graphql-mesh/transport-soap": "^0.10.6",
105
104
  "@graphql-tools/executor": "^1.4.7",
106
105
  "@rollup/plugin-commonjs": "^28.0.0",