Releases: tokio-rs/tracing
tracing-mock 0.1.0-beta.1
tracing-serde 0.2.0
tracing 0.1.41
This release updates the tracing-core dependency to v0.1.33 and
the tracing-attributes dependency to v0.1.28.
Added
Changed
Fixed
- Removed core imports in macros (#2762)
- attributes: Added missing RecordTypes for instrument (#2781)
- attributes: Change order of async and unsafe modifier (#2864)
- Fix missing field prefixes (#2878)
- attributes: Extract match scrutinee (#2880)
- Fix non-simple macro usage without message (#2879)
- Fix event macros with constant field names in the first position (#2883)
- Allow field path segments to be keywords (#2925)
- core: Fix missed
register_callsiteerror (#2938) - attributes: Support const values for
targetandname(#2941) - Prefix macro calls with ::core to avoid clashing with local macros (#3024)
tracing-attributes 0.1.28
Changed
- Bump MSRV to 1.63 (#2793)
Fixed
- Added missing RecordTypes for instrument (#2781)
- Change order of async and unsafe modifier (#2864)
- Extract match scrutinee (#2880)
- Allow field path segments to be keywords (#2925)
- Support const values for
targetandname(#2941)
Documented
- Fix backporting error in attributes (#2780)
tracing-core 0.1.33
Added
Changed
Fixed
- Fix missed
register_callsiteerror (#2938) - Do not add
valuable/stdfeature as dependency unlessvaluableis used (#3002) - prefix macro calls with ::core to avoid clashing with local macros (#3024)
Documented
- Fix incorrect (incorrectly updated) docs for LevelFilter (#2767)
Thanks to new contributor @maddiemort for contributing to this release!
tracing-subscriber 0.3.18
This release of tracing-subscriber adds support for the NO_COLOR environment
variable (an informal standard to disable emitting ANSI color escape codes) in
fmt::Layer, reintroduces support for the chrono crate, and increases the
minimum supported Rust version (MSRV) to Rust 1.63.0.
It also introduces several minor API improvements.
Added
- chrono: Add
chronoimplementations ofFormatTime(#2690) - subscriber: Add support for the
NO_COLORenvironment variable in
fmt::Layer(#2647) - fmt: make
format::Writer::new()public (#2680) - filter: Implement
layer::FilterforOption<Filter>(#2407)
Changed
- log: bump version of
tracing-logto 0.2 (#2772) - Increased minimum supported Rust version (MSRV) to 1.63.0+.
Thanks to @shayne-fletcher, @dmlary, @kaifastromai, and @jsgf for contributing!
tracing-appender 0.2.3
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_suffixparameter (#2225) - non_blocking: remove
Syncbound from writer forNonBlocking(#2607) - non_blocking: name spawned threads (#2219)
Fixed
Changed
tracing-log 0.2.0
This release contains two breaking changes: the removal of the env_logger
and trace_logger features. Below are the suggested migration paths:
env_logger: users should usetracing_subscriber::fmt::Subscriber
ortracing_subscriber::fmt::Layerwith theTargetsor
EnvFilterfilters instead.trace_logger: users should use thetracingcrate's
"log" feature flag instead.
Breaking Changes
- Remove deprecated
env_loggerfeature. This removes the dependency
on the unmaintainedattycrate, resolving the security advisory
GHSA-g98v-hv3f-hcfr/RUSTSEC-2021-0145. (#2771) - Remove deprecated
trace_loggerfeature. (#2771)
tracing-log 0.1.4
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::ManuallyDropinstead ofmem::forgetinInstrument::into_inner
(#2765)
Thanks to @cramertj and @Manishearth for finding and fixing this issue!