Skip to content

Releases: tokio-rs/tracing

tracing-appender 0.2.3

13 Nov 19:53
tracing-appender-0.2.3
c6bedbe

Choose a tag to compare

This release contains several new features. It also increases the
minimum supported Rust version (MSRV) to Rust 1.63.0.

Added

  • rolling: add option to automatically delete old log files (#2323)
  • non_blocking: allow worker thread name to be configured (#2365)
  • rolling: add a builder for constructing RollingFileAppenders (#2227)
  • rolling: add Builder::filename_suffix parameter (#2225)
  • non_blocking: remove Sync bound from writer for NonBlocking (#2607)
  • non_blocking: name spawned threads (#2219)

Fixed

  • Fixed several documentation typos and issues (#2689, #2375)

Changed

  • Increased minimum supported Rust version (MSRV) to 1.63.0+ (#2793)
  • Updated minimum tracing-subscriber version to 0.3.18 (#2790)

tracing-log 0.2.0

25 Oct 17:03
tracing-log-0.2.0
4161d81

Choose a tag to compare

This release contains two breaking changes: the removal of the env_logger
and trace_logger features. Below are the suggested migration paths:

Breaking Changes

tracing-log 0.1.4

23 Oct 17:30
tracing-log-0.1.4
4965c36

Choose a tag to compare

Changes

  • Deprecated env_logger feature in favor of tracing_subscriber::fmt::Subscriber ([#2752])

#[2752]: #2752

tracing 0.1.40

19 Oct 01:05
tracing-0.1.40
15600a3

Choose a tag to compare

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)

Thanks to @cramertj and @Manishearth for finding and fixing this issue!

tracing-core 0.1.32

13 Oct 22:16
tracing-core-0.1.32
c4b2a56

Choose a tag to compare

Documented

  • Fix typo in field docs (#2611)
  • Remove duplicate wording (#2674)

Changed

  • Allow ValueSets of any length (#2508)

tracing-attributes 0.1.27

13 Oct 18:03
tracing-attributes-0.1.27
2502f19

Choose a tag to compare

Changed

  • Bump minimum version of proc-macro2 to 1.0.60 (#2732)
  • Generate less dead code for async block return type hint (#2709)

Fixed

  • Fix a compilation error in #[instrument] when the "log" feature is enabled (#2599)

tracing 0.1.39

13 Oct 22:27
tracing-0.1.39
4b99457

Choose a tag to compare

This release adds several additional features to the tracing macros. In
addition, it updates the tracing-core dependency to v0.1.32 and
the tracing-attributes dependency to v0.1.27.

Added

  • Allow constant field names in macros (#2617)
  • Allow setting event names in macros (#2699)
  • core: Allow ValueSets of any length (#2508)

Changed

  • tracing-attributes: updated to 0.1.27
  • tracing-core: updated to 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])
  • 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])
  • 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)

tracing-attributes 0.1.26

22 Jun 16:00
tracing-attributes-0.1.26
4302064

Choose a tag to compare

This release of tracing-attributes fixes warnings due to allow attributes in
generated code that allow lints which may not exist on earlier versions of rustc.

Fixed

  • Allow unknown_lints in macro-generated code ([#2626])

Thanks to @mladedav for contributing to this release!

tracing-attributes 0.1.25

19 Jun 13:55
tracing-attributes-0.1.25
02a0bad

Choose a tag to compare

This release of tracing-attributes fixes the Clippy lint
let_with_type_underscore in code generated by the #[instrument]
attribute in Rust 1.70+.

Fixed

  • Allow [clippy::let_with_type_underscore] in macro-generated code (#2609)

Thanks to @coolreader19 for contributing to this release!

tracing-core 0.1.31

11 May 23:23
tracing-core-0.1.31
bec8228

Choose a tag to compare

This release of tracing-core fixes a bug that caused threads which call
dispatcher::get_default before a global default subscriber is set to never
see the global default once it is set. In addition, it includes improvements for
instrumentation performance in some cases, especially when using a global
default dispatcher.

Fixed

  • Fixed incorrect thread-local caching of Dispatch::none if
    dispatcher::get_default is called before dispatcher::set_global_default
    (#2593)

Changed

  • Cloning a Dispatch that points at a global default subscriber no longer
    requires an Arc reference count increment, improving performance
    substantially (#2593)
  • dispatcher::get_default no longer attempts to access a thread local if the
    scoped dispatcher is not in use, improving performance when the default
    dispatcher is global (#2593)
  • Added #[inline] annotations called by the event! and span! macros to
    reduce the size of macro-generated code and improve recording performance
    (#2555)

Thanks to new contributor @ldm0 for contributing to this release!