This release of tracing-subscriber fixes a regression introduced in
[v0.3.15][subscriber-0.3.15] where Option::None's Layer implementation would
set the max level hint to OFF. In addition, it adds several new APIs,
including the Filter::event_enabled method for filtering events based on
fields values, and the ability to log internal errors that occur when writing a
log line.
This release also replaces the dependency on the unmaintained [ansi-term]
crate with the [nu-ansi-term] crate, resolving an informational security
advisory ([RUSTSEC-2021-0139]) for [ansi-term]'s maintainance status. This
increases the minimum supported Rust version (MSRV) to Rust 1.50+, although the
crate should still compile for the previous MSRV of Rust 1.49+ when the ansi
feature is not enabled.
Fixed
layer: Option::None's Layer impl always setting the max_level_hint
to LevelFilter::OFF (#2321)
env-filter: Clarify that disabled level warnings are emitted by
tracing-subscriber (#2285)
Added
fmt: Log internal errors to stderr if writing a log line fails (#2102)
fmt: FmtLayer::log_internal_errors and
FmtSubscriber::log_internal_errors methods for configuring whether internal
writer errors are printed to stderr (#2102)
fmt: #[must_use] attributes on builders to warn if a Subscriber is
configured but not set as the default subscriber (#2239)
filter: Filter::event_enabled method for filtering an event based on its
fields (#2245, #2251)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/255
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 10/10/2022
**Status:** ✅ Merged
**Merged:** 10/10/2022
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `dependabot/cargo/tracing-subscriber-0.3.16`
---
### 📝 Commits (1)
- [`a5898ff`](https://github.com/LGUG2Z/komorebi/commit/a5898ff8cb39930c4470a412df048c23bfd2c5e0) chore(deps): bump tracing-subscriber from 0.3.15 to 0.3.16
### 📊 Changes
**1 file changed** (+21 additions, -14 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+21 -14)
</details>
### 📄 Description
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.15 to 0.3.16.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing-subscriber's releases</a>.</em></p>
<blockquote>
<h2>tracing-subscriber 0.3.16</h2>
<p>This release of <code>tracing-subscriber</code> fixes a regression introduced in
[v0.3.15][subscriber-0.3.15] where <code>Option::None</code>'s <code>Layer</code> implementation would
set the max level hint to <code>OFF</code>. In addition, it adds several new APIs,
including the <code>Filter::event_enabled</code> method for filtering events based on
fields values, and the ability to log internal errors that occur when writing a
log line.</p>
<p>This release also replaces the dependency on the unmaintained [<code>ansi-term</code>]
crate with the [<code>nu-ansi-term</code>] crate, resolving an <em>informational</em> security
advisory ([RUSTSEC-2021-0139]) for [<code>ansi-term</code>]'s maintainance status. This
increases the minimum supported Rust version (MSRV) to Rust 1.50+, although the
crate should still compile for the previous MSRV of Rust 1.49+ when the <code>ansi</code>
feature is not enabled.</p>
<h3>Fixed</h3>
<ul>
<li><strong>layer</strong>: <code>Option::None</code>'s <code>Layer</code> impl always setting the <code>max_level_hint</code>
to <code>LevelFilter::OFF</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2321">#2321</a>)</li>
<li>Compilation with <code>-Z minimal versions</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2246">#2246</a>)</li>
<li><strong>env-filter</strong>: Clarify that disabled level warnings are emitted by
<code>tracing-subscriber</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2285">#2285</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li><strong>fmt</strong>: Log internal errors to <code>stderr</code> if writing a log line fails (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2102">#2102</a>)</li>
<li><strong>fmt</strong>: <code>FmtLayer::log_internal_errors</code> and
<code>FmtSubscriber::log_internal_errors</code> methods for configuring whether internal
writer errors are printed to <code>stderr</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2102">#2102</a>)</li>
<li><strong>fmt</strong>: <code>#[must_use]</code> attributes on builders to warn if a <code>Subscriber</code> is
configured but not set as the default subscriber (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2239">#2239</a>)</li>
<li><strong>filter</strong>: <code>Filter::event_enabled</code> method for filtering an event based on its
fields (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2245">#2245</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2251">#2251</a>)</li>
<li><strong>filter</strong>: <code>Targets::default_level</code> accessor (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2242">#2242</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><strong>ansi</strong>: Replaced dependency on unmaintained <code>ansi-term</code> crate with
<code>nu-ansi-term</code> ((<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2287">#2287</a>, fixes informational advisory [RUSTSEC-2021-0139])</li>
<li><code>tracing-core</code>: updated to [0.1.30][core-0.1.30]</li>
<li>Minimum Supported Rust Version (MSRV) increased to Rust 1.50+ (when the
<code>ansi</code>) feature flag is enabled (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2287">#2287</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li><strong>fmt</strong>: Correct inaccuracies in <code>fmt::init</code> documentation (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2224">#2224</a>)</li>
<li><strong>filter</strong>: Fix incorrect doc link in <code>filter::Not</code> combinator (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2249">#2249</a>)</li>
</ul>
<p>Thanks to new contributors <a href="https://github.com/cgbur"><code>@cgbur</code></a>, <a href="https://github.com/DesmondWillowbrook"><code>@DesmondWillowbrook</code></a>, <a href="https://github.com/RalfJung"><code>@RalfJung</code></a>, and
<a href="https://github.com/poliorcetics"><code>@poliorcetics</code></a>, as well as returning contributors <a href="https://github.com/CAD97"><code>@CAD97</code></a>, <a href="https://github.com/connec"><code>@connec</code></a>, <a href="https://github.com/jswrenn"><code>@jswrenn</code></a>,</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tokio-rs/tracing/commit/b28c9351dd4f34ed3c7d5df88bb5c2e694d9c951"><code>b28c935</code></a> subscriber: prepare to release v0.3.16 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2342">#2342</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/ecd7e06fdda72e2b33657785c25a0aaba641805a"><code>ecd7e06</code></a> chore(ci): remove requirement for removed job</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/a42e96380181b1ab91bf602586786e83cb3919a6"><code>a42e963</code></a> subscriber: replace unmaintained <code>ansi_term</code> with <code>nu-ansi-term</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2287">#2287</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/a4fc92ccf84a7988562ce7604283c7eae78294d2"><code>a4fc92c</code></a> subscriber: revert "impl <code>LookupSpan</code> for <code>Box\<LS></code> and <code>Arc\<LS></code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2247">#2247</a>)"</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/8e35927d7ef5bad3b20fd53592ddb951ae7bec91"><code>8e35927</code></a> tracing: prepare to release v0.1.37 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2341">#2341</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/64b221dc6485faec054ae740815130aa22708aba"><code>64b221d</code></a> attributes: prepare to release v0.1.23 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2340">#2340</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/92cb2f030029951032c4601b6396f42f633e3118"><code>92cb2f0</code></a> attributes: fix handling of inner attributes (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2307">#2307</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/8b01ea9b9c0dfc06ab101940c94e23934c4d4cc8"><code>8b01ea9</code></a> core: prepare to release v0.1.30 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2339">#2339</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/d7372d76b1f09057ab7401517eeaae744e65b4c7"><code>d7372d7</code></a> tracing: add <code>reqwest-tracing</code> to related crates in README (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2331">#2331</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/257f86f0920c52a58c25da60e6f0b7e8324da487"><code>257f86f</code></a> opentelemetry: fix metrics docs using <code>value.</code> instead of <code>histogram.</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2326">#2326</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.15...tracing-subscriber-0.3.16">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/255
Author: @dependabot[bot]
Created: 10/10/2022
Status: ✅ Merged
Merged: 10/10/2022
Merged by: @LGUG2Z
Base:
master← Head:dependabot/cargo/tracing-subscriber-0.3.16📝 Commits (1)
a5898ffchore(deps): bump tracing-subscriber from 0.3.15 to 0.3.16📊 Changes
1 file changed (+21 additions, -14 deletions)
View changed files
📝
Cargo.lock(+21 -14)📄 Description
Bumps tracing-subscriber from 0.3.15 to 0.3.16.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
b28c935subscriber: prepare to release v0.3.16 (#2342)ecd7e06chore(ci): remove requirement for removed joba42e963subscriber: replace unmaintainedansi_termwithnu-ansi-term(#2287)a4fc92csubscriber: revert "implLookupSpanforBox\<LS>andArc\<LS>(#2247)"8e35927tracing: prepare to release v0.1.37 (#2341)64b221dattributes: prepare to release v0.1.23 (#2340)92cb2f0attributes: fix handling of inner attributes (#2307)8b01ea9core: prepare to release v0.1.30 (#2339)d7372d7tracing: addreqwest-tracingto related crates in README (#2331)257f86fopentelemetry: fix metrics docs usingvalue.instead ofhistogram.(#2326)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.