subscriber: prepare to release v0.3.16 #2342
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.3.16 (October 6, 2022)
This release of
tracing-subscriber
fixes a regression introduced inv0.3.15 where
Option::None
'sLayer
implementation would set the max level hint to
OFF
. In addition, itadds several new APIs, including the
Filter::event_enabled
method forfiltering events based on fields values, and the ability to log internal
errors that occur when writing a log line.
This release also replaces the dependency on the unmaintained
[
ansi-term
] crate with the [nu-ansi-term
] crate, resolving aninformational security advisory (RUSTSEC-2021-0139 for
[
ansi-term
]'s maintainance status. This increases the minimumsupported Rust version (MSRV) to Rust 1.50+, although the crate should
still compile for the previous MSRV of Rust 1.49+ when the
ansi
feature is not enabled.
Fixed
Option::None
'sLayer
impl always setting themax_level_hint
toLevelFilter::OFF
(ensure the None-layer doesn't override the max-level erroneously #2321)-Z minimal versions
(fix minimal-versions correctness (v0.1.x) #2246)tracing-subscriber
(disabled level warning: say which create the message refers to #2285)Added
stderr
if writing a log line fails(subscriber: if error occurs when formatting event, write error to Writer #2102)
FmtLayer::log_internal_errors
andFmtSubscriber::log_internal_errors
methods for configuring whetherinternal writer errors are printed to
stderr
(subscriber: if error occurs when formatting event, write error to Writer #2102)#[must_use]
attributes on builders to warn if aSubscriber
is configured but not set as the default subscriber(feat: mark builders as must_use #2239)
Filter::event_enabled
method for filtering an eventbased on its fields (Add
Filter::event_enabled
#2245, Clarifyfilter.not()
w.r.t. event_enabled #2251)Targets::default_level
accessor (Add a method toTargets
to get the default level #2242)Changed
ansi-term
crate withnu-ansi-term
((deps: Usenu-ansi-term
to replace unmaintainedansi_term
#2287, fixes informational advisoryRUSTSEC-2021-0139)
tracing-core
: updated to 0.1.30the
ansi
) feature flag is enabled (deps: Usenu-ansi-term
to replace unmaintainedansi_term
#2287)Documented
fmt::init
documentation (tracing-subscriber: correct fmt::init() documentation #2224)filter::Not
combinator(
Not
isnot
, notor
#2249)Thanks to new contributors @cgbur, @DesmondWillowbrook, @RalfJung, and
@poliorcetics, as well as returning contributors @CAD97, @connec,
@jswrenn, @guswynn, and @bryangarza, for contributing to this release!