Skip to content

Commit 9638587

Browse files
authored
subscriber: prepare to release v0.3.14 (#2201)
# 0.3.14 (Jul 1, 2022) This release fixes multiple filtering bugs in the `Layer` implementations for `Option<impl Layer>` and `Vec<impl Layer>`. ### Fixed - **layer**: `Layer::event_enabled` implementation for `Option<impl Layer<S>>` returning `false` when the `Option` is `None`, disabling all events globally ([#2193]) - **layer**: `Layer::max_level_hint` implementation for `Option<impl Layer<S>>` incorrectly disabling max level filtering when the option is `None` ([#2195]) - **layer**: `Layer::max_level_hint` implementation for `Vec<impl Layer<S>>` returning `LevelFilter::ERROR` rather than `LevelFilter::OFF` when the `Vec` is empty ([#2195]) Thanks to @CAD97 and @guswynn for contributing to this release! [#2193]: #2193 [#2195]: #2195
1 parent 2659ccf commit 9638587

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

tracing-subscriber/CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
# 0.3.13 (Jun 30, 2022)
1+
# 0.3.14 (Jul 1, 2022)
2+
3+
This release fixes multiple filtering bugs in the `Layer` implementations for
4+
`Option<impl Layer>` and `Vec<impl Layer>`.
5+
6+
### Fixed
7+
8+
- **layer**: `Layer::event_enabled` implementation for `Option<impl Layer<S>>`
9+
returning `false` when the `Option` is `None`, disabling all events globally
10+
([#2193])
11+
- **layer**: `Layer::max_level_hint` implementation for `Option<impl Layer<S>>`
12+
incorrectly disabling max level filtering when the option is `None` ([#2195])
13+
- **layer**: `Layer::max_level_hint` implementation for `Vec<impl Layer<S>>`
14+
returning `LevelFilter::ERROR` rather than `LevelFilter::OFF` when the `Vec`
15+
is empty ([#2195])
16+
17+
Thanks to @CAD97 and @guswynn for contributing to this release!
18+
19+
[#2193]: https://github.com/tokio-rs/tracing/pull/2193
20+
[#2195]: https://github.com/tokio-rs/tracing/pull/2195
21+
22+
# 0.3.13 (Jun 30, 2022) (YANKED)
223

324
This release of `tracing-subscriber` fixes a compilation failure due to an
425
incorrect `tracing-core` dependency that was introduced in v0.3.12.
@@ -9,7 +30,7 @@ incorrect `tracing-core` dependency that was introduced in v0.3.12.
930

1031
[#2190]: https://github.com/tokio-rs/tracing/pull/2190
1132

12-
# 0.3.12 (Jun 29, 2022)
33+
# 0.3.12 (Jun 29, 2022) (YANKED)
1334

1435
This release of `tracing-subscriber` adds a new `Layer::event_enabled` method,
1536
which allows `Layer`s to filter events *after* their field values are recorded;

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.3.13"
3+
version = "0.3.14"
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
@@ -21,7 +21,7 @@ Utilities for implementing and composing [`tracing`][tracing] subscribers.
2121
[crates-badge]: https://img.shields.io/crates/v/tracing-subscriber.svg
2222
[crates-url]: https://crates.io/crates/tracing-subscriber
2323
[docs-badge]: https://docs.rs/tracing-subscriber/badge.svg
24-
[docs-url]: https://docs.rs/tracing-subscriber/0.3.13
24+
[docs-url]: https://docs.rs/tracing-subscriber/0.3.14
2525
[docs-master-badge]: https://img.shields.io/badge/docs-master-blue
2626
[docs-master-url]: https://tracing-rs.netlify.com/tracing_subscriber
2727
[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
@@ -160,7 +160,7 @@
160160
//! [`time` crate]: https://crates.io/crates/time
161161
//! [`libstd`]: std
162162
//! [`liballoc`]: alloc
163-
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.13")]
163+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.14")]
164164
#![doc(
165165
html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/master/assets/logo-type.png",
166166
issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"

0 commit comments

Comments
 (0)