Skip to content

Commit 4c36130

Browse files
authored
subscriber: prepare to release 0.2.9 (#846)
### Fixed - **fmt**: Fixed compilation failure on MSRV when the `chrono` feature is disabled (#844) ### Added - **fmt**: Span lookup methods defined by `layer::Context` are now also provided by `FmtContext` (#834)
1 parent 0de7d51 commit 4c36130

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
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.8", features = ["json", "chrono"] }
18+
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.9", 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-error/src/layer.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ use tracing_subscriber::{
1515
/// when formatting the fields of each span in a trace. When no formatter is
1616
/// provided, the [default format] is used instead.
1717
///
18-
/// [`Layer`]: https://docs.rs/tracing-subscriber/0.2.7/tracing_subscriber/layer/trait.Layer.html
18+
/// [`Layer`]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/layer/trait.Layer.html
1919
/// [`SpanTrace`]: ../struct.SpanTrace.html
20-
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.7/tracing_subscriber/fmt/trait.FormatFields.html
21-
/// [default format]: https://docs.rs/tracing-subscriber/0.2.7/tracing_subscriber/fmt/format/struct.DefaultFields.html
20+
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/fmt/trait.FormatFields.html
21+
/// [default format]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/fmt/format/struct.DefaultFields.html
2222
pub struct ErrorLayer<S, F = DefaultFields> {
2323
format: F,
2424

@@ -70,7 +70,7 @@ where
7070
{
7171
/// Returns a new `ErrorLayer` with the provided [field formatter].
7272
///
73-
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.7/tracing_subscriber/fmt/trait.FormatFields.html
73+
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.9/tracing_subscriber/fmt/trait.FormatFields.html
7474
pub fn new(format: F) -> Self {
7575
Self {
7676
format,

tracing-subscriber/CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# 0.2.8 (July 17, 2020)
1+
# 0.2.9 (July 23, 2020)
2+
3+
### Fixed
4+
5+
- **fmt**: Fixed compilation failure on MSRV when the `chrono` feature is
6+
disabled (#844)
7+
8+
### Added
9+
10+
- **fmt**: Span lookup methods defined by `layer::Context` are now also provided
11+
by `FmtContext` (#834)
12+
13+
# 0.2.9 (July 17, 2020)
214

315
### Changed
416

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.8"
3+
version = "0.2.9"
44
authors = [
55
"Eliza Weisman <eliza@buoyant.io>",
66
"David Barsky <me@davidbarsky.com>",

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.8
20+
[docs-url]: https://docs.rs/tracing-subscriber/0.2.9
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.8")]
52+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.9")]
5353
#![doc(
5454
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo.svg",
5555
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)