Skip to content

Commit 96e9d6d

Browse files
authored
subscriber: prepare to release 0.2.8 (#823)
### Changed - **fmt**: When the `chrono` dependency is enabled, the `SystemTime` timestamp now emits human-readable timestamps rather than using `SystemTime`'s fmt::Debug`implementation (`chrono` is still required for customized timestamp formatting) (#807) - **ansi**: Updated `ansi_term` dependency to 0.12 (#816) ### Added - **json**: `with_span_list` method to configure the JSON formatter to include a list of all spans in the current trace in formatting events (similarly to the text formatter) (#741) - **json**: `with_current_span` method to configure the JSON formatter to include a field for the _current_ span (the leaf of the trace) in formatted events (#741) - **fmt**: `with_thread_names` and `with_thread_ids` methods to configure `fmt::Subscriber`s and `fmt::Layer`s to include the thread name and/or thread ID of the current thread when formatting events (#818) Thanks to new contributors @mockersf, @keetonian, and @Pothulapati for contributing to this release!
1 parent c109197 commit 96e9d6d

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tracing-core = { path = "../tracing-core", version = "0.1"}
1515
tracing-error = { path = "../tracing-error" }
1616
tracing-flame = { path = "../tracing-flame" }
1717
tracing-tower = { version = "0.1.0", path = "../tracing-tower" }
18-
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.7", features = ["json", "chrono"] }
18+
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.8", features = ["json", "chrono"] }
1919
tracing-futures = { version = "0.2.1", path = "../tracing-futures", features = ["futures-01"] }
2020
tracing-attributes = { path = "../tracing-attributes", version = "0.1.2"}
2121
tracing-log = { path = "../tracing-log", version = "0.1.1", features = ["env_logger"] }

tracing-subscriber/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# 0.2.8 (July 17, 2020)
2+
3+
### Changed
4+
5+
- **fmt**: When the `chrono` dependency is enabled, the `SystemTime` timestamp
6+
formatter now emits human-readable timestamps rather than using `SystemTime`'s
7+
`fmt::Debug`implementation (`chrono` is still required for customized
8+
timestamp formatting) (#807)
9+
- **ansi**: Updated `ansi_term` dependency to 0.12 (#816)
10+
11+
### Added
12+
13+
- **json**: `with_span_list` method to configure the JSON formatter to include a
14+
list of all spans in the current trace in formatting events (similarly to the
15+
text formatter) (#741)
16+
- **json**: `with_current_span` method to configure the JSON formatter to include
17+
a field for the _current_ span (the leaf of the trace) in formatted events
18+
(#741)
19+
- **fmt**: `with_thread_names` and `with_thread_ids` methods to configure
20+
`fmt::Subscriber`s and `fmt::Layer`s to include the thread name and/or thread ID
21+
of the current thread when formatting events (#818)
22+
23+
Thanks to new contributors @mockersf, @keetonian, and @Pothulapati for
24+
contributing to this release!
25+
126
# 0.2.7 (July 1, 2020)
227

328
### Changed

tracing-subscriber/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-subscriber"
3-
version = "0.2.7"
3+
version = "0.2.8"
44
authors = [
55
"Eliza Weisman <[email protected]>",
66
"David Barsky <[email protected]>",

tracing-subscriber/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Utilities for implementing and composing [`tracing`][tracing] subscribers.
1717
[crates-badge]: https://img.shields.io/crates/v/tracing-subscriber.svg
1818
[crates-url]: https://crates.io/crates/tracing-subscriber
1919
[docs-badge]: https://docs.rs/tracing-subscriber/badge.svg
20-
[docs-url]: https://docs.rs/tracing-subscriber/0.2.7
20+
[docs-url]: https://docs.rs/tracing-subscriber/0.2.8
2121
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2222
[docs-master-url]: https://tracing-rs.netlify.com/tracing_subscriber
2323
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg

tracing-subscriber/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
//! [`env_logger` crate]: https://crates.io/crates/env_logger
5050
//! [`parking_lot`]: https://crates.io/crates/parking_lot
5151
//! [`registry`]: registry/index.html
52-
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.7")]
52+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.8")]
5353
#![cfg_attr(docsrs, feature(doc_cfg))]
5454
#![warn(
5555
missing_debug_implementations,

0 commit comments

Comments
 (0)