Skip to content

Commit d86d2a4

Browse files
authored
subscriber: prepare to release v0.3.12 (#2187)
# 0.3.12 (Jun 29, 2022) This release of `tracing-subscriber` adds a new `Layer::event_enabled` method, which allows `Layer`s to filter events *after* their field values are recorded; a `Filter` implementation for `reload::Layer`, to make using `reload` with per-layer filtering more ergonomic, and additional inherent method downcasting APIs for the `Layered` type. In addition, it includes dependency updates, and minor fixes for documentation and feature flagging. ### Added - **layer**: `Layer::event_enabled` method, which can be implemented to filter events based on their field values (#2008) - **reload**: `Filter` implementation for `reload::Layer` (#2159) - **layer**: `Layered::downcast_ref` and `Layered::is` inherent methods (#2160) ### Changed - **parking_lot**: Updated dependency on `parking_lot` to 0.13.0 (#2143) - Replaced `lazy_static` dependency with `once_cell` (#2147) ### Fixed - Don't enable `tracing-core` features by default (#2107) - Several documentation link and typo fixes (#2064, #2068, #2077, #2161, #1088) Thanks to @ben0x539, @jamesmunns, @georgemp, @james7132, @jswrenn, @CAD97, and @guswynn for contributing to this release!
1 parent ebea0e4 commit d86d2a4

File tree

4 files changed

+45
-3
lines changed

4 files changed

+45
-3
lines changed

Diff for: tracing-subscriber/CHANGELOG.md

+42
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
# 0.3.12 (Jun 29, 2022)
2+
3+
This release of `tracing-subscriber` adds a new `Layer::event_enabled` method,
4+
which allows `Layer`s to filter events *after* their field values are recorded;
5+
a `Filter` implementation for `reload::Layer`, to make using `reload` with
6+
per-layer filtering more ergonomic, and additional inherent method downcasting
7+
APIs for the `Layered` type. In addition, it includes dependency updates, and
8+
minor fixes for documentation and feature flagging.
9+
10+
### Added
11+
12+
- **layer**: `Layer::event_enabled` method, which can be implemented to filter
13+
events based on their field values ([#2008])
14+
- **reload**: `Filter` implementation for `reload::Layer` ([#2159])
15+
- **layer**: `Layered::downcast_ref` and `Layered::is` inherent methods
16+
([#2160])
17+
18+
### Changed
19+
20+
- **parking_lot**: Updated dependency on `parking_lot` to 0.13.0 ([#2143])
21+
- Replaced `lazy_static` dependency with `once_cell` ([#2147])
22+
23+
### Fixed
24+
25+
- Don't enable `tracing-core` features by default ([#2107])
26+
- Several documentation link and typo fixes ([#2064], [#2068], #[2077], [#2161],
27+
[#1088])
28+
29+
Thanks to @ben0x539, @jamesmunns, @georgemp, @james7132, @jswrenn, @CAD97, and
30+
@guswynn for contributing to this release!
31+
32+
[#2008]: https://github.com/tokio-rs/tracing/pull/2008
33+
[#2159]: https://github.com/tokio-rs/tracing/pull/2159
34+
[#2160]: https://github.com/tokio-rs/tracing/pull/2160
35+
[#2143]: https://github.com/tokio-rs/tracing/pull/2143
36+
[#2107]: https://github.com/tokio-rs/tracing/pull/2107
37+
[#2064]: https://github.com/tokio-rs/tracing/pull/2064
38+
[#2068]: https://github.com/tokio-rs/tracing/pull/2068
39+
[#2077]: https://github.com/tokio-rs/tracing/pull/2077
40+
[#2161]: https://github.com/tokio-rs/tracing/pull/2161
41+
[#1088]: https://github.com/tokio-rs/tracing/pull/1088
42+
143
# 0.3.11 (Apr 9, 2022)
244

345
This is a bugfix release for the `Filter` implementation for `EnvFilter` added

Diff for: 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.3.11"
3+
version = "0.3.12"
44
authors = [
55
"Eliza Weisman <[email protected]>",
66
"David Barsky <[email protected]>",

Diff for: tracing-subscriber/README.md

+1-1
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.11
24+
[docs-url]: https://docs.rs/tracing-subscriber/0.3.12
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

Diff for: tracing-subscriber/src/lib.rs

+1-1
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.11")]
163+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.12")]
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)