diff --git a/CHANGELOG.md b/CHANGELOG.md index 741b1d5da3c..66f4e5d119f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. * feat(sdk-trace-base): move Sampler declaration into sdk-trace-base [#3088](/~https://github.com/open-telemetry/opentelemetry-js/pull/3088) @legendecas * fix(grpc-instrumentation): added grpc attributes in instrumentation [#3127](/~https://github.com/open-telemetry/opentelemetry-js/pull/3127) @andrewzenkov +* feat: support latest `@opentelemetry/api` [#3177](/~https://github.com/open-telemetry/opentelemetry-js/pull/3177) @dyladan ### :bug: (Bug Fix) diff --git a/experimental/CHANGELOG.md b/experimental/CHANGELOG.md index 3f75c1b1554..56c18df4ccb 100644 --- a/experimental/CHANGELOG.md +++ b/experimental/CHANGELOG.md @@ -13,6 +13,7 @@ All notable changes to experimental packages in this project will be documented * fix(add-views-to-node-sdk): added the ability to define meter views in `NodeSDK` [#3066](/~https://github.com/open-telemetry/opentelemetry-js/pull/3124) @weyert * feature(add-console-metrics-exporter): add ConsoleMetricExporter [#3120](/~https://github.com/open-telemetry/opentelemetry-js/pull/3120) @weyert * feature(prometheus-serialiser): export the unit block when unit is set in metric descriptor [#3066](/~https://github.com/open-telemetry/opentelemetry-js/pull/3041) @weyert +* feat: support latest `@opentelemetry/api` [#3177](/~https://github.com/open-telemetry/opentelemetry-js/pull/3177) @dyladan ### :bug: (Bug Fix) diff --git a/experimental/packages/opentelemetry-sdk-node/package.json b/experimental/packages/opentelemetry-sdk-node/package.json index 52c8ba3ad1f..f1dc8e08878 100644 --- a/experimental/packages/opentelemetry-sdk-node/package.json +++ b/experimental/packages/opentelemetry-sdk-node/package.json @@ -53,10 +53,10 @@ "@opentelemetry/sdk-trace-node": "1.5.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@opentelemetry/context-async-hooks": "1.5.0", "@opentelemetry/semantic-conventions": "1.5.0", "@types/mocha": "9.1.1", diff --git a/experimental/packages/otlp-transformer/package.json b/experimental/packages/otlp-transformer/package.json index d87efda4ed7..8c6e6bba927 100644 --- a/experimental/packages/otlp-transformer/package.json +++ b/experimental/packages/otlp-transformer/package.json @@ -52,10 +52,10 @@ "README.md" ], "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/webpack-env": "1.16.3", "codecov": "3.8.3", diff --git a/packages/opentelemetry-context-async-hooks/package.json b/packages/opentelemetry-context-async-hooks/package.json index d72a000888f..fdebfff3534 100644 --- a/packages/opentelemetry-context-async-hooks/package.json +++ b/packages/opentelemetry-context-async-hooks/package.json @@ -44,7 +44,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "codecov": "3.8.3", @@ -55,7 +55,7 @@ "typescript": "4.4.4" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "homepage": "/~https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-context-async-hooks" } diff --git a/packages/opentelemetry-context-zone-peer-dep/package.json b/packages/opentelemetry-context-zone-peer-dep/package.json index 827b3e869b1..afa36bc08fe 100644 --- a/packages/opentelemetry-context-zone-peer-dep/package.json +++ b/packages/opentelemetry-context-zone-peer-dep/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@babel/core": "7.16.0", - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -81,7 +81,7 @@ "zone.js": "0.11.4" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "zone.js": "^0.10.2 || ^0.11.0" }, "sideEffects": false, diff --git a/packages/opentelemetry-core/package.json b/packages/opentelemetry-core/package.json index a5cd6192272..410ed65ded4 100644 --- a/packages/opentelemetry-core/package.json +++ b/packages/opentelemetry-core/package.json @@ -64,7 +64,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -88,7 +88,7 @@ "webpack": "4.46.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/semantic-conventions": "1.5.0" diff --git a/packages/opentelemetry-propagator-b3/package.json b/packages/opentelemetry-propagator-b3/package.json index 805637b7d05..7a57d66c0a5 100644 --- a/packages/opentelemetry-propagator-b3/package.json +++ b/packages/opentelemetry-propagator-b3/package.json @@ -54,10 +54,10 @@ "@opentelemetry/core": "1.5.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "codecov": "3.8.3", diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index a7b2d39f854..30dc6c07d15 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -54,7 +54,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -77,7 +77,7 @@ "webpack": "4.46.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/core": "1.5.0" diff --git a/packages/opentelemetry-resources/package.json b/packages/opentelemetry-resources/package.json index 4eded5097f2..5d83bbe2813 100644 --- a/packages/opentelemetry-resources/package.json +++ b/packages/opentelemetry-resources/package.json @@ -61,7 +61,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -86,7 +86,7 @@ "webpack-merge": "5.8.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/core": "1.5.0", diff --git a/packages/opentelemetry-sdk-trace-base/package.json b/packages/opentelemetry-sdk-trace-base/package.json index d81cbfb9cc4..806749bcb94 100644 --- a/packages/opentelemetry-sdk-trace-base/package.json +++ b/packages/opentelemetry-sdk-trace-base/package.json @@ -64,7 +64,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@types/mocha": "9.1.1", "@types/node": "18.6.5", "@types/sinon": "10.0.13", @@ -88,7 +88,7 @@ "webpack": "4.46.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/core": "1.5.0", diff --git a/packages/opentelemetry-sdk-trace-node/package.json b/packages/opentelemetry-sdk-trace-node/package.json index 9066a3d1fe7..19264daff64 100644 --- a/packages/opentelemetry-sdk-trace-node/package.json +++ b/packages/opentelemetry-sdk-trace-node/package.json @@ -45,7 +45,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@opentelemetry/resources": "1.5.0", "@opentelemetry/semantic-conventions": "1.5.0", "@types/mocha": "9.1.1", @@ -61,7 +61,7 @@ "typescript": "4.4.4" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/context-async-hooks": "1.5.0", diff --git a/packages/opentelemetry-sdk-trace-web/package.json b/packages/opentelemetry-sdk-trace-web/package.json index 421283f0d17..809755a9fcf 100644 --- a/packages/opentelemetry-sdk-trace-web/package.json +++ b/packages/opentelemetry-sdk-trace-web/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@babel/core": "7.16.0", - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@opentelemetry/context-zone": "1.5.0", "@opentelemetry/propagator-b3": "1.5.0", "@opentelemetry/resources": "1.5.0", @@ -88,7 +88,7 @@ "webpack-merge": "5.8.0" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/core": "1.5.0", diff --git a/packages/opentelemetry-shim-opentracing/package.json b/packages/opentelemetry-shim-opentracing/package.json index a78d22696e8..457562aadf7 100644 --- a/packages/opentelemetry-shim-opentracing/package.json +++ b/packages/opentelemetry-shim-opentracing/package.json @@ -42,7 +42,7 @@ "access": "public" }, "devDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0", + "@opentelemetry/api": ">=1.0.0 <1.3.0", "@opentelemetry/propagator-b3": "1.5.0", "@opentelemetry/propagator-jaeger": "1.5.0", "@opentelemetry/sdk-trace-base": "1.5.0", @@ -56,7 +56,7 @@ "typescript": "4.4.4" }, "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.2.0" + "@opentelemetry/api": ">=1.0.0 <1.3.0" }, "dependencies": { "@opentelemetry/core": "1.5.0",