@graphql-hive/gateway-runtime 2.9.8 → 2.9.9

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,5 +1,22 @@
1
1
  # @graphql-hive/gateway-runtime
2
2
 
3
+ ## 2.9.9
4
+ ### Patch Changes
5
+
6
+
7
+
8
+ - [#2457](https://github.com/graphql-hive/gateway/pull/2457) [`2337cb9`](https://github.com/graphql-hive/gateway/commit/2337cb917efd72626c319d952f7713bf3da676d6) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
9
+
10
+ - Updated dependency [`@graphql-hive/yoga@^0.48.2` ↗︎](https://www.npmjs.com/package/@graphql-hive/yoga/v/0.48.2) (from `^0.48.0`, in `dependencies`)
11
+
12
+
13
+ - [#2457](https://github.com/graphql-hive/gateway/pull/2457) [`2337cb9`](https://github.com/graphql-hive/gateway/commit/2337cb917efd72626c319d952f7713bf3da676d6) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Remove an empty and unnecessary log during debug
14
+
15
+ - Updated dependencies [[`2337cb9`](https://github.com/graphql-hive/gateway/commit/2337cb917efd72626c319d952f7713bf3da676d6)]:
16
+ - @graphql-hive/logger@1.1.1
17
+ - @graphql-mesh/fusion-runtime@1.10.9
18
+ - @graphql-mesh/transport-common@1.0.17
19
+
3
20
  ## 2.9.8
4
21
  ### Patch Changes
5
22
 
package/dist/index.cjs CHANGED
@@ -894,8 +894,7 @@ function useMaybeDelegationPlanDebug({ log: rootLog }) {
894
894
  let activePlugin;
895
895
  return {
896
896
  onPluginInit({ plugins }) {
897
- let shouldLog = false;
898
- rootLog.debug(() => shouldLog = true);
897
+ const shouldLog = rootLog.level === "trace" || rootLog.level === "debug";
899
898
  if (shouldLog) {
900
899
  activePlugin = useDelegationPlanDebug();
901
900
  plugins.push(
package/dist/index.js CHANGED
@@ -893,8 +893,7 @@ function useMaybeDelegationPlanDebug({ log: rootLog }) {
893
893
  let activePlugin;
894
894
  return {
895
895
  onPluginInit({ plugins }) {
896
- let shouldLog = false;
897
- rootLog.debug(() => shouldLog = true);
896
+ const shouldLog = rootLog.level === "trace" || rootLog.level === "debug";
898
897
  if (shouldLog) {
899
898
  activePlugin = useDelegationPlanDebug();
900
899
  plugins.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway-runtime",
3
- "version": "2.9.8",
3
+ "version": "2.9.9",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -50,15 +50,15 @@
50
50
  "@envelop/generic-auth": "^11.0.0",
51
51
  "@envelop/instrumentation": "^1.0.0",
52
52
  "@graphql-hive/core": "^0.21.0",
53
- "@graphql-hive/logger": "^1.1.0",
53
+ "@graphql-hive/logger": "^1.1.1",
54
54
  "@graphql-hive/pubsub": "^2.1.1",
55
55
  "@graphql-hive/signal": "^2.0.0",
56
- "@graphql-hive/yoga": "^0.48.0",
56
+ "@graphql-hive/yoga": "^0.48.2",
57
57
  "@graphql-mesh/cross-helpers": "^0.4.13",
58
- "@graphql-mesh/fusion-runtime": "^1.10.8",
58
+ "@graphql-mesh/fusion-runtime": "^1.10.9",
59
59
  "@graphql-mesh/hmac-upstream-signature": "^2.0.12",
60
60
  "@graphql-mesh/plugin-response-cache": "^0.104.42",
61
- "@graphql-mesh/transport-common": "^1.0.16",
61
+ "@graphql-mesh/transport-common": "^1.0.17",
62
62
  "@graphql-mesh/types": "^0.104.28",
63
63
  "@graphql-mesh/utils": "^0.104.36",
64
64
  "@graphql-tools/batch-delegate": "^10.0.25",