subscriber: prepare to release v0.3.12 #2187
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.12 (Jun 29, 2022)
This release of
tracing-subscriber
adds a newLayer::event_enabled
method, which allows
Layer
s to filter events after their fieldvalues are recorded; a
Filter
implementation forreload::Layer
, tomake using
reload
with per-layer filtering more ergonomic, andadditional inherent method downcasting APIs for the
Layered
type. Inaddition, it includes dependency updates, and minor fixes for
documentation and feature flagging.
Added
Layer::event_enabled
method, which can be implemented tofilter events based on their field values (Add Subscribe::event_enabled to conditionally dis/enable events based on fields #2008)
Filter
implementation forreload::Layer
(implement filter for the reload layer/subscriber #2159)Layered::downcast_ref
andLayered::is
inherent methods(tracing-core,tracing-subscriber: more
downcast_ref
&is
methods #2160)Changed
parking_lot
to 0.13.0(chore(deps): update parking_lot requirement from >= 0.9.0, <= 0.12 to >= 0.9.0, <= 0.13 #2143)
lazy_static
dependency withonce_cell
(Migrate from lazy_static to once_cell #2147)Fixed
tracing-core
features by default (Don't enable tracing-core features by default #2107)tracing-core: impl<C: Collect + ?Sized> Collect for Box<C>, Arc<C> #2161, Add additional information to references of my_crate in env_filter docs. #1088)
Thanks to @ben0x539, @jamesmunns, @georgemp, @james7132, @jswrenn,
@CAD97, and @guswynn for contributing to this release!