|
1 |
| -# Unreleased |
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.32.0](https://github.com/tokio-rs/tracing-opentelemetry/compare/v0.31.0...v0.32.0) - 2025-09-29 |
| 11 | + |
| 12 | +### Added |
| 13 | + |
| 14 | +- Add configuration for including `target` in spans ([#222](https://github.com/tokio-rs/tracing-opentelemetry/pull/222)) |
| 15 | + |
| 16 | +### Changed |
| 17 | + |
| 18 | +- OpenTelemetry context activation ([#202](https://github.com/tokio-rs/tracing-opentelemetry/pull/202)) |
| 19 | + - Trace ID and span ID can be obtained from `OtelData` via dedicated functions. Note that these |
| 20 | + will be available only if the context has already been built. (#233) |
| 21 | +- Correctly track entered and exited state for timings ([#212](https://github.com/tokio-rs/tracing-opentelemetry/pull/212)) |
| 22 | +- Slightly improve error message on version mismatch ([#211](https://github.com/tokio-rs/tracing-opentelemetry/pull/211)) |
| 23 | +- Remove Lazy for thread_local static ([#215](https://github.com/tokio-rs/tracing-opentelemetry/pull/215)) |
| 24 | +- Update description of special fields and semantic conventions |
2 | 25 |
|
3 | 26 | ### Breaking Changes
|
4 | 27 |
|
5 |
| -- The attributes `code.filepath`, `code.lineno`, and `code.namespace` have been renamed to `code.file.path`, and |
6 |
| - `code.line.number`, and `code.module.name`, to align with the opentelemetry semantic conventions for code. |
7 |
| -- Upgrade from opentelemetry 0.30.0 to 0.31.0. Refer to the upstream |
| 28 | +- The attributes `code.filepath`, `code.lineno`, and `code.namespace` have been renamed to |
| 29 | + `code.file.path`, and `code.line.number`, and `code.module.name`, to align with the opentelemetry |
| 30 | + semantic conventions for code. ([#225](https://github.com/tokio-rs/tracing-opentelemetry/pull/225)) |
| 31 | +- Upgrade from opentelemetry to 0.31.0. Refer to the upstream |
8 | 32 | [changelog](https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-sdk/CHANGELOG.md#0310)
|
9 |
| - for more information. |
10 |
| - |
11 |
| -### Removed |
| 33 | + for more information. ([#230](https://github.com/tokio-rs/tracing-opentelemetry/pull/230)) |
| 34 | +- Hold onto `MetricsProvider` in `MetricsLayer` ([#224](https://github.com/tokio-rs/tracing-opentelemetry/pull/224)) |
| 35 | +- The attribute `otel.status_message` was changed to `otel.status_description` to align with the |
| 36 | + opentelemetry semantic conventions for code. ([#209](https://github.com/tokio-rs/tracing-opentelemetry/pull/209)) |
| 37 | +- Remove the `metrics_gauge_unstable` feature. |
12 | 38 |
|
13 |
| -- Feature `metrics_gauge_unstable` since metrics gauge are stable in upstream now. |
14 | 39 |
|
15 | 40 | # 0.31.0 (June 2, 2025)
|
16 | 41 |
|
|
0 commit comments