@graphql-hive/gateway 2.0.0-next-391b3ed9ced78a8e26b87f6a3983d1d7aff273e6 → 2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
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 +14 -14
- package/dist/bin.cjs +2 -2
- package/dist/bin.js +2 -2
- package/dist/{cli-Bqlsj3cS.js → cli-CY4TASP9.js} +5 -4
- package/dist/{cli-iNGw9YAd.cjs → cli-oA6gRjRg.cjs} +5 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
## 2.0.0-next-
|
3
|
+
## 2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
4
4
|
### Major Changes
|
5
5
|
|
6
6
|
|
@@ -92,19 +92,19 @@
|
|
92
92
|
- Removed dependency [`@graphql-mesh/plugin-mock@^0.105.8` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.8) (from `dependencies`)
|
93
93
|
- Removed dependency [`@graphql-mesh/plugin-opentelemetry@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-opentelemetry/v/workspace:^) (from `dependencies`)
|
94
94
|
- Updated dependencies [[`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`f09c4a7`](https://github.com/graphql-hive/gateway/commit/f09c4a74e37c29d4a44cc5612078754e38e54c4a), [`dafd3a1`](https://github.com/graphql-hive/gateway/commit/dafd3a17f02cb85963d6004665017e4733f14fb8), [`91e0764`](https://github.com/graphql-hive/gateway/commit/91e0764ceed0e892cfbe93f8d6e1353fadfa0f8a), [`475ef5c`](https://github.com/graphql-hive/gateway/commit/475ef5cad6c7b7328a18e4d6b851bbcafb09d1a1), [`b0bdd93`](https://github.com/graphql-hive/gateway/commit/b0bdd93de13286e9481217f7c31fe151b3e810f7), [`b4ac110`](https://github.com/graphql-hive/gateway/commit/b4ac11056eface0747eb5a94217e773787b87834), [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`91e0764`](https://github.com/graphql-hive/gateway/commit/91e0764ceed0e892cfbe93f8d6e1353fadfa0f8a), [`22bd3f7`](https://github.com/graphql-hive/gateway/commit/22bd3f70d2901738d4c35e02282569546b820b11), [`5cbfc38`](https://github.com/graphql-hive/gateway/commit/5cbfc389021dcf616402788080ffb56b69ff6019), [`b0bdd93`](https://github.com/graphql-hive/gateway/commit/b0bdd93de13286e9481217f7c31fe151b3e810f7), [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`f238e21`](https://github.com/graphql-hive/gateway/commit/f238e215ef5ac9b8c93458d4889bf80f85a574ed), [`5dee497`](https://github.com/graphql-hive/gateway/commit/5dee497a3a2908bd2c18b8f50c1c9226023abe1f), [`44530c2`](https://github.com/graphql-hive/gateway/commit/44530c2713a1039e420a793c76fc4dc2231b936e), [`c84b36e`](https://github.com/graphql-hive/gateway/commit/c84b36e1125a8ab3bd8e988be285b96c8545073d), [`00047fd`](https://github.com/graphql-hive/gateway/commit/00047fd581f257d8be5499a25ee80425fb01fc85), [`f238e21`](https://github.com/graphql-hive/gateway/commit/f238e215ef5ac9b8c93458d4889bf80f85a574ed), [`76073af`](https://github.com/graphql-hive/gateway/commit/76073af61b408de42c85f21696cf20a0d97e4027), [`b4f5042`](https://github.com/graphql-hive/gateway/commit/b4f5042c2f152252918a8814d060e39cb9551cdd), [`01c414f`](https://github.com/graphql-hive/gateway/commit/01c414f6c50edeb1b8dfd09386a12e0499835355), [`b0bdd93`](https://github.com/graphql-hive/gateway/commit/b0bdd93de13286e9481217f7c31fe151b3e810f7), [`61f45a1`](https://github.com/graphql-hive/gateway/commit/61f45a13e1175bfb30fbd397604c92ee1fd19a1a)]:
|
95
|
-
- @graphql-hive/gateway-runtime@2.0.0-next-
|
96
|
-
- @graphql-hive/plugin-opentelemetry@1.0.0-next-
|
97
|
-
- @graphql-hive/pubsub@2.0.0-next-
|
98
|
-
- @graphql-mesh/plugin-prometheus@2.0.0-next-
|
99
|
-
- @graphql-mesh/hmac-upstream-signature@2.0.0-next-
|
100
|
-
- @graphql-hive/plugin-deduplicate-request@2.0.0-next-
|
101
|
-
- @graphql-mesh/transport-http-callback@1.0.0-next-
|
102
|
-
- @graphql-hive/plugin-aws-sigv4@2.0.0-next-
|
103
|
-
- @graphql-mesh/plugin-jwt-auth@2.0.0-next-
|
104
|
-
- @graphql-mesh/transport-http@1.0.0-next-
|
105
|
-
- @graphql-mesh/transport-ws@2.0.0-next-
|
106
|
-
- @graphql-hive/importer@2.0.0-next-
|
107
|
-
- @graphql-hive/logger@1.0.1-next-
|
95
|
+
- @graphql-hive/gateway-runtime@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
96
|
+
- @graphql-hive/plugin-opentelemetry@1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
97
|
+
- @graphql-hive/pubsub@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
98
|
+
- @graphql-mesh/plugin-prometheus@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
99
|
+
- @graphql-mesh/hmac-upstream-signature@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
100
|
+
- @graphql-hive/plugin-deduplicate-request@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
101
|
+
- @graphql-mesh/transport-http-callback@1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
102
|
+
- @graphql-hive/plugin-aws-sigv4@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
103
|
+
- @graphql-mesh/plugin-jwt-auth@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
104
|
+
- @graphql-mesh/transport-http@1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
105
|
+
- @graphql-mesh/transport-ws@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
106
|
+
- @graphql-hive/importer@2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
107
|
+
- @graphql-hive/logger@1.0.1-next-8c427cf82ca0b277e7a0a1769787715c29128406
|
108
108
|
|
109
109
|
## 1.16.5
|
110
110
|
### Patch Changes
|
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-
|
6
|
+
var cli = require('./cli-oA6gRjRg.cjs');
|
7
7
|
require('node:cluster');
|
8
8
|
require('node:os');
|
9
9
|
require('node:path');
|
@@ -28,7 +28,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
28
|
|
29
29
|
var module__default = /*#__PURE__*/_interopDefault(module$1);
|
30
30
|
|
31
|
-
globalThis.__VERSION__ = '2.0.0-next-
|
31
|
+
globalThis.__VERSION__ = '2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406';
|
32
32
|
module__default.default.register("@graphql-hive/importer/hooks", {
|
33
33
|
parentURL: (
|
34
34
|
// @ts-ignore bob will complain when bundling for cjs
|
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-
|
5
|
+
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-CY4TASP9.js';
|
6
6
|
import 'node:cluster';
|
7
7
|
import 'node:os';
|
8
8
|
import 'node:path';
|
@@ -22,7 +22,7 @@ import '@graphql-tools/code-file-loader';
|
|
22
22
|
import '@graphql-tools/graphql-file-loader';
|
23
23
|
import '@graphql-tools/load';
|
24
24
|
|
25
|
-
globalThis.__VERSION__ = '2.0.0-next-
|
25
|
+
globalThis.__VERSION__ = '2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406';
|
26
26
|
module.register("@graphql-hive/importer/hooks", {
|
27
27
|
parentURL: (
|
28
28
|
// @ts-ignore bob will complain when bundling for cjs
|
@@ -517,7 +517,7 @@ function handleFork(log, config) {
|
|
517
517
|
return false;
|
518
518
|
}
|
519
519
|
|
520
|
-
async function
|
520
|
+
async function handleOpenTelemetryCLIOpts(ctx, cliOpts) {
|
521
521
|
const accessToken = cliOpts.hiveTraceAccessToken;
|
522
522
|
const traceEndpoint = cliOpts.hiveTraceEndpoint;
|
523
523
|
const target = cliOpts.hiveTarget;
|
@@ -579,6 +579,7 @@ async function handleOpenTelemetryConfig(ctx, cliOpts) {
|
|
579
579
|
return new module.AsyncLocalStorageContextManager();
|
580
580
|
}).catch(() => null);
|
581
581
|
openTelemetrySetup({
|
582
|
+
log,
|
582
583
|
traces: { processors },
|
583
584
|
resource: await detectResource().catch((err) => {
|
584
585
|
if (err && typeof err === "object" && "code" in err && err.code === "ERR_MODULE_NOT_FOUND") {
|
@@ -720,7 +721,7 @@ const addCommand$2 = (ctx, cli) => cli.command("proxy").description(
|
|
720
721
|
...opts
|
721
722
|
} = this.optsWithGlobals();
|
722
723
|
ctx.log.info(`Starting ${ctx.productName} ${ctx.version} in proxy mode`);
|
723
|
-
const openTelemetryEnabledByCLI = await
|
724
|
+
const openTelemetryEnabledByCLI = await handleOpenTelemetryCLIOpts(ctx, {
|
724
725
|
openTelemetry: opentelemetry,
|
725
726
|
openTelemetryExporterType: opentelemetryExporterType,
|
726
727
|
hiveTarget,
|
@@ -896,7 +897,7 @@ const addCommand$1 = (ctx, cli) => cli.command("subgraph").description(
|
|
896
897
|
...opts
|
897
898
|
} = this.optsWithGlobals();
|
898
899
|
ctx.log.info(`Starting ${ctx.productName} ${ctx.version} as subgraph`);
|
899
|
-
const openTelemetryEnabledByCLI = await
|
900
|
+
const openTelemetryEnabledByCLI = await handleOpenTelemetryCLIOpts(ctx, {
|
900
901
|
openTelemetry: opentelemetry,
|
901
902
|
openTelemetryExporterType: opentelemetryExporterType,
|
902
903
|
hiveTarget,
|
@@ -1060,7 +1061,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1060
1061
|
ctx.log.info(
|
1061
1062
|
`Starting ${ctx.productName} ${ctx.version} with supergraph`
|
1062
1063
|
);
|
1063
|
-
const openTelemetryEnabledByCLI = await
|
1064
|
+
const openTelemetryEnabledByCLI = await handleOpenTelemetryCLIOpts(ctx, {
|
1064
1065
|
openTelemetry: opentelemetry,
|
1065
1066
|
openTelemetryExporterType: opentelemetryExporterType,
|
1066
1067
|
hiveTarget,
|
@@ -524,7 +524,7 @@ function handleFork(log, config) {
|
|
524
524
|
return false;
|
525
525
|
}
|
526
526
|
|
527
|
-
async function
|
527
|
+
async function handleOpenTelemetryCLIOpts(ctx, cliOpts) {
|
528
528
|
const accessToken = cliOpts.hiveTraceAccessToken;
|
529
529
|
const traceEndpoint = cliOpts.hiveTraceEndpoint;
|
530
530
|
const target = cliOpts.hiveTarget;
|
@@ -586,6 +586,7 @@ async function handleOpenTelemetryConfig(ctx, cliOpts) {
|
|
586
586
|
return new module.AsyncLocalStorageContextManager();
|
587
587
|
}).catch(() => null);
|
588
588
|
openTelemetrySetup({
|
589
|
+
log,
|
589
590
|
traces: { processors },
|
590
591
|
resource: await detectResource().catch((err) => {
|
591
592
|
if (err && typeof err === "object" && "code" in err && err.code === "ERR_MODULE_NOT_FOUND") {
|
@@ -727,7 +728,7 @@ const addCommand$2 = (ctx, cli) => cli.command("proxy").description(
|
|
727
728
|
...opts
|
728
729
|
} = this.optsWithGlobals();
|
729
730
|
ctx.log.info(`Starting ${ctx.productName} ${ctx.version} in proxy mode`);
|
730
|
-
const openTelemetryEnabledByCLI = await
|
731
|
+
const openTelemetryEnabledByCLI = await handleOpenTelemetryCLIOpts(ctx, {
|
731
732
|
openTelemetry: opentelemetry,
|
732
733
|
openTelemetryExporterType: opentelemetryExporterType,
|
733
734
|
hiveTarget,
|
@@ -903,7 +904,7 @@ const addCommand$1 = (ctx, cli) => cli.command("subgraph").description(
|
|
903
904
|
...opts
|
904
905
|
} = this.optsWithGlobals();
|
905
906
|
ctx.log.info(`Starting ${ctx.productName} ${ctx.version} as subgraph`);
|
906
|
-
const openTelemetryEnabledByCLI = await
|
907
|
+
const openTelemetryEnabledByCLI = await handleOpenTelemetryCLIOpts(ctx, {
|
907
908
|
openTelemetry: opentelemetry,
|
908
909
|
openTelemetryExporterType: opentelemetryExporterType,
|
909
910
|
hiveTarget,
|
@@ -1067,7 +1068,7 @@ const addCommand = (ctx, cli) => cli.command("supergraph").description(
|
|
1067
1068
|
ctx.log.info(
|
1068
1069
|
`Starting ${ctx.productName} ${ctx.version} with supergraph`
|
1069
1070
|
);
|
1070
|
-
const openTelemetryEnabledByCLI = await
|
1071
|
+
const openTelemetryEnabledByCLI = await handleOpenTelemetryCLIOpts(ctx, {
|
1071
1072
|
openTelemetry: opentelemetry,
|
1072
1073
|
openTelemetryExporterType: opentelemetryExporterType,
|
1073
1074
|
hiveTarget,
|
package/dist/index.cjs
CHANGED
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-
|
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-CY4TASP9.js';
|
2
2
|
export * from '@graphql-hive/logger';
|
3
3
|
export * from '@graphql-hive/gateway-runtime';
|
4
4
|
export * from '@graphql-hive/pubsub';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-hive/gateway",
|
3
|
-
"version": "2.0.0-next-
|
3
|
+
"version": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
4
4
|
"type": "module",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -83,28 +83,28 @@
|
|
83
83
|
"@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
|
84
84
|
"@escape.tech/graphql-armor-max-depth": "^2.4.0",
|
85
85
|
"@escape.tech/graphql-armor-max-tokens": "^2.5.0",
|
86
|
-
"@graphql-hive/gateway-runtime": "2.0.0-next-
|
87
|
-
"@graphql-hive/importer": "2.0.0-next-
|
88
|
-
"@graphql-hive/logger": "1.0.1-next-
|
89
|
-
"@graphql-hive/plugin-aws-sigv4": "2.0.0-next-
|
90
|
-
"@graphql-hive/plugin-deduplicate-request": "2.0.0-next-
|
91
|
-
"@graphql-hive/plugin-opentelemetry": "1.0.0-next-
|
92
|
-
"@graphql-hive/pubsub": "2.0.0-next-
|
86
|
+
"@graphql-hive/gateway-runtime": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
87
|
+
"@graphql-hive/importer": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
88
|
+
"@graphql-hive/logger": "1.0.1-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
89
|
+
"@graphql-hive/plugin-aws-sigv4": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
90
|
+
"@graphql-hive/plugin-deduplicate-request": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
91
|
+
"@graphql-hive/plugin-opentelemetry": "1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
92
|
+
"@graphql-hive/pubsub": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
93
93
|
"@graphql-mesh/cache-cfw-kv": "^0.105.8",
|
94
94
|
"@graphql-mesh/cache-localforage": "^0.105.9",
|
95
95
|
"@graphql-mesh/cache-redis": "^0.104.8",
|
96
96
|
"@graphql-mesh/cache-upstash-redis": "^0.1.8",
|
97
97
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
98
|
-
"@graphql-mesh/hmac-upstream-signature": "2.0.0-next-
|
98
|
+
"@graphql-mesh/hmac-upstream-signature": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
99
99
|
"@graphql-mesh/plugin-http-cache": "^0.105.8",
|
100
100
|
"@graphql-mesh/plugin-jit": "^0.2.7",
|
101
|
-
"@graphql-mesh/plugin-jwt-auth": "2.0.0-next-
|
102
|
-
"@graphql-mesh/plugin-prometheus": "2.0.0-next-
|
101
|
+
"@graphql-mesh/plugin-jwt-auth": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
102
|
+
"@graphql-mesh/plugin-prometheus": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
103
103
|
"@graphql-mesh/plugin-rate-limit": "^0.104.7",
|
104
104
|
"@graphql-mesh/plugin-snapshot": "^0.104.7",
|
105
|
-
"@graphql-mesh/transport-http": "1.0.0-next-
|
106
|
-
"@graphql-mesh/transport-http-callback": "1.0.0-next-
|
107
|
-
"@graphql-mesh/transport-ws": "2.0.0-next-
|
105
|
+
"@graphql-mesh/transport-http": "1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
106
|
+
"@graphql-mesh/transport-http-callback": "1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
107
|
+
"@graphql-mesh/transport-ws": "2.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
108
108
|
"@graphql-mesh/types": "^0.104.8",
|
109
109
|
"@graphql-mesh/utils": "^0.104.11",
|
110
110
|
"@graphql-tools/code-file-loader": "^8.1.22",
|
@@ -133,7 +133,7 @@
|
|
133
133
|
"ws": "^8.18.3"
|
134
134
|
},
|
135
135
|
"devDependencies": {
|
136
|
-
"@graphql-mesh/transport-common": "1.0.0-next-
|
136
|
+
"@graphql-mesh/transport-common": "1.0.0-next-8c427cf82ca0b277e7a0a1769787715c29128406",
|
137
137
|
"@graphql-mesh/transport-soap": "^0.10.8",
|
138
138
|
"@graphql-tools/executor": "^1.4.9",
|
139
139
|
"@rollup/plugin-commonjs": "^28.0.0",
|