You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/en/blog/2025/otel-js-sdk-2-0.md
+42-14
Original file line number
Diff line number
Diff line change
@@ -7,23 +7,38 @@ author: >
7
7
sig: OpenTelemetry JS
8
8
---
9
9
10
-
Exciting news! [OpenTelemetry JavaScript](https://github.com/open-telemetry/opentelemetry-js) has released [SDK 2.0](https://github.com/open-telemetry/opentelemetry-js/releases)!
There is a [migration guide](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md) in the repo detailing breaking changes and steps for users to take to upgrade to the latest versions.
in the repository detailing breaking changes and steps for users to take to upgrade to
18
+
the latest versions.
13
19
14
20
## What is JS SDK 2.x?
15
21
16
-
"JS SDK 2.x" encompasses new releases of the `@opentelemetry/*` JavaScript packages published from the [`opentelemetry-js` repository](https://github.com/open-telemetry/opentelemetry-js), except the API and semantic-conventions packages. The package versions for this new major will be `>=2.0.0` for the stable and `>=0.200.0` for the unstable packages. Details on the full list of packages can be found in the [migration guide](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#what-is-js-sdk-2x).
22
+
"JS SDK 2.x" encompasses new releases of the `@opentelemetry/*` JavaScript
@@ -35,22 +50,35 @@ There is a [migration guide](https://github.com/open-telemetry/opentelemetry-js/
35
50
-[`@opentelemetry/core` API changes](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-opentelemetrycore-api-changes)
36
51
-[Tracing SDK API changes](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-tracing-sdk-api-changes)
37
52
-[`@opentelemetry/sdk-metrics` API changes](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-opentelemetrysdk-metrics-api-changes)
38
-
-[`@opentelemetry/resources` changes for *implementors* of Resource Detectors](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-opentelemetryresources-changes-for-implementors-of-resource-detectors)
53
+
-[`@opentelemetry/resources` changes for _implementors_ of Resource Detectors](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-opentelemetryresources-changes-for-implementors-of-resource-detectors)
Some of the details for why this 2.0 was done can be found [in this issue](https://github.com/open-telemetry/opentelemetry-js/issues/4083). We knew we would gain the greatest benefit by allowing breaking changes to improve things related to:
58
+
Some of the details for why this 2.0 was done can be found
59
+
[in this issue](https://github.com/open-telemetry/opentelemetry-js/issues/4083).
60
+
We knew we would gain the greatest benefit by allowing breaking changes to
61
+
improve things related to:
44
62
45
-
- Optimization: removing classes and namespaces to allow better minification and tree-shaking.
46
-
- Better Tooling and Support: dropping old runtimes and tool versions to take advantage of enhanced ESM support and simplify documentation.
47
-
- Velocity: reducing code complexity and removing deprecated fields for faster feature and maintenance work.
63
+
- Optimization: removing classes and namespaces to allow better minification and
64
+
tree-shaking.
65
+
- Better Tooling and Support: dropping old runtimes and tool versions to take
66
+
advantage of enhanced ESM support and simplify documentation.
67
+
- Velocity: reducing code complexity and removing deprecated fields for faster
68
+
feature and maintenance work.
48
69
49
70
This also begins our goal of releasing a new major release every year.
50
71
51
72
## How can I get involved?
52
73
53
-
- Try out the [v2.0.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v2.0.0) and [v0.200.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.200.0) releases and provide feedback
54
-
- Review our [contributing guide](https://github.com/open-telemetry/opentelemetry-js/blob/main/CONTRIBUTING.md) for details on contributing
0 commit comments