@graphql-hive/gateway-runtime 2.5.0-alpha-64ccb74c470e010e18f890a3fd4afc34094275a7 → 2.5.0-alpha-1cfcf1f276af19d2882b9a93e8ea97a59503fe82
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 +3 -27
- package/dist/index.cjs +1 -2
- package/dist/index.js +1 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @graphql-hive/gateway-runtime
|
|
2
2
|
|
|
3
|
-
## 2.5.0-alpha-
|
|
3
|
+
## 2.5.0-alpha-1cfcf1f276af19d2882b9a93e8ea97a59503fe82
|
|
4
4
|
### Minor Changes
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,34 +8,10 @@
|
|
|
8
8
|
- [#1786](https://github.com/graphql-hive/gateway/pull/1786) [`abd350b`](https://github.com/graphql-hive/gateway/commit/abd350b913c8938cf173a4a5e25b3ba6c04016fc) Thanks [@ardatan](https://github.com/ardatan)! - Respect both \`graphql-client-name\` and \`x-graphql-client-name\` for client name header, and both \`graphql-client-version\` and \`x-graphql-client-version\` for client version header by default if not configured otherwise.
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
- [#1636](https://github.com/graphql-hive/gateway/pull/1636) [`bdb8517`](https://github.com/graphql-hive/gateway/commit/bdb8517788aa416d7de441d90f849b181c2d11d8) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Expose GraphQLError as OpenTelemetry Events.
|
|
13
|
-
|
|
14
|
-
Errors contains in the result of a graphql operation are now reported as standalone OpenTelemetry
|
|
15
|
-
Events (name `graphql.error`) instead of OpenTelemetry Exceptions.
|
|
16
|
-
|
|
17
|
-
This is aligned with the guidance of the Graphql OpenTelemetry working group.
|
|
18
|
-
|
|
19
|
-
It allows to add more graphql specific attributes to errors reported in a response:
|
|
20
|
-
|
|
21
|
-
- `message`: The error message
|
|
22
|
-
- `path`: The path in the operation document from which the error originated
|
|
23
|
-
- `locations`: The list of related locations in the document source
|
|
24
|
-
- `coordinate`: The schema coordinate of the resolver which is the source of the error
|
|
25
|
-
|
|
26
|
-
This brings the experimental support of the `coordinate` error attribute in the Yoga Runtime. For
|
|
27
|
-
security reason, this attribute is purposefully not serialized, to avoid leaking schema information
|
|
28
|
-
to clients.
|
|
29
|
-
|
|
30
11
|
### Patch Changes
|
|
31
12
|
|
|
32
13
|
|
|
33
14
|
|
|
34
|
-
- [#1636](https://github.com/graphql-hive/gateway/pull/1636) [`31fe4be`](https://github.com/graphql-hive/gateway/commit/31fe4be41532db18a66b30eeb9272a6e536d8a89) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
|
35
|
-
|
|
36
|
-
- Updated dependency [`graphql-yoga@^5.17.0` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.17.0) (from `^5.16.2`, in `dependencies`)
|
|
37
|
-
|
|
38
|
-
|
|
39
15
|
- [#1784](https://github.com/graphql-hive/gateway/pull/1784) [`15b9e50`](https://github.com/graphql-hive/gateway/commit/15b9e5037fa74f8c1a8e662e196268a88642c27d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
|
40
16
|
|
|
41
17
|
- Updated dependency [`@types/node@^25.0.0` ↗︎](https://www.npmjs.com/package/@types/node/v/25.0.0) (from `^24.10.1`, in `dependencies`)
|
|
@@ -43,9 +19,9 @@
|
|
|
43
19
|
|
|
44
20
|
- [#1787](https://github.com/graphql-hive/gateway/pull/1787) [`a50d93a`](https://github.com/graphql-hive/gateway/commit/a50d93a0bc8f3c67de7449ad9102d3f3b60ea96a) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Usage reporting clientInfo context inherits Hive Gateway context
|
|
45
21
|
|
|
46
|
-
- Updated dependencies [
|
|
47
|
-
- @graphql-mesh/fusion-runtime@1.6.3-alpha-64ccb74c470e010e18f890a3fd4afc34094275a7
|
|
22
|
+
- Updated dependencies []:
|
|
48
23
|
- @graphql-mesh/hmac-upstream-signature@2.0.8
|
|
24
|
+
- @graphql-mesh/fusion-runtime@1.6.2
|
|
49
25
|
|
|
50
26
|
## 2.4.1
|
|
51
27
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -132,8 +132,7 @@ const getExecuteFnFromExecutor = utils.memoize1(
|
|
|
132
132
|
operationName: args.operationName ?? void 0,
|
|
133
133
|
rootValue: args.rootValue,
|
|
134
134
|
context: args.contextValue,
|
|
135
|
-
signal: args.signal
|
|
136
|
-
schemaCoordinateInErrors: args.schemaCoordinateInErrors
|
|
135
|
+
signal: args.signal
|
|
137
136
|
});
|
|
138
137
|
};
|
|
139
138
|
}
|
package/dist/index.js
CHANGED
|
@@ -131,8 +131,7 @@ const getExecuteFnFromExecutor = memoize1(
|
|
|
131
131
|
operationName: args.operationName ?? void 0,
|
|
132
132
|
rootValue: args.rootValue,
|
|
133
133
|
context: args.contextValue,
|
|
134
|
-
signal: args.signal
|
|
135
|
-
schemaCoordinateInErrors: args.schemaCoordinateInErrors
|
|
134
|
+
signal: args.signal
|
|
136
135
|
});
|
|
137
136
|
};
|
|
138
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/gateway-runtime",
|
|
3
|
-
"version": "2.5.0-alpha-
|
|
3
|
+
"version": "2.5.0-alpha-1cfcf1f276af19d2882b9a93e8ea97a59503fe82",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@graphql-hive/signal": "^2.0.0",
|
|
56
56
|
"@graphql-hive/yoga": "^0.46.0",
|
|
57
57
|
"@graphql-mesh/cross-helpers": "^0.4.10",
|
|
58
|
-
"@graphql-mesh/fusion-runtime": "1.6.
|
|
58
|
+
"@graphql-mesh/fusion-runtime": "^1.6.2",
|
|
59
59
|
"@graphql-mesh/hmac-upstream-signature": "^2.0.8",
|
|
60
60
|
"@graphql-mesh/plugin-response-cache": "^0.104.18",
|
|
61
61
|
"@graphql-mesh/transport-common": "^1.0.12",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@whatwg-node/server": "^0.10.17",
|
|
80
80
|
"@whatwg-node/server-plugin-cookies": "^1.0.5",
|
|
81
81
|
"graphql-ws": "^6.0.6",
|
|
82
|
-
"graphql-yoga": "^5.
|
|
82
|
+
"graphql-yoga": "^5.16.2",
|
|
83
83
|
"tslib": "^2.8.1"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|