@graphql-hive/gateway 1.15.0-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1 → 2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
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 +20 -12
- package/dist/bin.cjs +4 -4
- package/dist/bin.js +4 -4
- package/dist/{cli-Dts35ZPf.js → cli-BBlJHQNF.js} +74 -407
- package/dist/{cli-DeVzUuQb.cjs → cli-_WmSliwb.cjs} +72 -406
- package/dist/index.cjs +9 -11
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +3 -3
- package/package.json +13 -13
- package/dist/ESM_wrapper-B4cRuNGt.js +0 -126
- package/dist/ESM_wrapper-D0jQu0hQ.cjs +0 -168
package/CHANGELOG.md
CHANGED
@@ -1,24 +1,32 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
##
|
3
|
+
## 2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
4
4
|
|
5
|
-
###
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- [#1030](https://github.com/graphql-hive/gateway/pull/1030) [`1e954fd`](https://github.com/graphql-hive/gateway/commit/1e954fdf19120e1419dd5f0168215cd137bacb28) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Introduce and use the new Hive Logger
|
6
8
|
|
7
|
-
- [
|
9
|
+
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
|
10
|
+
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
|
8
11
|
|
9
12
|
### Patch Changes
|
10
13
|
|
11
|
-
- [#
|
14
|
+
- [#1030](https://github.com/graphql-hive/gateway/pull/1030) [`c61faa6`](https://github.com/graphql-hive/gateway/commit/c61faa6e4c720e624f1a28b1e74248225a5f86a2) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
12
15
|
|
13
|
-
-
|
14
|
-
|
15
|
-
|
16
|
-
- @graphql-hive/
|
16
|
+
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
17
|
+
|
18
|
+
- Updated dependencies [[`c61faa6`](https://github.com/graphql-hive/gateway/commit/c61faa6e4c720e624f1a28b1e74248225a5f86a2), [`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`e30293c`](https://github.com/graphql-hive/gateway/commit/e30293c1e8bfd015cf65601e3ca3375175154576), [`d337b06`](https://github.com/graphql-hive/gateway/commit/d337b06fa65f53d4cda4dd875e0efed952a10ed8), [`a983a33`](https://github.com/graphql-hive/gateway/commit/a983a3301b0ae48c98b85b2fc07413031d51c081), [`c61faa6`](https://github.com/graphql-hive/gateway/commit/c61faa6e4c720e624f1a28b1e74248225a5f86a2), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`1e954fd`](https://github.com/graphql-hive/gateway/commit/1e954fdf19120e1419dd5f0168215cd137bacb28), [`9443fe6`](https://github.com/graphql-hive/gateway/commit/9443fe600574ecfb5f80a552b19d0a4a8739d39c), [`80e5bec`](https://github.com/graphql-hive/gateway/commit/80e5bec2179cb3fd860730d9c243f527571eb0af), [`71e0aa8`](https://github.com/graphql-hive/gateway/commit/71e0aa8eb0174f7196dea492f111695c4414e3f2), [`c0bc3fc`](https://github.com/graphql-hive/gateway/commit/c0bc3fcba671a1badd59d99bfffc9157ddaff842), [`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e), [`a983a33`](https://github.com/graphql-hive/gateway/commit/a983a3301b0ae48c98b85b2fc07413031d51c081), [`d6d6a5e`](https://github.com/graphql-hive/gateway/commit/d6d6a5e56032d1116701f64b85ac43f304ad6766)]:
|
19
|
+
- @graphql-hive/gateway-runtime@2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
20
|
+
- @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
21
|
+
- @graphql-mesh/plugin-prometheus@2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
22
|
+
- @graphql-mesh/transport-http-callback@1.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
23
|
+
- @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
24
|
+
- @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
25
|
+
- @graphql-mesh/transport-ws@2.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
26
|
+
- @graphql-hive/logger@1.0.0-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
27
|
+
- @graphql-hive/plugin-aws-sigv4@1.0.11-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
17
28
|
- @graphql-hive/plugin-deduplicate-request@1.0.0
|
18
|
-
- @graphql-mesh/
|
19
|
-
- @graphql-mesh/plugin-opentelemetry@1.3.58-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
|
20
|
-
- @graphql-mesh/plugin-prometheus@1.3.46-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
|
21
|
-
- @graphql-mesh/transport-http@0.6.42-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
|
29
|
+
- @graphql-mesh/transport-http@0.6.42-alpha-1e954fdf19120e1419dd5f0168215cd137bacb28
|
22
30
|
|
23
31
|
## 1.14.2
|
24
32
|
|
package/dist/bin.cjs
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
require('dotenv/config');
|
4
4
|
var module$1 = require('node:module');
|
5
|
-
var
|
5
|
+
var logger = require('@graphql-hive/logger');
|
6
|
+
var cli = require('./cli-_WmSliwb.cjs');
|
6
7
|
require('node:cluster');
|
7
8
|
require('node:os');
|
8
9
|
require('node:path');
|
9
10
|
require('@commander-js/extra-typings');
|
10
|
-
require('@graphql-mesh/cross-helpers');
|
11
|
-
require('@graphql-mesh/utils');
|
12
11
|
require('@graphql-hive/gateway-runtime');
|
13
12
|
require('@graphql-hive/pubsub');
|
13
|
+
require('@graphql-mesh/utils');
|
14
14
|
require('node:fs/promises');
|
15
15
|
require('node:url');
|
16
16
|
require('node:fs');
|
@@ -37,7 +37,7 @@ module__default.default.register("@graphql-hive/importer/hooks", {
|
|
37
37
|
});
|
38
38
|
cli.enableModuleCachingIfPossible();
|
39
39
|
cli.handleNodeWarnings();
|
40
|
-
const log =
|
40
|
+
const log = new logger.Logger();
|
41
41
|
cli.run({ log }).catch((err) => {
|
42
42
|
log.error(err);
|
43
43
|
process.exit(1);
|
package/dist/bin.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import 'dotenv/config';
|
3
3
|
import module from 'node:module';
|
4
|
-
import {
|
4
|
+
import { Logger } from '@graphql-hive/logger';
|
5
|
+
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-BBlJHQNF.js';
|
5
6
|
import 'node:cluster';
|
6
7
|
import 'node:os';
|
7
8
|
import 'node:path';
|
8
9
|
import '@commander-js/extra-typings';
|
9
|
-
import '@graphql-mesh/cross-helpers';
|
10
|
-
import '@graphql-mesh/utils';
|
11
10
|
import '@graphql-hive/gateway-runtime';
|
12
11
|
import '@graphql-hive/pubsub';
|
12
|
+
import '@graphql-mesh/utils';
|
13
13
|
import 'node:fs/promises';
|
14
14
|
import 'node:url';
|
15
15
|
import 'node:fs';
|
@@ -31,7 +31,7 @@ module.register("@graphql-hive/importer/hooks", {
|
|
31
31
|
});
|
32
32
|
enableModuleCachingIfPossible();
|
33
33
|
handleNodeWarnings();
|
34
|
-
const log =
|
34
|
+
const log = new Logger();
|
35
35
|
run({ log }).catch((err) => {
|
36
36
|
log.error(err);
|
37
37
|
process.exit(1);
|