Skip to content

Commit c71f0d6

Browse files
fixins
1 parent 83520bd commit c71f0d6

File tree

1 file changed

+42
-14
lines changed

1 file changed

+42
-14
lines changed

content/en/blog/2025/otel-js-sdk-2-0.md

+42-14
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,38 @@ author: >
77
sig: OpenTelemetry JS
88
---
99

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)!
10+
Exciting news!
11+
[OpenTelemetry JavaScript](https://github.com/open-telemetry/opentelemetry-js)
12+
has released
13+
[SDK 2.0](https://github.com/open-telemetry/opentelemetry-js/releases)!
1114

12-
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.
15+
There is a
16+
[migration guide](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md)
17+
in the repository detailing breaking changes and steps for users to take to upgrade to
18+
the latest versions.
1319

1420
## What is JS SDK 2.x?
1521

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
23+
packages published from the
24+
[`opentelemetry-js` repository](https://github.com/open-telemetry/opentelemetry-js),
25+
except the API and semantic-conventions packages. The package versions for this
26+
new major will be `>=2.0.0` for the stable and `>=0.200.0` for the unstable
27+
packages. Details on the full list of packages can be found in the
28+
[migration guide](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#what-is-js-sdk-2x).
1729

1830
## What has changed?
1931

2032
### Summary
2133

22-
- The **minimum supported Node.js has been raised to `^18.19.0 || >=20.6.0`**. This means that support for Node.js 14 and 16 has been dropped.
34+
- The **minimum supported Node.js has been raised to `^18.19.0 || >=20.6.0`**.
35+
This means that support for Node.js 14 and 16 has been dropped.
2336
- The **minimum supported TypeScript version has been raised to 5.0.4**.
24-
- The **compilation target for transpiled TypeScript has been raised to ES2022** (from ES2017).
37+
- The **compilation target for transpiled TypeScript has been raised to ES2022**
38+
(from ES2017).
2539
- The **public interface has changed**
26-
- for notes on migrating to 2.x / 0.200.x see [the upgrade guide](https://github.com/open-telemetry/opentelemetry-js/tree/main/doc/upgrade-to-2.x.md)
40+
- for notes on migrating to 2.x / 0.200.x see
41+
[the upgrade guide](https://github.com/open-telemetry/opentelemetry-js/tree/main/doc/upgrade-to-2.x.md)
2742

2843
### Details
2944

@@ -35,22 +50,35 @@ There is a [migration guide](https://github.com/open-telemetry/opentelemetry-js/
3550
- [`@opentelemetry/core` API changes](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-opentelemetrycore-api-changes)
3651
- [Tracing SDK API changes](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-tracing-sdk-api-changes)
3752
- [`@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)
3954
- [Other changes](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/upgrade-to-2.x.md#-other-changes)
4055

4156
## Why was this done?
4257

43-
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:
4462

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.
4869

4970
This also begins our goal of releasing a new major release every year.
5071

5172
## How can I get involved?
5273

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
55-
- Attend our [SIG meetings](https://groups.google.com/a/opentelemetry.io/g/calendar-js)
74+
- Try out the
75+
[v2.0.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v2.0.0)
76+
and
77+
[v0.200.0](https://github.com/open-telemetry/opentelemetry-js/releases/tag/experimental%2Fv0.200.0)
78+
releases and provide feedback
79+
- Review our
80+
[contributing guide](https://github.com/open-telemetry/opentelemetry-js/blob/main/CONTRIBUTING.md)
81+
for details on contributing
82+
- Attend our
83+
[SIG meetings](https://groups.google.com/a/opentelemetry.io/g/calendar-js)
5684
- Collaborate on [Slack](https://cloud-native.slack.com/archives/C01NL1GRPQR)

0 commit comments

Comments
 (0)