Skip to content

Commit 6c49eea

Browse files
committed
add changelog
1 parent f2258f8 commit 6c49eea

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

opentelemetry-sdk/CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,24 @@ metadata, a feature introduced in version 0.1.40. [#2418](https://github.com/ope
215215
"rust.opentelemetry.io/sdk/tracer"
216216
[#2486](https://github.com/open-telemetry/opentelemetry-rust/pull/2486)
217217

218+
- **Breaking** Introduced `experimental_runtime` feature for runtime-specific traits.
219+
- Runtime-specific features (`rt-tokio`, `rt-tokio-current-thread`, and `rt-async-std`)
220+
now depend on the `experimental_runtime` feature.
221+
- Custom runtime implementations must enable the `experimental_runtime` feature.
222+
- For users needing to enable the runtime related features
223+
- **For users enabling runtime features**: No additional steps are required.
224+
Enabling `rt-tokio`, `rt-tokio-current-thread`, or `rt-async-std` automatically enables `experimental_runtime`.
225+
```toml
226+
[dependencies]
227+
opentelemetry_sdk = { version = "0.27.1", features = ["rt-tokio"] }
228+
```
229+
- **For users implementing a custom runtime**: Enable the experimental_runtime feature in your Cargo.toml
230+
and implement the Runtime trait:
231+
```toml
232+
[dependencies]
233+
opentelemetry_sdk = { version = "0.27.1", features = ["experimental_runtime"] }
234+
```
235+
218236
## 0.27.1
219237

220238
Released 2024-Nov-27

0 commit comments

Comments
 (0)