|
| 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 | + |
1 | 43 | # 0.3.11 (Apr 9, 2022)
|
2 | 44 |
|
3 | 45 | This is a bugfix release for the `Filter` implementation for `EnvFilter` added
|
|
0 commit comments