|
| 1 | +# 0.17.3 (June 7, 2022) |
| 2 | + |
| 3 | +This release adds support for emitting thread names and IDs to OpenTelemetry, as |
| 4 | +well as recording `std::error::Error` values in a structured manner with their |
| 5 | +source chain included. Additionally, this release fixes issues related to event |
| 6 | +and span source code locations. |
| 7 | + |
| 8 | +### Added |
| 9 | + |
| 10 | +- `Layer::with_threads` to enable recording thread names/IDs according to |
| 11 | + [OpenTelemetry semantic conventions][thread-semconv] ([#2134]) |
| 12 | +- `Error::source` chain when recording `std::error::Error` values ([#2122]) |
| 13 | +- `Layer::with_location` method (replaces `Layer::with_event_location`) |
| 14 | + ([#2124]) |
| 15 | + |
| 16 | +### Changed |
| 17 | + |
| 18 | +- `std::error::Error` values are now recorded using `fmt::Display` rather than |
| 19 | + `fmt::Debug` ([#2122]) |
| 20 | + |
| 21 | +### Fixed |
| 22 | + |
| 23 | +- Fixed event source code locations overwriting the parent span's source |
| 24 | + location ([#2099]) |
| 25 | +- Fixed `Layer::with_event_location` not controlling whether locations are |
| 26 | + emitted for spans as well as events ([#2124]) |
| 27 | + |
| 28 | +### Deprecated |
| 29 | + |
| 30 | +- `Layer::with_event_location`: renamed to `Layer::with_location`, as it now |
| 31 | + controls both span and event locations ([#2124]) |
| 32 | + |
| 33 | +Thanks to new contributors @lilymara-onesignal, @hubertbudzynski, and @DevinCarr |
| 34 | +for contributing to this release! |
| 35 | + |
| 36 | +[thread-semconv]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/span-general/#source-code-attributes |
| 37 | +[#2134]: https://github.com/tokio-rs/tracing/pull/2134 |
| 38 | +[#2122]: https://github.com/tokio-rs/tracing/pull/2122 |
| 39 | +[#2124]: https://github.com/tokio-rs/tracing/pull/2124 |
| 40 | +[#2099]: https://github.com/tokio-rs/tracing/pull/2099 |
| 41 | + |
1 | 42 | # 0.17.2 (February 21, 2022)
|
2 | 43 |
|
3 | 44 | This release fixes [an issue][#1944] introduced in v0.17.1 where
|
|
0 commit comments