Skip to content

Commit acf73db

Browse files
committed
subscriber: prepare to release 0.2.19
# 0.2.19 (June 25, 2021) ### Deprecated - **registry**: `SpanRef::parents`, `SpanRef::from_root`, and `Context::scope` iterators, which are replaced by new `SpanRef::scope` and `Scope::from_root` iterators (#1413) ### Added - **registry**: `SpanRef::scope` method, which returns a leaf-to-root `Iterator` including the leaf span (#1413) - **registry**: `Scope::from_root` method, which reverses the `scope` iterator to iterate root-to-leaf (#1413) - **registry**: `Context::event_span` method, which looks up the parent span of an event (#1434) - **registry**: `Context::event_scope` method, returning a `Scope` iterator over the span scope of an event (#1434) - **fmt**: `MakeWriter::make_writer_for` method, which allows returning a different writer based on a span or event's metadata (#1141) - **fmt**: `MakeWriterExt` trait, with `with_max_level`, `with_min_level`, `with_filter`, `and`, and `or_else` combinators (#1274) - **fmt**: `MakeWriter` implementation for `Arc<W> where &W: io::Write` (#1274) Thanks to @teozkr and @Folyd for contributing to this release!
1 parent 204077f commit acf73db

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

tracing-subscriber/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
# 0.2.19 (June 25, 2021)
2+
3+
### Deprecated
4+
5+
- **registry**: `SpanRef::parents`, `SpanRef::from_root`, and `Context::scope`
6+
iterators, which are replaced by new `SpanRef::scope` and `Scope::from_root`
7+
iterators ([#1413])
8+
9+
### Added
10+
11+
- **registry**: `SpanRef::scope` method, which returns a leaf-to-root `Iterator`
12+
including the leaf span ([#1413])
13+
- **registry**: `Scope::from_root` method, which reverses the `scope` iterator
14+
to iterate root-to-leaf ([#1413])
15+
- **registry**: `Context::event_span` method, which looks up the parent span of
16+
an event ([#1434])
17+
- **registry**: `Context::event_scope` method, returning a `Scope` iterator over
18+
the span scope of an event ([#1434])
19+
- **fmt**: `MakeWriter::make_writer_for` method, which allows returning a
20+
different writer based on a span or event's metadata ([#1141])
21+
- **fmt**: `MakeWriterExt` trait, with `with_max_level`, `with_min_level`,
22+
`with_filter`, `and`, and `or_else` combinators ([#1274])
23+
- **fmt**: `MakeWriter` implementation for `Arc<W> where &W: io::Write`
24+
([#1274])
25+
26+
Thanks to @teozkr and @Folyd for contributing to this release!
27+
28+
[#1413]: https://github.com/tokio-rs/tracing/pull/1413
29+
[#1434]: https://github.com/tokio-rs/tracing/pull/1434
30+
[#1141]: https://github.com/tokio-rs/tracing/pull/1141
31+
[#1274]: https://github.com/tokio-rs/tracing/pull/1274
32+
133
# 0.2.18 (April 30, 2021)
234

335
### Deprecated

tracing-subscriber/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
//! [`env_logger` crate]: https://crates.io/crates/env_logger
6868
//! [`parking_lot`]: https://crates.io/crates/parking_lot
6969
//! [`registry`]: registry/index.html
70-
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.18")]
70+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.19")]
7171
#![doc(
7272
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
7373
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)