Skip to content

Commit 1ab8521

Browse files
committed
subscriber: prepare to release 0.2.10
Fixed - **docs**: Incorrect formatting (#862) Changed - **filter**: `LevelFilter` is now a re-export of the `tracing_core::LevelFilter` type, it can now be used interchangably with the versions in `tracing` and `tracing-core` (#853) - **filter**: Significant performance improvements when comparing `LevelFilter`s and `Level`s (#853) - Updated the minimum `tracing-core` dependency to 0.1.12 (#853) Added - **filter**: `LevelFilter` and `EnvFilter` now participate in `tracing-core`'s max level hinting, improving performance significantly in some use cases where levels are disabled globally (#853) Signed-off-by: Eliza Weisman <[email protected]>
1 parent d01a5f9 commit 1ab8521

File tree

6 files changed

+30
-9
lines changed

6 files changed

+30
-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.9", features = ["json", "chrono"] }
18+
tracing-subscriber = { path = "../tracing-subscriber", version = "0.2.10", 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.9/tracing_subscriber/layer/trait.Layer.html
18+
/// [`Layer`]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/layer/trait.Layer.html
1919
/// [`SpanTrace`]: ../struct.SpanTrace.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
20+
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/fmt/trait.FormatFields.html
21+
/// [default format]: https://docs.rs/tracing-subscriber/0.2.10/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.9/tracing_subscriber/fmt/trait.FormatFields.html
73+
/// [field formatter]: https://docs.rs/tracing-subscriber/0.2.10/tracing_subscriber/fmt/trait.FormatFields.html
7474
pub fn new(format: F) -> Self {
7575
Self {
7676
format,

tracing-subscriber/CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# 0.2.10 (July 31, 2020)
2+
3+
### Fixed
4+
5+
- **docs**: Incorrect formatting (#862)
6+
7+
### Changed
8+
9+
- **filter**: `LevelFilter` is now a re-export of the
10+
`tracing_core::LevelFilter` type, it can now be used interchangably with the
11+
versions in `tracing` and `tracing-core` (#853)
12+
- **filter**: Significant performance improvements when comparing `LevelFilter`s
13+
and `Level`s (#853)
14+
- Updated the minimum `tracing-core` dependency to 0.1.12 (#853)
15+
16+
### Added
17+
18+
- **filter**: `LevelFilter` and `EnvFilter` now participate in `tracing-core`'s
19+
max level hinting, improving performance significantly in some use cases where
20+
levels are disabled globally (#853)
21+
122
# 0.2.9 (July 23, 2020)
223

324
### Fixed
@@ -10,7 +31,7 @@
1031
- **fmt**: Span lookup methods defined by `layer::Context` are now also provided
1132
by `FmtContext` (#834)
1233

13-
# 0.2.9 (July 17, 2020)
34+
# 0.2.8 (July 17, 2020)
1435

1536
### Changed
1637

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.9"
3+
version = "0.2.10"
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.9
20+
[docs-url]: https://docs.rs/tracing-subscriber/0.2.10
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.9")]
52+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.2.10")]
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)