Skip to content

Commit 636211c

Browse files
hawkwkaffarell
authored andcommitted
subscriber: prepare to release v0.3.14 (tokio-rs#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 ([tokio-rs#2193]) - **layer**: `Layer::max_level_hint` implementation for `Option<impl Layer<S>>` incorrectly disabling max level filtering when the option is `None` ([tokio-rs#2195]) - **layer**: `Layer::max_level_hint` implementation for `Vec<impl Layer<S>>` returning `LevelFilter::ERROR` rather than `LevelFilter::OFF` when the `Vec` is empty ([tokio-rs#2195]) Thanks to @CAD97 and @guswynn for contributing to this release! [tokio-rs#2193]: tokio-rs#2193 [tokio-rs#2195]: tokio-rs#2195
1 parent bdd7759 commit 636211c

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
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 <eliza@buoyant.io>",
66
"David Barsky <me@davidbarsky.com>",

0 commit comments

Comments
 (0)