tokio-rs/tracing (tracing)
### [`v0.1.40`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.40): tracing 0.1.40
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40)
This release fixes a potential stack use-after-free in the
`Instrument::into_inner` method. Only uses of this method are affected by this
bug.
##### Fixed
- Use `mem::ManuallyDrop` instead of `mem::forget` in `Instrument::into_inner`
([#2765])
[#2765]: https://togithub.com/tokio-rs/tracing/pull/2765
Thanks to [@cramertj](https://togithub.com/cramertj) and [@manishearth](https://togithub.com/manishearth) for finding and fixing this issue!
### [`v0.1.39`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.39): tracing 0.1.39
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.38...tracing-0.1.39)
This release adds several additional features to the `tracing` macros. In
addition, it updates the `tracing-core` dependency to [v0.1.32][core-0.1.32] and
the `tracing-attributes` dependency to [v0.1.27][attrs-0.1.27].
##### Added
- Allow constant field names in macros ([#2617])
- Allow setting event names in macros ([#2699])
- **core**: Allow `ValueSet`s of any length ([#2508])
##### Changed
- `tracing-attributes`: updated to [0.1.27][attrs-0.1.27]
- `tracing-core`: updated to [0.1.32][core-0.1.32]
- **attributes**: Bump minimum version of proc-macro2 to 1.0.60 ([#2732])
- **attributes**: Generate less dead code for async block return type hint ([#2709])
##### Fixed
- Use fully qualified names in macros for items exported from std prelude
([#2621], [#2757])
- **attributes**: Allow \[`clippy::let_with_type_underscore`] in macro-generated
code (\[[#2609](https://togithub.com/tokio-rs/tracing/issues/2609)])
- **attributes**: Allow `unknown_lints` in macro-generated code ([#2626])
- **attributes**: Fix a compilation error in `#[instrument]` when the `"log"`
feature is enabled ([#2599])
##### Documented
- Add `axum-insights` to relevant crates. ([#2713])
- Fix link to RAI pattern crate documentation (\[[#2612](https://togithub.com/tokio-rs/tracing/issues/2612)])
- Fix docs typos and warnings ([#2581])
- Add `clippy-tracing` to related crates ([#2628])
- Add `tracing-cloudwatch` to related crates ([#2667])
- Fix deadlink to `tracing-etw` repo ([#2602])
[#2617]: https://togithub.com/tokio-rs/tracing/pull/2617
[#2699]: https://togithub.com/tokio-rs/tracing/pull/2699
[#2508]: https://togithub.com/tokio-rs/tracing/pull/2508
[#2621]: https://togithub.com/tokio-rs/tracing/pull/2621
[#2713]: https://togithub.com/tokio-rs/tracing/pull/2713
[#2581]: https://togithub.com/tokio-rs/tracing/pull/2581
[#2628]: https://togithub.com/tokio-rs/tracing/pull/2628
[#2667]: https://togithub.com/tokio-rs/tracing/pull/2667
[#2602]: https://togithub.com/tokio-rs/tracing/pull/2602
[#2626]: https://togithub.com/tokio-rs/tracing/pull/2626
[#2757]: https://togithub.com/tokio-rs/tracing/pull/2757
[#2732]: https://togithub.com/tokio-rs/tracing/pull/2732
[#2709]: https://togithub.com/tokio-rs/tracing/pull/2709
[#2599]: https://togithub.com/tokio-rs/tracing/pull/2599
[`let_with_type_underscore`]: http://rust-lang.github.io/rust-clippy/rust-1.70.0/index.html#let_with_type_underscore
[attrs-0.1.27]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.27
[core-0.1.32]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.32
### [`v0.1.38`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.38): tracing 0.1.38
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.38)
This `tracing` release changes the `Drop` implementation for `Instrumented`
`Future`s so that the attached `Span` is entered when dropping the `Future`. This
means that events emitted by the `Future`'s `Drop` implementation will now be
recorded within its `Span`. It also adds `#[inline]` hints to methods called in
the `event!` macro's expansion, for an improvement in both binary size and
performance.
Additionally, this release updates the `tracing-attributes` dependency to
[v0.1.24][attrs-0.1.24], which updates the [`syn`][syn] dependency to v2.x.x.
`tracing-attributes` v0.1.24 also includes improvements to the `#[instrument]`
macro; see [the `tracing-attributes` 0.1.24 release notes][attrs-0.1.24] for
details.
##### Added
- `Instrumented` futures will now enter the attached `Span` in their `Drop`
implementation, allowing events emitted when dropping the future to occur
within the span ([#2562](https://togithub.com/tokio-rs/tracing/issues/2562))
- `#[inline]` attributes for methods called by the `event!` macros, making
generated code smaller ([#2555](https://togithub.com/tokio-rs/tracing/issues/2555))
- **attributes**: `level` argument to `#[instrument(err)]` and
`#[instrument(ret)]` to override the level of
the generated return value event ([#2335](https://togithub.com/tokio-rs/tracing/issues/2335))
- **attributes**: Improved compiler error message when `#[instrument]` is added to a `const fn`
([#2418](https://togithub.com/tokio-rs/tracing/issues/2418))
##### Changed
- `tracing-attributes`: updated to [0.1.24][attrs-0.1.24]
- Removed unneeded `cfg-if` dependency ([#2553](https://togithub.com/tokio-rs/tracing/issues/2553))
- **attributes**: Updated [`syn`][syn] dependency to 2.0 ([#2516](https://togithub.com/tokio-rs/tracing/issues/2516))
##### Fixed
- **attributes**: Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#2356](https://togithub.com/tokio-rs/tracing/issues/2356))
- **attributes**: Removed unused "visit" feature flag from `syn` dependency ([#2530](https://togithub.com/tokio-rs/tracing/issues/2530))
##### Documented
- **attributes**: Documented default level for `#[instrument(err)]` ([#2433](https://togithub.com/tokio-rs/tracing/issues/2433))
- **attributes**: Improved documentation for levels in `#[instrument]` ([#2350](https://togithub.com/tokio-rs/tracing/issues/2350))
Thanks to [@nitnelave](https://togithub.com/nitnelave), [@jsgf](https://togithub.com/jsgf), [@Abhicodes-crypto](https://togithub.com/Abhicodes-crypto), [@LukeMathWalker](https://togithub.com/LukeMathWalker), [@andrewpollack](https://togithub.com/andrewpollack),
[@quad](https://togithub.com/quad), [@klensy](https://togithub.com/klensy), [@davidpdrsn](https://togithub.com/davidpdrsn), [@dbidwell94](https://togithub.com/dbidwell94), [@ldm0](https://togithub.com/ldm0), [@NobodyXu](https://togithub.com/NobodyXu), [@ilsv](https://togithub.com/ilsv), and [@daxpedda](https://togithub.com/daxpedda)
for contributing to this release!
[`syn`]: https://crates.io/crates/syn
[attrs-0.1.24]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.24
### [`v0.1.37`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.37): tracing 0.1.37
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37)
This release of `tracing` incorporates changes from `tracing-core`
[v0.1.30][core-0.1.30] and `tracing-attributes` [v0.1.23][attrs-0.1.23],
including the new `Subscriber::on_register_dispatch` method for performing late
initialization after a `Subscriber` is registered as a `Dispatch`, and bugfixes
for the `#[instrument]` attribute. Additionally, it fixes instances of the
`bare_trait_objects` lint, which is now a warning on `tracing`'s MSRV and will
become an error in the next edition.
##### Fixed
- **attributes**: Incorrect handling of inner attributes in `#[instrument]`ed
functions ([#2307])
- **attributes**: Incorrect location of compiler diagnostic spans generated for
type errors in `#[instrument]`ed `async fn`s ([#2270])
- **attributes**: Updated `syn` dependency to fix compilation with `-Z
minimal-versions` ([#2246])
- `bare_trait_objects` warning in `valueset!` macro expansion ([#2308])
##### Added
- **core**: `Subscriber::on_register_dispatch` method ([#2269])
- **core**: `WeakDispatch` type and `Dispatch::downgrade()` function ([#2293])
##### Changed
- `tracing-core`: updated to [0.1.30][core-0.1.30]
- `tracing-attributes`: updated to [0.1.23][attrs-0.1.23]
##### Documented
- Added [`tracing-web`][tracing-web] and [`reqwest-tracing`][reqwest-tracing] to related crates ([#2283],
[#2331])
Thanks to new contributors [@compiler-errors](https://togithub.com/compiler-errors), [@e-nomem](https://togithub.com/e-nomem), [@WorldSEnder](https://togithub.com/WorldSEnder), [@Xiami2012](https://togithub.com/Xiami2012),
and [@tl-rodrigo-gryzinski](https://togithub.com/tl-rodrigo-gryzinski), as well as [@jswrenn](https://togithub.com/jswrenn) and [@CAD97](https://togithub.com/CAD97), for contributing to
this release!
[core-0.1.30]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.30
[attrs-0.1.23]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.23
[`tracing-web`]: https://crates.io/crates/tracing-web/
[`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing/
[#2246]: https://togithub.com/tokio-rs/tracing/pull/2246
[#2269]: https://togithub.com/tokio-rs/tracing/pull/2269
[#2283]: https://togithub.com/tokio-rs/tracing/pull/2283
[#2270]: https://togithub.com/tokio-rs/tracing/pull/2270
[#2293]: https://togithub.com/tokio-rs/tracing/pull/2293
[#2307]: https://togithub.com/tokio-rs/tracing/pull/2307
[#2308]: https://togithub.com/tokio-rs/tracing/pull/2308
[#2331]: https://togithub.com/tokio-rs/tracing/pull/2331
### [`v0.1.36`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.36): tracing 0.1.36
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36)
This release adds support for owned values and fat pointers as arguments to the
`Span::record` method, as well as updating the minimum `tracing-core` version
and several documentation improvements.
##### Fixed
- Incorrect docs in `dispatcher::set_default` ([#2220])
- Compilation with `-Z minimal-versions` ([#2246])
##### Added
- Support for owned values and fat pointers in `Span::record` ([#2212])
- Documentation improvements ([#2208], [#2163])
##### Changed
- `tracing-core`: updated to [0.1.29][core-0.1.29]
Thanks to [@fredr](https://togithub.com/fredr), [@cgbur](https://togithub.com/cgbur), [@jyn514](https://togithub.com/jyn514), [@matklad](https://togithub.com/matklad), and [@CAD97](https://togithub.com/CAD97) for contributing to this
release!
[core-0.1.29]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.29
[#2220]: https://togithub.com/tokio-rs/tracing/pull/2220
[#2246]: https://togithub.com/tokio-rs/tracing/pull/2246
[#2212]: https://togithub.com/tokio-rs/tracing/pull/2212
[#2208]: https://togithub.com/tokio-rs/tracing/pull/2208
[#2163]: https://togithub.com/tokio-rs/tracing/pull/2163
### [`v0.1.35`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.35): tracing 0.1.35
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35)
This release reduces the overhead of callsite registration by using new
`tracing-core` APIs.
##### Added
- Use `DefaultCallsite` to reduce callsite registration overhead ([#2083])
##### Changed
- `tracing-core`: updated to [0.1.27][core-0.1.27]
[core-0.1.27]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.27
[#2083]: https://togithub.com/tokio-rs/tracing/pull/2083
### [`v0.1.34`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.34): tracing 0.1.34
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34)
This release includes bug fixes for the "log" support feature and for the use of
both scoped and global default dispatchers in the same program.
##### Fixed
- Failure to use the global default dispatcher when a thread sets a local
default dispatcher before the global default is set ([#2065])
- **log**: Compilation errors due to `async` block/fn futures becoming `!Send`
when the "log" feature flag is enabled ([#2073])
- Broken links in documentation ([#2068])
Thanks to [@ben0x539](https://togithub.com/ben0x539) for contributing to this release!
[#2065]: https://togithub.com/tokio-rs/tracing/pull/2065
[#2073]: https://togithub.com/tokio-rs/tracing/pull/2073
[#2068]: https://togithub.com/tokio-rs/tracing/pull/2068
### [`v0.1.33`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.33): tracing 0.1.33
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.32...tracing-0.1.33)
This release adds new `span_enabled!` and `event_enabled!` variants of the
`enabled!` macro, for testing whether a subscriber would specifically enable a
span or an event.
##### Added
- `span_enabled!` and `event_enabled!` macros ([#1900])
- Several documentation improvements ([#2010], [#2012])
##### Fixed
- Compilation warning when compiling for <=32-bit targets (including `wasm32`)
([#2060])
Thanks to [@guswynn](https://togithub.com/guswynn), [@arifd](https://togithub.com/arifd), [@hrxi](https://togithub.com/hrxi), [@CAD97](https://togithub.com/CAD97), and [@name1e5s](https://togithub.com/name1e5s) for contributing to
this release!
[#1900]: https://togithub.com/tokio-rs/tracing/pull/1900
[#2010]: https://togithub.com/tokio-rs/tracing/pull/2010
[#2012]: https://togithub.com/tokio-rs/tracing/pull/2012
[#2060]: https://togithub.com/tokio-rs/tracing/pull/2060
### [`v0.1.32`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.32): tracing 0.1.32
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32)
This release reduces the overhead of creating and dropping disabled
spans significantly, which should improve performance when no `tracing`
subscriber is in use or when spans are disabled by a filter.
##### Fixed
- **attributes**: Compilation failure with `--minimal-versions` due to a
too-permissive `syn` dependency ([#1960])
##### Changed
- Reduced `Drop` overhead for disabled spans ([#1974])
- `tracing-attributes`: updated to [0.1.20][attributes-0.1.20]
[#1974]: https://togithub.com/tokio-rs/tracing/pull/1974
[#1960]: https://togithub.com/tokio-rs/tracing/pull/1960
[attributes-0.1.20]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.20
### [`v0.1.31`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.31): tracing 0.1.31
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.30...tracing-0.1.31)
This release increases the minimum supported Rust version (MSRV) to 1.49.0. In
addition, it fixes some relatively rare macro bugs.
##### Added
- Added `tracing-forest` to the list of related crates ([#1935])
##### Changed
- Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913])
##### Fixed
- Fixed the `warn!` macro incorrectly generating an event with the `TRACE` level
([#1930])
- Fixed macro hygiene issues when used in a crate that defines its own `concat!`
macro, for real this time ([#1918])
Thanks to [@QnnOkabayashi](https://togithub.com/QnnOkabayashi), [@nicolaasg](https://togithub.com/nicolaasg), and [@teohhanhui](https://togithub.com/teohhanhui) for contributing to this
release!
[#1935]: https://togithub.com/tokio-rs/tracing/pull/1935
[#1913]: https://togithub.com/tokio-rs/tracing/pull/1913
[#1930]: https://togithub.com/tokio-rs/tracing/pull/1930
[#1918]: https://togithub.com/tokio-rs/tracing/pull/1918
### [`v0.1.30`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.30): tracing 0.1.30
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.29...tracing-0.1.30)
This release adds *experimental* support for recording structured field
values using the [`valuable`][valuable] crate. See [this blog post][post] for
details on `valuable`.
Note that `valuable` support currently requires `--cfg tracing_unstable`. See
the documentation for details.
This release also adds a new `enabled!` macro for testing if a span or event
would be enabled.
##### Added
- **field**: Experimental support for recording field values using the
[`valuable`][valuable] crate ([#1608], [#1888], [#1887])
- `enabled!` macro for testing if a span or event is enabled ([#1882])
##### Changed
- `tracing-core`: updated to [0.1.22][core-0.1.22]
- `tracing-attributes`: updated to [0.1.19][attributes-0.1.19]
##### Fixed
- **log**: Fixed "use of moved value" compiler error when the "log" feature is
enabled ([#1823])
- Fixed macro hygiene issues when used in a crate that defines its own `concat!`
macro ([#1842])
- A very large number of documentation fixes and improvements.
Thanks to @[@Vlad-Scherbina](https://togithub.com/Vlad-Scherbina), [@Skepfyr](https://togithub.com/Skepfyr), [@Swatinem](https://togithub.com/Swatinem), [@guswynn](https://togithub.com/guswynn), [@teohhanhui](https://togithub.com/teohhanhui),
[@xd009642](https://togithub.com/xd009642), [@tobz](https://togithub.com/tobz), [@d-e-s-o](https://togithub.com/d-e-s-o)[@0b01](https://togithub.com/0b01), and [@nickelc](https://togithub.com/nickelc) for contributing to this release!
[`valuable`]: https://crates.io/crates/valuable
[post]: https://tokio.rs/blog/2021-05-valuable
[core-0.1.22]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.22
[attributes-0.1.19]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.19
[#1608]: https://togithub.com/tokio-rs/tracing/pull/1608
[#1888]: https://togithub.com/tokio-rs/tracing/pull/1888
[#1887]: https://togithub.com/tokio-rs/tracing/pull/1887
[#1882]: https://togithub.com/tokio-rs/tracing/pull/1882
[#1823]: https://togithub.com/tokio-rs/tracing/pull/1823
[#1842]: https://togithub.com/tokio-rs/tracing/pull/1842
### [`v0.1.29`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.29): tracing 0.1.29
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29)
This release adds support for recording `Option where T: Value` as
typed `tracing` field values. It also includes significant performance
improvements for functions annotated with the `#[instrument]` attribute
when the generated span is disabled.
##### Changed
- `tracing-core`: updated to v0.1.21
- `tracing-attributes`: updated to v0.1.19
##### Added
- **field**: `Value` impl for `Option where T: Value` ([#1585](https://togithub.com/tokio-rs/tracing/issues/1585))
- **attributes**: - improved performance when skipping
`#[instrument]`-generated spans below the max level ([#1600](https://togithub.com/tokio-rs/tracing/issues/1600), [#1605](https://togithub.com/tokio-rs/tracing/issues/1605),
[#1614](https://togithub.com/tokio-rs/tracing/issues/1614), [#1616](https://togithub.com/tokio-rs/tracing/issues/1616), [#1617](https://togithub.com/tokio-rs/tracing/issues/1617))
##### Fixed
- **instrument**: added missing `Future` implementation for
`WithSubscriber`, making the `WithDispatch` extension trait actually
useable ([#1602](https://togithub.com/tokio-rs/tracing/issues/1602))
- Documentation fixes and improvements ([#1595](https://togithub.com/tokio-rs/tracing/issues/1595), [#1601](https://togithub.com/tokio-rs/tracing/issues/1601), [#1597](https://togithub.com/tokio-rs/tracing/issues/1597))
Thanks to [@BrianBurgers](https://togithub.com/BrianBurgers), [@mattiast](https://togithub.com/mattiast), [@DCjanus](https://togithub.com/DCjanus), [@oli-obk](https://togithub.com/oli-obk), and [@matklad](https://togithub.com/matklad) for
contributing to this release!
### [`v0.1.28`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.28): tracing 0.1.28
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28)
### 0.1.28 (September 17th, 2021)
This release fixes an issue where the RustDoc documentation was rendered
incorrectly. It doesn't include any actual code changes, and is very
boring and can be ignored.
##### Fixed
- **docs**: Incorrect documentation rendering due to unclosed `
`
tag ([#1572])
[#1572]: https://togithub.com/tokio-rs/tracing/pull/1572
### [`v0.1.27`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.27): tracing 0.1.27
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27)
This release adds a new [`Span::or_current`][Span::or_current] method to aid in
efficiently propagating span contexts to spawned threads or tasks.
Additionally, it updates the [`tracing-core`][tracing-core] version to [0.1.20] and
the [`tracing-attributes`][tracing-attributes] version to [0.1.16], ensuring that a number
of new features in those crates are present.
##### Fixed
- **instrument**: Added missing `WithSubscriber` implementations for
futures and other types ([#1424](https://togithub.com/tokio-rs/tracing/issues/1424))
##### Added
- `Span::or_current` method, to help with efficient span context
propagation ([#1538](https://togithub.com/tokio-rs/tracing/issues/1538))
- **attributes**: add `skip_all` option to `#[instrument]` ([#1548](https://togithub.com/tokio-rs/tracing/issues/1548))
- **attributes**: record primitive types as primitive values rather than
as `fmt::Debug` ([#1378](https://togithub.com/tokio-rs/tracing/issues/1378))
- **core**: `NoSubscriber`, a no-op `Subscriber` implementation
([#1549](https://togithub.com/tokio-rs/tracing/issues/1549))
- **core**: Added `Visit::record_f64` and support for recording
floating-point values ([#1507](https://togithub.com/tokio-rs/tracing/issues/1507), [#1522](https://togithub.com/tokio-rs/tracing/issues/1522))
- A large number of documentation improvements and fixes ([#1369](https://togithub.com/tokio-rs/tracing/issues/1369),
[#1398](https://togithub.com/tokio-rs/tracing/issues/1398), [#1435](https://togithub.com/tokio-rs/tracing/issues/1435), [#1442](https://togithub.com/tokio-rs/tracing/issues/1442), [#1524](https://togithub.com/tokio-rs/tracing/issues/1524), [#1556](https://togithub.com/tokio-rs/tracing/issues/1556))
Thanks to new contributors [@dzvon](https://togithub.com/dzvon) and [@mbergkvist](https://togithub.com/mbergkvist), as well as [@teozkr](https://togithub.com/teozkr),
[@maxburke](https://togithub.com/maxburke), [@LukeMathWalker](https://togithub.com/LukeMathWalker), and [@jsgf](https://togithub.com/jsgf), for contributing to this release!
[`Span::or_current`]: https://docs.rs/tracing/0.1.27/tracing/struct.Span.html#method.or_current
[`tracing-core`]: https://crates.io/crates/tracing-core
[`tracing-attributes`]: https://crates.io/crates/tracing-attributes
[`tracing-core`]: https://crates.io/crates/tracing-core
[0.1.20]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.20
[0.1.16]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.16
### [`v0.1.26`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.25...tracing-0.1.26)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.25...tracing-0.1.26)
### [`v0.1.25`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.24...tracing-0.1.25)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.24...tracing-0.1.25)
### [`v0.1.24`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.23...tracing-0.1.24)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.23...tracing-0.1.24)
### [`v0.1.23`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.22...tracing-0.1.23)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.22...tracing-0.1.23)
### [`v0.1.22`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.21...tracing-0.1.22)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.21...tracing-0.1.22)
### [`v0.1.21`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.20...tracing-0.1.21)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.20...tracing-0.1.21)
### [`v0.1.20`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.19...tracing-0.1.20)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.19...tracing-0.1.20)
### [`v0.1.19`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.18...tracing-0.1.19)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.18...tracing-0.1.19)
### [`v0.1.18`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.17...tracing-0.1.18)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.17...tracing-0.1.18)
### [`v0.1.17`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.17): Tracing 0.1.17
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.16...tracing-0.1.17)
##### Changed
- **log**: Moved verbose span enter/exit log records to
"tracing::span::active" target, allowing them to be filtered
separately ([#833](https://togithub.com/tokio-rs/tracing/issues/833))
- **log**: All span lifecycle log records without fields now have the
`Trace` log filter, to guard against `log` users enabling them by
default with blanket level filtering ([#833](https://togithub.com/tokio-rs/tracing/issues/833))
##### Fixed
- **log**/**macros**: Fixed missing implicit imports of the
`tracing::field::debug` and `tracing::field::display` functions inside
the macros when the "log" feature is enabled ([#835](https://togithub.com/tokio-rs/tracing/issues/835))
### [`v0.1.16`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.15...tracing-0.1.16)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.15...tracing-0.1.16)
### [`v0.1.15`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.14...tracing-0.1.15)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.14...tracing-0.1.15)
### [`v0.1.14`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.13...tracing-0.1.14)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.13...tracing-0.1.14)
### [`v0.1.13`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.12...tracing-0.1.13)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.12...tracing-0.1.13)
### [`v0.1.12`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.11...tracing-0.1.12)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.11...tracing-0.1.12)
### [`v0.1.11`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.10...tracing-0.1.11)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.10...tracing-0.1.11)
### [`v0.1.10`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.9...tracing-0.1.10)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.9...tracing-0.1.10)
### [`v0.1.9`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.8...tracing-0.1.9)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.8...tracing-0.1.9)
### [`v0.1.8`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.7...tracing-0.1.8)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.7...tracing-0.1.8)
### [`v0.1.7`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.6...tracing-0.1.7)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.6...tracing-0.1.7)
### [`v0.1.6`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.5...tracing-0.1.6)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.5...tracing-0.1.6)
### [`v0.1.5`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.4...tracing-0.1.5)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.4...tracing-0.1.5)
### [`v0.1.4`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.3...tracing-0.1.4)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.3...tracing-0.1.4)
### [`v0.1.3`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.2...tracing-0.1.3)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.2...tracing-0.1.3)
### [`v0.1.2`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.1...tracing-0.1.2)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.1...tracing-0.1.2)
### [`v0.1.1`](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.0...tracing-0.1.1)
[Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.0...tracing-0.1.1)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.1
->0.1.40
Release Notes
tokio-rs/tracing (tracing)
### [`v0.1.40`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.40): tracing 0.1.40 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40) This release fixes a potential stack use-after-free in the `Instrument::into_inner` method. Only uses of this method are affected by this bug. ##### Fixed - Use `mem::ManuallyDrop` instead of `mem::forget` in `Instrument::into_inner` ([#2765]) [#2765]: https://togithub.com/tokio-rs/tracing/pull/2765 Thanks to [@cramertj](https://togithub.com/cramertj) and [@manishearth](https://togithub.com/manishearth) for finding and fixing this issue! ### [`v0.1.39`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.39): tracing 0.1.39 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.38...tracing-0.1.39) This release adds several additional features to the `tracing` macros. In addition, it updates the `tracing-core` dependency to [v0.1.32][core-0.1.32] and the `tracing-attributes` dependency to [v0.1.27][attrs-0.1.27]. ##### Added - Allow constant field names in macros ([#2617]) - Allow setting event names in macros ([#2699]) - **core**: Allow `ValueSet`s of any length ([#2508]) ##### Changed - `tracing-attributes`: updated to [0.1.27][attrs-0.1.27] - `tracing-core`: updated to [0.1.32][core-0.1.32] - **attributes**: Bump minimum version of proc-macro2 to 1.0.60 ([#2732]) - **attributes**: Generate less dead code for async block return type hint ([#2709]) ##### Fixed - Use fully qualified names in macros for items exported from std prelude ([#2621], [#2757]) - **attributes**: Allow \[`clippy::let_with_type_underscore`] in macro-generated code (\[[#2609](https://togithub.com/tokio-rs/tracing/issues/2609)]) - **attributes**: Allow `unknown_lints` in macro-generated code ([#2626]) - **attributes**: Fix a compilation error in `#[instrument]` when the `"log"` feature is enabled ([#2599]) ##### Documented - Add `axum-insights` to relevant crates. ([#2713]) - Fix link to RAI pattern crate documentation (\[[#2612](https://togithub.com/tokio-rs/tracing/issues/2612)]) - Fix docs typos and warnings ([#2581]) - Add `clippy-tracing` to related crates ([#2628]) - Add `tracing-cloudwatch` to related crates ([#2667]) - Fix deadlink to `tracing-etw` repo ([#2602]) [#2617]: https://togithub.com/tokio-rs/tracing/pull/2617 [#2699]: https://togithub.com/tokio-rs/tracing/pull/2699 [#2508]: https://togithub.com/tokio-rs/tracing/pull/2508 [#2621]: https://togithub.com/tokio-rs/tracing/pull/2621 [#2713]: https://togithub.com/tokio-rs/tracing/pull/2713 [#2581]: https://togithub.com/tokio-rs/tracing/pull/2581 [#2628]: https://togithub.com/tokio-rs/tracing/pull/2628 [#2667]: https://togithub.com/tokio-rs/tracing/pull/2667 [#2602]: https://togithub.com/tokio-rs/tracing/pull/2602 [#2626]: https://togithub.com/tokio-rs/tracing/pull/2626 [#2757]: https://togithub.com/tokio-rs/tracing/pull/2757 [#2732]: https://togithub.com/tokio-rs/tracing/pull/2732 [#2709]: https://togithub.com/tokio-rs/tracing/pull/2709 [#2599]: https://togithub.com/tokio-rs/tracing/pull/2599 [`let_with_type_underscore`]: http://rust-lang.github.io/rust-clippy/rust-1.70.0/index.html#let_with_type_underscore [attrs-0.1.27]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.27 [core-0.1.32]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.32 ### [`v0.1.38`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.38): tracing 0.1.38 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.38) This `tracing` release changes the `Drop` implementation for `Instrumented` `Future`s so that the attached `Span` is entered when dropping the `Future`. This means that events emitted by the `Future`'s `Drop` implementation will now be recorded within its `Span`. It also adds `#[inline]` hints to methods called in the `event!` macro's expansion, for an improvement in both binary size and performance. Additionally, this release updates the `tracing-attributes` dependency to [v0.1.24][attrs-0.1.24], which updates the [`syn`][syn] dependency to v2.x.x. `tracing-attributes` v0.1.24 also includes improvements to the `#[instrument]` macro; see [the `tracing-attributes` 0.1.24 release notes][attrs-0.1.24] for details. ##### Added - `Instrumented` futures will now enter the attached `Span` in their `Drop` implementation, allowing events emitted when dropping the future to occur within the span ([#2562](https://togithub.com/tokio-rs/tracing/issues/2562)) - `#[inline]` attributes for methods called by the `event!` macros, making generated code smaller ([#2555](https://togithub.com/tokio-rs/tracing/issues/2555)) - **attributes**: `level` argument to `#[instrument(err)]` and `#[instrument(ret)]` to override the level of the generated return value event ([#2335](https://togithub.com/tokio-rs/tracing/issues/2335)) - **attributes**: Improved compiler error message when `#[instrument]` is added to a `const fn` ([#2418](https://togithub.com/tokio-rs/tracing/issues/2418)) ##### Changed - `tracing-attributes`: updated to [0.1.24][attrs-0.1.24] - Removed unneeded `cfg-if` dependency ([#2553](https://togithub.com/tokio-rs/tracing/issues/2553)) - **attributes**: Updated [`syn`][syn] dependency to 2.0 ([#2516](https://togithub.com/tokio-rs/tracing/issues/2516)) ##### Fixed - **attributes**: Fix `clippy::unreachable` warnings in `#[instrument]`-generated code ([#2356](https://togithub.com/tokio-rs/tracing/issues/2356)) - **attributes**: Removed unused "visit" feature flag from `syn` dependency ([#2530](https://togithub.com/tokio-rs/tracing/issues/2530)) ##### Documented - **attributes**: Documented default level for `#[instrument(err)]` ([#2433](https://togithub.com/tokio-rs/tracing/issues/2433)) - **attributes**: Improved documentation for levels in `#[instrument]` ([#2350](https://togithub.com/tokio-rs/tracing/issues/2350)) Thanks to [@nitnelave](https://togithub.com/nitnelave), [@jsgf](https://togithub.com/jsgf), [@Abhicodes-crypto](https://togithub.com/Abhicodes-crypto), [@LukeMathWalker](https://togithub.com/LukeMathWalker), [@andrewpollack](https://togithub.com/andrewpollack), [@quad](https://togithub.com/quad), [@klensy](https://togithub.com/klensy), [@davidpdrsn](https://togithub.com/davidpdrsn), [@dbidwell94](https://togithub.com/dbidwell94), [@ldm0](https://togithub.com/ldm0), [@NobodyXu](https://togithub.com/NobodyXu), [@ilsv](https://togithub.com/ilsv), and [@daxpedda](https://togithub.com/daxpedda) for contributing to this release! [`syn`]: https://crates.io/crates/syn [attrs-0.1.24]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.24 ### [`v0.1.37`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.37): tracing 0.1.37 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37) This release of `tracing` incorporates changes from `tracing-core` [v0.1.30][core-0.1.30] and `tracing-attributes` [v0.1.23][attrs-0.1.23], including the new `Subscriber::on_register_dispatch` method for performing late initialization after a `Subscriber` is registered as a `Dispatch`, and bugfixes for the `#[instrument]` attribute. Additionally, it fixes instances of the `bare_trait_objects` lint, which is now a warning on `tracing`'s MSRV and will become an error in the next edition. ##### Fixed - **attributes**: Incorrect handling of inner attributes in `#[instrument]`ed functions ([#2307]) - **attributes**: Incorrect location of compiler diagnostic spans generated for type errors in `#[instrument]`ed `async fn`s ([#2270]) - **attributes**: Updated `syn` dependency to fix compilation with `-Z minimal-versions` ([#2246]) - `bare_trait_objects` warning in `valueset!` macro expansion ([#2308]) ##### Added - **core**: `Subscriber::on_register_dispatch` method ([#2269]) - **core**: `WeakDispatch` type and `Dispatch::downgrade()` function ([#2293]) ##### Changed - `tracing-core`: updated to [0.1.30][core-0.1.30] - `tracing-attributes`: updated to [0.1.23][attrs-0.1.23] ##### Documented - Added [`tracing-web`][tracing-web] and [`reqwest-tracing`][reqwest-tracing] to related crates ([#2283], [#2331]) Thanks to new contributors [@compiler-errors](https://togithub.com/compiler-errors), [@e-nomem](https://togithub.com/e-nomem), [@WorldSEnder](https://togithub.com/WorldSEnder), [@Xiami2012](https://togithub.com/Xiami2012), and [@tl-rodrigo-gryzinski](https://togithub.com/tl-rodrigo-gryzinski), as well as [@jswrenn](https://togithub.com/jswrenn) and [@CAD97](https://togithub.com/CAD97), for contributing to this release! [core-0.1.30]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.30 [attrs-0.1.23]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.23 [`tracing-web`]: https://crates.io/crates/tracing-web/ [`reqwest-tracing`]: https://crates.io/crates/reqwest-tracing/ [#2246]: https://togithub.com/tokio-rs/tracing/pull/2246 [#2269]: https://togithub.com/tokio-rs/tracing/pull/2269 [#2283]: https://togithub.com/tokio-rs/tracing/pull/2283 [#2270]: https://togithub.com/tokio-rs/tracing/pull/2270 [#2293]: https://togithub.com/tokio-rs/tracing/pull/2293 [#2307]: https://togithub.com/tokio-rs/tracing/pull/2307 [#2308]: https://togithub.com/tokio-rs/tracing/pull/2308 [#2331]: https://togithub.com/tokio-rs/tracing/pull/2331 ### [`v0.1.36`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.36): tracing 0.1.36 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36) This release adds support for owned values and fat pointers as arguments to the `Span::record` method, as well as updating the minimum `tracing-core` version and several documentation improvements. ##### Fixed - Incorrect docs in `dispatcher::set_default` ([#2220]) - Compilation with `-Z minimal-versions` ([#2246]) ##### Added - Support for owned values and fat pointers in `Span::record` ([#2212]) - Documentation improvements ([#2208], [#2163]) ##### Changed - `tracing-core`: updated to [0.1.29][core-0.1.29] Thanks to [@fredr](https://togithub.com/fredr), [@cgbur](https://togithub.com/cgbur), [@jyn514](https://togithub.com/jyn514), [@matklad](https://togithub.com/matklad), and [@CAD97](https://togithub.com/CAD97) for contributing to this release! [core-0.1.29]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.29 [#2220]: https://togithub.com/tokio-rs/tracing/pull/2220 [#2246]: https://togithub.com/tokio-rs/tracing/pull/2246 [#2212]: https://togithub.com/tokio-rs/tracing/pull/2212 [#2208]: https://togithub.com/tokio-rs/tracing/pull/2208 [#2163]: https://togithub.com/tokio-rs/tracing/pull/2163 ### [`v0.1.35`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.35): tracing 0.1.35 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35) This release reduces the overhead of callsite registration by using new `tracing-core` APIs. ##### Added - Use `DefaultCallsite` to reduce callsite registration overhead ([#2083]) ##### Changed - `tracing-core`: updated to [0.1.27][core-0.1.27] [core-0.1.27]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.27 [#2083]: https://togithub.com/tokio-rs/tracing/pull/2083 ### [`v0.1.34`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.34): tracing 0.1.34 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34) This release includes bug fixes for the "log" support feature and for the use of both scoped and global default dispatchers in the same program. ##### Fixed - Failure to use the global default dispatcher when a thread sets a local default dispatcher before the global default is set ([#2065]) - **log**: Compilation errors due to `async` block/fn futures becoming `!Send` when the "log" feature flag is enabled ([#2073]) - Broken links in documentation ([#2068]) Thanks to [@ben0x539](https://togithub.com/ben0x539) for contributing to this release! [#2065]: https://togithub.com/tokio-rs/tracing/pull/2065 [#2073]: https://togithub.com/tokio-rs/tracing/pull/2073 [#2068]: https://togithub.com/tokio-rs/tracing/pull/2068 ### [`v0.1.33`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.33): tracing 0.1.33 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.32...tracing-0.1.33) This release adds new `span_enabled!` and `event_enabled!` variants of the `enabled!` macro, for testing whether a subscriber would specifically enable a span or an event. ##### Added - `span_enabled!` and `event_enabled!` macros ([#1900]) - Several documentation improvements ([#2010], [#2012]) ##### Fixed - Compilation warning when compiling for <=32-bit targets (including `wasm32`) ([#2060]) Thanks to [@guswynn](https://togithub.com/guswynn), [@arifd](https://togithub.com/arifd), [@hrxi](https://togithub.com/hrxi), [@CAD97](https://togithub.com/CAD97), and [@name1e5s](https://togithub.com/name1e5s) for contributing to this release! [#1900]: https://togithub.com/tokio-rs/tracing/pull/1900 [#2010]: https://togithub.com/tokio-rs/tracing/pull/2010 [#2012]: https://togithub.com/tokio-rs/tracing/pull/2012 [#2060]: https://togithub.com/tokio-rs/tracing/pull/2060 ### [`v0.1.32`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.32): tracing 0.1.32 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32) This release reduces the overhead of creating and dropping disabled spans significantly, which should improve performance when no `tracing` subscriber is in use or when spans are disabled by a filter. ##### Fixed - **attributes**: Compilation failure with `--minimal-versions` due to a too-permissive `syn` dependency ([#1960]) ##### Changed - Reduced `Drop` overhead for disabled spans ([#1974]) - `tracing-attributes`: updated to [0.1.20][attributes-0.1.20] [#1974]: https://togithub.com/tokio-rs/tracing/pull/1974 [#1960]: https://togithub.com/tokio-rs/tracing/pull/1960 [attributes-0.1.20]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.20 ### [`v0.1.31`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.31): tracing 0.1.31 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.30...tracing-0.1.31) This release increases the minimum supported Rust version (MSRV) to 1.49.0. In addition, it fixes some relatively rare macro bugs. ##### Added - Added `tracing-forest` to the list of related crates ([#1935]) ##### Changed - Updated minimum supported Rust version (MSRV) to 1.49.0 ([#1913]) ##### Fixed - Fixed the `warn!` macro incorrectly generating an event with the `TRACE` level ([#1930]) - Fixed macro hygiene issues when used in a crate that defines its own `concat!` macro, for real this time ([#1918]) Thanks to [@QnnOkabayashi](https://togithub.com/QnnOkabayashi), [@nicolaasg](https://togithub.com/nicolaasg), and [@teohhanhui](https://togithub.com/teohhanhui) for contributing to this release! [#1935]: https://togithub.com/tokio-rs/tracing/pull/1935 [#1913]: https://togithub.com/tokio-rs/tracing/pull/1913 [#1930]: https://togithub.com/tokio-rs/tracing/pull/1930 [#1918]: https://togithub.com/tokio-rs/tracing/pull/1918 ### [`v0.1.30`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.30): tracing 0.1.30 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.29...tracing-0.1.30) This release adds *experimental* support for recording structured field values using the [`valuable`][valuable] crate. See [this blog post][post] for details on `valuable`. Note that `valuable` support currently requires `--cfg tracing_unstable`. See the documentation for details. This release also adds a new `enabled!` macro for testing if a span or event would be enabled. ##### Added - **field**: Experimental support for recording field values using the [`valuable`][valuable] crate ([#1608], [#1888], [#1887]) - `enabled!` macro for testing if a span or event is enabled ([#1882]) ##### Changed - `tracing-core`: updated to [0.1.22][core-0.1.22] - `tracing-attributes`: updated to [0.1.19][attributes-0.1.19] ##### Fixed - **log**: Fixed "use of moved value" compiler error when the "log" feature is enabled ([#1823]) - Fixed macro hygiene issues when used in a crate that defines its own `concat!` macro ([#1842]) - A very large number of documentation fixes and improvements. Thanks to @[@Vlad-Scherbina](https://togithub.com/Vlad-Scherbina), [@Skepfyr](https://togithub.com/Skepfyr), [@Swatinem](https://togithub.com/Swatinem), [@guswynn](https://togithub.com/guswynn), [@teohhanhui](https://togithub.com/teohhanhui), [@xd009642](https://togithub.com/xd009642), [@tobz](https://togithub.com/tobz), [@d-e-s-o](https://togithub.com/d-e-s-o)[@0b01](https://togithub.com/0b01), and [@nickelc](https://togithub.com/nickelc) for contributing to this release! [`valuable`]: https://crates.io/crates/valuable [post]: https://tokio.rs/blog/2021-05-valuable [core-0.1.22]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.22 [attributes-0.1.19]: https://togithub.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.19 [#1608]: https://togithub.com/tokio-rs/tracing/pull/1608 [#1888]: https://togithub.com/tokio-rs/tracing/pull/1888 [#1887]: https://togithub.com/tokio-rs/tracing/pull/1887 [#1882]: https://togithub.com/tokio-rs/tracing/pull/1882 [#1823]: https://togithub.com/tokio-rs/tracing/pull/1823 [#1842]: https://togithub.com/tokio-rs/tracing/pull/1842 ### [`v0.1.29`](https://togithub.com/tokio-rs/tracing/releases/tag/tracing-0.1.29): tracing 0.1.29 [Compare Source](https://togithub.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29) This release adds support for recording `OptionConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.