@graphql-hive/gateway 1.15.0-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1 → 2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787

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,24 +1,34 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 1.15.0-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
3
+ ## 2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
4
4
 
5
- ### Minor Changes
5
+ ### Major Changes
6
+
7
+ - [#1030](https://github.com/graphql-hive/gateway/pull/1030) [`a165a2f`](https://github.com/graphql-hive/gateway/commit/a165a2f73f5f04b3b7179792d54be448e17dca19) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Introduce and use the new Hive Logger
6
8
 
7
- - [#1137](https://github.com/graphql-hive/gateway/pull/1137) [`a2fe448`](https://github.com/graphql-hive/gateway/commit/a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1) Thanks [@ardatan](https://github.com/ardatan)! - Ability to prefer uWebSockets.js optionally if available
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
 
14
+ - [#1030](https://github.com/graphql-hive/gateway/pull/1030) [`ce6e879`](https://github.com/graphql-hive/gateway/commit/ce6e8793bed7390cfbf4a2cd0a66bd3e7eb30a1e) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
15
+
16
+ - Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
17
+
11
18
  - [#1141](https://github.com/graphql-hive/gateway/pull/1141) [`d8892f2`](https://github.com/graphql-hive/gateway/commit/d8892f2713388fcea37dfa74a8ae42294f07d362) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - **Security Update:** The Docker image have been updated to fix a CVE affecting `passwd` command. This CVE was not directly affecting Hive Gateway software, since it's not using impacted components.
12
19
 
13
- - Updated dependencies [[`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e)]:
14
- - @graphql-hive/gateway-runtime@1.9.0-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
15
- - @graphql-mesh/transport-http-callback@0.6.1-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
16
- - @graphql-hive/plugin-aws-sigv4@1.0.11-alpha-a2fe448e5ea2e6cf54b36f212b3eb5fee3167fb1
20
+ - Updated dependencies [[`ce6e879`](https://github.com/graphql-hive/gateway/commit/ce6e8793bed7390cfbf4a2cd0a66bd3e7eb30a1e), [`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`2640dbf`](https://github.com/graphql-hive/gateway/commit/2640dbf8c81819efe326bf3efead85be3b6cbea6), [`2adc7f1`](https://github.com/graphql-hive/gateway/commit/2adc7f14f282349831af926864c0ecb3f3e65d73), [`c84b528`](https://github.com/graphql-hive/gateway/commit/c84b52850a290c2741d5bd72464a06a1ab99d000), [`ce6e879`](https://github.com/graphql-hive/gateway/commit/ce6e8793bed7390cfbf4a2cd0a66bd3e7eb30a1e), [`54beb7a`](https://github.com/graphql-hive/gateway/commit/54beb7acde7558eee81ec0e20c123717865b8e18), [`a165a2f`](https://github.com/graphql-hive/gateway/commit/a165a2f73f5f04b3b7179792d54be448e17dca19), [`f4a5e1c`](https://github.com/graphql-hive/gateway/commit/f4a5e1c71c47666b44511cea1f9a19fa04680deb), [`14b38b2`](https://github.com/graphql-hive/gateway/commit/14b38b2b841b52de57207bcbc0e0b3748c24a3fa), [`3a4f65c`](https://github.com/graphql-hive/gateway/commit/3a4f65c861156a1e1ca6075d8796697cc3eb15db), [`ab6c98a`](https://github.com/graphql-hive/gateway/commit/ab6c98a3e386a023cb1735c0b58da429a9319078), [`11cff4f`](https://github.com/graphql-hive/gateway/commit/11cff4f8ff28ca7d709b5b962029e17d5843110e), [`c84b528`](https://github.com/graphql-hive/gateway/commit/c84b52850a290c2741d5bd72464a06a1ab99d000), [`e2b3a4d`](https://github.com/graphql-hive/gateway/commit/e2b3a4d4c9edee01152074f5f8a6224125ace83b)]:
21
+ - @graphql-hive/gateway-runtime@2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
22
+ - @graphql-mesh/plugin-opentelemetry@2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
23
+ - @graphql-mesh/plugin-prometheus@2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
24
+ - @graphql-mesh/transport-http-callback@1.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
25
+ - @graphql-mesh/hmac-upstream-signature@2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
26
+ - @graphql-mesh/plugin-jwt-auth@2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
27
+ - @graphql-mesh/transport-ws@2.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
28
+ - @graphql-hive/logger@1.0.0-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
29
+ - @graphql-hive/plugin-aws-sigv4@1.0.11-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
17
30
  - @graphql-hive/plugin-deduplicate-request@1.0.0
18
- - @graphql-mesh/hmac-upstream-signature@1.2.27
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
31
+ - @graphql-mesh/transport-http@0.6.42-alpha-f3f43a13e2e907dc5acc4be8a23dc9870b2d6787
22
32
 
23
33
  ## 1.14.2
24
34
 
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 cli = require('./cli-DeVzUuQb.cjs');
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 = cli.getDefaultLogger();
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 { e as enableModuleCachingIfPossible, h as handleNodeWarnings, c as getDefaultLogger, r as run } from './cli-Dts35ZPf.js';
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 = getDefaultLogger();
34
+ const log = new Logger();
35
35
  run({ log }).catch((err) => {
36
36
  log.error(err);
37
37
  process.exit(1);