Skip to content

Commit 971a46b

Browse files
authored
subscriber: prepare to release 0.2.6 (tokio-rs#757)
Fixed - **fmt**: Fixed an issue in the JSON formatter where using `Span::record` would result in malformed spans (tokio-rs#709) Signed-off-by: Eliza Weisman <[email protected]>
1 parent d479ca0 commit 971a46b

File tree

11 files changed

+21
-14
lines changed

11 files changed

+21
-14
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ idiomatic `tracing`.)
4242
In order to record trace events, executables have to use a `Subscriber`
4343
implementation compatible with `tracing`. A `Subscriber` implements a way of
4444
collecting trace data, such as by logging it to standard output. [`tracing_subscriber`](https://docs.rs/tracing-subscriber/)'s
45-
[`fmt` module](https://docs.rs/tracing-subscriber/0.2.4/tracing_subscriber/fmt/index.html) provides reasonable defaults.
45+
[`fmt` module](https://docs.rs/tracing-subscriber/0.2.6/tracing_subscriber/fmt/index.html) provides reasonable defaults.
4646
Additionally, `tracing-subscriber` is able to consume messages emitted by `log`-instrumented libraries and modules.
4747

4848
The simplest way to use a subscriber is to call the `set_global_default` function.
@@ -75,7 +75,7 @@ fn main() {
7575
```toml
7676
[dependencies]
7777
tracing = "0.1"
78-
tracing-subscriber = "0.2.4"
78+
tracing-subscriber = "0.2.6"
7979
```
8080

8181
This subscriber will be used as the default in all threads for the remainder of the duration

examples/Cargo.toml

+1-1
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.4", features = ["json", "chrono"] }
18+
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.6", 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-appender/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ keywords = ["logging", "tracing", "file-appender", "non-blocking-writer"]
2020
edition = "2018"
2121

2222
[dependencies]
23-
tracing-subscriber = {path = "../tracing-subscriber", version = "0.2.4"}
23+
tracing-subscriber = {path = "../tracing-subscriber", version = "0.2.6"}
2424
crossbeam-channel = "0.4.2"
2525
chrono = "0.4.11"
2626

tracing-error/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ default = ["traced-error"]
3838
traced-error = []
3939

4040
[dependencies]
41-
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.4", default-features = false, features = ["registry", "fmt"] }
41+
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.6", default-features = false, features = ["registry", "fmt"] }
4242
tracing = { path = "../tracing", version = "0.1.12"}
4343

4444
[badges]

tracing-error/src/layer.rs

+4-4
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.4/tracing_subscriber/layer/trait.Layer.html
18+
/// [`Layer`]: https://docs.rs/tracing-subscriber/0.2.6/tracing_subscriber/layer/trait.Layer.html
1919
/// [`SpanTrace`]: ../struct.SpanTrace.html
20-
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.4/tracing_subscriber/fmt/trait.FormatFields.html
21-
/// [default format]: https://docs.rs/tracing-subscriber/0.2.4/tracing_subscriber/fmt/format/struct.DefaultFields.html
20+
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.6/tracing_subscriber/fmt/trait.FormatFields.html
21+
/// [default format]: https://docs.rs/tracing-subscriber/0.2.6/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.4/tracing_subscriber/fmt/trait.FormatFields.html
73+
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.6/tracing_subscriber/fmt/trait.FormatFields.html
7474
pub fn new(format: F) -> Self {
7575
Self {
7676
format,

tracing-flame/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ terms or conditions.
115115
[crates-badge]: https://img.shields.io/crates/v/tracing-flame.svg
116116
[crates-url]: https://crates.io/crates/tracing-flame
117117
[docs-badge]: https://docs.rs/tracing-flame/badge.svg
118-
[docs-url]: https://docs.rs/tracing-flame/0.2.4
118+
[docs-url]: https://docs.rs/tracing-flame/0.2.6
119119
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
120120
[docs-master-url]: https://tracing-rs.netlify.com/tracing_flame
121121
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg

tracing-futures/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-futures"
3-
version = "0.2.4"
3+
version = "0.2.6"
44
authors = ["Eliza Weisman <[email protected]>", "Tokio Contributors <[email protected]>"]
55
edition = "2018"
66
repository = "https://github.com/tokio-rs/tracing"

tracing-subscriber/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 0.2.6 (June 19, 2020)
2+
3+
### Fixed
4+
5+
- **fmt**: Fixed an issue in the JSON formatter where using `Span::record` would
6+
result in malformed spans (#709)
7+
18
# 0.2.5 (April 21, 2020)
29

310
### Changed

tracing-subscriber/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tracing-subscriber"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
authors = [
55
"Eliza Weisman <[email protected]>",
66
"David Barsky <[email protected]>",

tracing-subscriber/README.md

+1-1
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.4
20+
[docs-url]: https://docs.rs/tracing-subscriber/0.2.6
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

+1-1
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.4")]
52+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.6")]
5353
#![cfg_attr(docsrs, feature(doc_cfg))]
5454
#![warn(
5555
missing_debug_implementations,

0 commit comments

Comments
 (0)