Skip to content

Commit 42888dc

Browse files
authored
subscriber: prepare to release v0.3.10 (#2041)
# 0.3.10 (Apr 1, 2022) This release adds several new features, including a `Filter` implementation and new builder API for `EnvFilter`, support for using a `Vec<L> where L: Layer` as a `Layer`, and a number of smaller API improvements to make working with dynamic and reloadable layers easier. ### Added - **registry**: Implement `Filter` for `EnvFilter`, allowing it to be used with per-layer filtering ([#1983]) - **registry**: `Filter::on_new_span`, `Filter::on_enter`, `Filter::on_exit`, `Filter::on_close` and `Filter::on_record` callbacks to allow `Filter`s to track span states internally ([#1973], [#2017], [#2031]) - **registry**: `Filtered::filter` and `Filtered::filter_mut` accessors ([#1959]) - **registry**: `Filtered::inner` and `Filtered::inner_mut` accessors to borrow the wrapped `Layer` ([#2034]) - **layer**: Implement `Layer` for `Vec<L: Layer>`, to allow composing together a dynamically sized list of `Layer`s ([#2027]) - **layer**: `Layer::boxed` method to make type-erasing `Layer`s easier ([#2026]) - **fmt**: `fmt::Layer::writer` and `fmt::Layer::writer_mut` accessors ([#2034]) - **fmt**: `fmt::Layer::set_ansi` method to allow changing the ANSI formatting configuration at runtime ([#2034]) - **env-filter**: `EnvFilter::builder` to configure a new `EnvFilter` prior to parsing it ([#2035]) - Several documentation fixes and improvements ([#1972], [#1971], [#2023], [#2023]) ### Fixed - **fmt**: `fmt::Layer`'s auto traits no longer depend on the `Subscriber` type parameter's auto traits ([#2025]) - **env-filter**: Fixed missing help text when the `ansi` feature is disabled ([#2029]) Thanks to new contributors @TimoFreiberg and @wagenet, as well as @CAD97 for contributing to this release! [#1983]: #1983 [#1973]: #1973 [#2017]: #2017 [#2031]: #2031 [#1959]: #1959 [#2034]: #2034 [#2027]: #2027 [#2026]: #2026 [#2035]: #2035 [#1972]: #1972 [#1971]: #1971 [#2023]: #2023 [#2025]: #2025 [#2029]: #2029
1 parent e81ba60 commit 42888dc

File tree

4 files changed

+58
-3
lines changed

4 files changed

+58
-3
lines changed

tracing-subscriber/CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,58 @@
1+
# 0.3.10 (Apr 1, 2022)
2+
3+
This release adds several new features, including a `Filter` implementation and
4+
new builder API for `EnvFilter`, support for using a `Vec<L> where L: Layer` as
5+
a `Layer`, and a number of smaller API improvements to make working with dynamic
6+
and reloadable layers easier.
7+
8+
### Added
9+
10+
- **registry**: Implement `Filter` for `EnvFilter`, allowing it to be used with
11+
per-layer filtering ([#1983])
12+
- **registry**: `Filter::on_new_span`, `Filter::on_enter`,
13+
`Filter::on_exit`, `Filter::on_close` and `Filter::on_record` callbacks to
14+
allow `Filter`s to track span states internally ([#1973], [#2017], [#2031])
15+
- **registry**: `Filtered::filter` and `Filtered::filter_mut` accessors
16+
([#1959])
17+
- **registry**: `Filtered::inner` and `Filtered::inner_mut` accessors to borrow
18+
the wrapped `Layer` ([#2034])
19+
- **layer**: Implement `Layer` for `Vec<L: Layer>`, to allow composing together
20+
a dynamically sized list of `Layer`s ([#2027])
21+
- **layer**: `Layer::boxed` method to make type-erasing `Layer`s easier
22+
([#2026])
23+
- **fmt**: `fmt::Layer::writer` and `fmt::Layer::writer_mut` accessors ([#2034])
24+
- **fmt**: `fmt::Layer::set_ansi` method to allow changing the ANSI formatting
25+
configuration at runtime ([#2034])
26+
- **env-filter**: `EnvFilter::builder` to configure a new `EnvFilter` prior to
27+
parsing it ([#2035])
28+
- Several documentation fixes and improvements ([#1972], [#1971], [#2023],
29+
[#2023])
30+
31+
### Fixed
32+
33+
- **fmt**: `fmt::Layer`'s auto traits no longer depend on the `Subscriber` type
34+
parameter's auto traits ([#2025])
35+
- **env-filter**: Fixed missing help text when the `ansi` feature is disabled
36+
([#2029])
37+
38+
Thanks to new contributors @TimoFreiberg and @wagenet, as well as @CAD97 for
39+
contributing to this release!
40+
41+
[#1983]: https://github.com/tokio-rs/tracing/pull/1983
42+
[#1973]: https://github.com/tokio-rs/tracing/pull/1973
43+
[#2017]: https://github.com/tokio-rs/tracing/pull/2017
44+
[#2031]: https://github.com/tokio-rs/tracing/pull/2031
45+
[#1959]: https://github.com/tokio-rs/tracing/pull/1959
46+
[#2034]: https://github.com/tokio-rs/tracing/pull/2034
47+
[#2027]: https://github.com/tokio-rs/tracing/pull/2027
48+
[#2026]: https://github.com/tokio-rs/tracing/pull/2026
49+
[#2035]: https://github.com/tokio-rs/tracing/pull/2035
50+
[#1972]: https://github.com/tokio-rs/tracing/pull/1972
51+
[#1971]: https://github.com/tokio-rs/tracing/pull/1971
52+
[#2023]: https://github.com/tokio-rs/tracing/pull/2023
53+
[#2025]: https://github.com/tokio-rs/tracing/pull/2025
54+
[#2029]: https://github.com/tokio-rs/tracing/pull/2029
55+
156
# 0.3.9 (Feb 17, 2022)
257

358
This release updates the minimum supported Rust version (MSRV) to 1.49.0, and

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.9"
3+
version = "0.3.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
@@ -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.9
24+
[docs-url]: https://docs.rs/tracing-subscriber/0.3.10
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`]: https://doc.rust-lang.org/std/index.html
162162
//! [`liballoc`]: https://doc.rust-lang.org/alloc/index.html
163-
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.9")]
163+
#![doc(html_root_url = "https://docs.rs/tracing-subscriber/0.3.10")]
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)