subscriber: prepare to release 0.2.19 #1448
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.2.19 (June 25, 2021)
Deprecated
SpanRef::parents
,SpanRef::from_root
, andContext::scope
iterators, which are replaced by newSpanRef::scope
and
Scope::from_root
iterators (core: addas_str()
forLevel
#1413)Added
SpanRef::scope
method, which returns a leaf-to-rootIterator
including the leaf span (core: addas_str()
forLevel
#1413)Scope::from_root
method, which reverses thescope
iterator to iterate root-to-leaf (core: add
as_str()
forLevel
#1413)Context::event_span
method, which looks up the parentspan of an event (Add Context method for resolving an Event's SpanRef #1434)
Context::event_scope
method, returning aScope
iterator over the span scope of an event (Add Context method for resolving an Event's SpanRef #1434)
MakeWriter::make_writer_for
method, which allows returninga different writer based on a span or event's metadata (subscriber: add
MakeWriter::make_writer_for
#1141)MakeWriterExt
trait, withwith_max_level
,with_min_level
,with_filter
,and
, andor_else
combinators(subscriber: add
MakeWriter
combinators #1274)MakeWriter
implementation forArc<W> where &W: io::Write
(subscriber: add
MakeWriter
combinators #1274)Thanks to @teozkr and @Folyd for contributing to this release!