@graphql-hive/plugin-opentelemetry 1.4.48-alpha-8f117bcbea98536ce3233d8bc38febf5e9a2ebe5 → 1.5.0
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 +15 -5
- package/dist/setup.cjs +1 -1
- package/dist/setup.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
# @graphql-hive/plugin-opentelemetry
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.5.0
|
|
4
|
+
### Minor Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [#2604](https://github.com/graphql-hive/gateway/pull/2604) [`ee4cc07`](https://github.com/graphql-hive/gateway/commit/ee4cc07097926293a8628c075a264e272cad8830) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Support GraphQL 16 with @graphql-tools/utils v12
|
|
9
|
+
|
|
10
|
+
Preserves GraphQL 16 compatibility while upgrading to `@graphql-tools/utils` v12, `@graphql-tools/executor` v2, and the compatible `@graphql-tools/schema` and `@graphql-tools/merge` releases. Consumers now receive consistent resolver and execution request types without conflicts between different GraphQL Tools versions.
|
|
11
|
+
|
|
12
|
+
Stitched and delegated operations handle the new executor variable result shape correctly, including variables used by directives. Resolver execution also supports the executor's cancellation and asynchronous work helpers while remaining compatible with the GraphQL 16 `GraphQLResolveInfo` API.
|
|
13
|
+
|
|
4
14
|
### Patch Changes
|
|
5
15
|
|
|
6
16
|
|
|
7
17
|
|
|
8
|
-
- [#2604](https://github.com/graphql-hive/gateway/pull/2604) [`
|
|
18
|
+
- [#2604](https://github.com/graphql-hive/gateway/pull/2604) [`ee4cc07`](https://github.com/graphql-hive/gateway/commit/ee4cc07097926293a8628c075a264e272cad8830) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
|
9
19
|
|
|
10
20
|
- Updated dependency [`@graphql-tools/utils@^12.0.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/12.0.1) (from `^11.0.0`, in `dependencies`)
|
|
11
|
-
- Updated dependencies [[`
|
|
12
|
-
- @graphql-hive/gateway-runtime@2.
|
|
13
|
-
- @graphql-mesh/transport-common@1.0
|
|
21
|
+
- Updated dependencies [[`ee4cc07`](https://github.com/graphql-hive/gateway/commit/ee4cc07097926293a8628c075a264e272cad8830), [`ee4cc07`](https://github.com/graphql-hive/gateway/commit/ee4cc07097926293a8628c075a264e272cad8830), [`ee4cc07`](https://github.com/graphql-hive/gateway/commit/ee4cc07097926293a8628c075a264e272cad8830)]:
|
|
22
|
+
- @graphql-hive/gateway-runtime@2.11.0
|
|
23
|
+
- @graphql-mesh/transport-common@1.1.0
|
|
14
24
|
|
|
15
25
|
## 1.4.47
|
|
16
26
|
### Patch Changes
|
package/dist/setup.cjs
CHANGED
|
@@ -228,7 +228,7 @@ function getContextForRequest(attributes) {
|
|
|
228
228
|
return circuitBreakerExporter.otelCtxForRequestId.get(attributes.requestId) ?? api.ROOT_CONTEXT;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.
|
|
231
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.5.0';
|
|
232
232
|
let initialized = false;
|
|
233
233
|
function openTelemetrySetup(options) {
|
|
234
234
|
const log = (options.log || new logger.Logger()).child("[OpenTelemetry] ");
|
package/dist/setup.js
CHANGED
|
@@ -228,7 +228,7 @@ function getContextForRequest(attributes) {
|
|
|
228
228
|
return otelCtxForRequestId.get(attributes.requestId) ?? ROOT_CONTEXT;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
globalThis.__OTEL_PLUGIN_VERSION__ = '1.
|
|
231
|
+
globalThis.__OTEL_PLUGIN_VERSION__ = '1.5.0';
|
|
232
232
|
let initialized = false;
|
|
233
233
|
function openTelemetrySetup(options) {
|
|
234
234
|
const log = (options.log || new Logger()).child("[OpenTelemetry] ");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/plugin-opentelemetry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@graphql-hive/core": "^0.22.1",
|
|
76
|
-
"@graphql-hive/gateway-runtime": "2.
|
|
76
|
+
"@graphql-hive/gateway-runtime": "^2.11.0",
|
|
77
77
|
"@graphql-hive/logger": "^1.1.1",
|
|
78
78
|
"@graphql-mesh/cross-helpers": "^0.4.16",
|
|
79
|
-
"@graphql-mesh/transport-common": "1.0
|
|
79
|
+
"@graphql-mesh/transport-common": "^1.1.0",
|
|
80
80
|
"@graphql-mesh/types": "^0.107.1",
|
|
81
81
|
"@graphql-mesh/utils": "^0.107.1",
|
|
82
82
|
"@graphql-tools/utils": "^12.0.1",
|