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
(#2193)
layer: Layer::max_level_hint implementation for Option<impl Layer<S>>
incorrectly disabling max level filtering when the option is None (#2195)
layer: Layer::max_level_hint implementation for Vec<impl Layer<S>>
returning LevelFilter::ERROR rather than LevelFilter::OFF when the Vec
is empty (#2195)
Thanks to @CAD97 and @guswynn for contributing to this release!
This release of tracing-subscriber adds a new Layer::event_enabled method,
which allows Layers 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)
... (truncated)
Commits
9638587 subscriber: prepare to release v0.3.14 (#2201)
2659ccf opentelemetry: fix exception fields defaults in docs (#2200)
4a3f299 attributes: ensure res and err events inherit target (#2184)
e0b3f79 subscriber: fix max_level_hint for empty Option/VecLayer impls (#2195)
0012a41 subscriber: \<None as Layer>::event_enabled should be true (#2193)
2fdbaaa subscriber: prepare to release v0.3.13 (#2192)
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/174
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 7/4/2022
**Status:** ✅ Merged
**Merged:** 7/4/2022
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `dependabot/cargo/tracing-subscriber-0.3.14`
---
### 📝 Commits (1)
- [`27083cc`](https://github.com/LGUG2Z/komorebi/commit/27083cc38d9c80d30f3bafce4be1f6ae00664243) chore(deps): bump tracing-subscriber from 0.3.11 to 0.3.14
### 📊 Changes
**1 file changed** (+7 additions, -7 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+7 -7)
</details>
### 📄 Description
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.11 to 0.3.14.
<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.14</h2>
<p>This release fixes multiple filtering bugs in the <code>Layer</code> implementations for
<code>Option<impl Layer></code> and <code>Vec<impl Layer></code>.</p>
<h3>Fixed</h3>
<ul>
<li><strong>layer</strong>: <code>Layer::event_enabled</code> implementation for <code>Option<impl Layer<S>></code>
returning <code>false</code> when the <code>Option</code> is <code>None</code>, disabling all events globally
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2193">#2193</a>)</li>
<li><strong>layer</strong>: <code>Layer::max_level_hint</code> implementation for <code>Option<impl Layer<S>></code>
incorrectly disabling max level filtering when the option is <code>None</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2195">#2195</a>)</li>
<li><strong>layer</strong>: <code>Layer::max_level_hint</code> implementation for <code>Vec<impl Layer<S>></code>
returning <code>LevelFilter::ERROR</code> rather than <code>LevelFilter::OFF</code> when the <code>Vec</code>
is empty (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2195">#2195</a>)</li>
</ul>
<p>Thanks to <a href="https://github.com/CAD97"><code>@CAD97</code></a> and <a href="https://github.com/guswynn"><code>@guswynn</code></a> for contributing to this release!</p>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2193">#2193</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/2193">tokio-rs/tracing#2193</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2195">#2195</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/2195">tokio-rs/tracing#2195</a></p>
<h2>tracing-subscriber 0.3.13</h2>
<p>This release of <code>tracing-subscriber</code> fixes a compilation failure due to an
incorrect <code>tracing-core</code> dependency that was introduced in v0.3.12.</p>
<h3>Changed</h3>
<ul>
<li><strong>tracing_core</strong>: Updated minimum dependency version to 0.1.28 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2190">#2190</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2190">#2190</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/2190">tokio-rs/tracing#2190</a></p>
<h2>tracing-subscriber 0.3.12</h2>
<p>This release of <code>tracing-subscriber</code> adds a new <code>Layer::event_enabled</code> method,
which allows <code>Layer</code>s to filter events <em>after</em> their field values are recorded;
a <code>Filter</code> implementation for <code>reload::Layer</code>, to make using <code>reload</code> with
per-layer filtering more ergonomic, and additional inherent method downcasting
APIs for the <code>Layered</code> type. In addition, it includes dependency updates, and
minor fixes for documentation and feature flagging.</p>
<h3>Added</h3>
<ul>
<li><strong>layer</strong>: <code>Layer::event_enabled</code> method, which can be implemented to filter
events based on their field values (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2008">#2008</a>)</li>
<li><strong>reload</strong>: <code>Filter</code> implementation for <code>reload::Layer</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2159">#2159</a>)</li>
<li><strong>layer</strong>: <code>Layered::downcast_ref</code> and <code>Layered::is</code> inherent methods
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2160">#2160</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><strong>parking_lot</strong>: Updated dependency on <code>parking_lot</code> to 0.13.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2143">#2143</a>)</li>
<li>Replaced <code>lazy_static</code> dependency with <code>once_cell</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2147">#2147</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tokio-rs/tracing/commit/9638587480b3f3c59a858ec78a9ea94103b746b8"><code>9638587</code></a> subscriber: prepare to release v0.3.14 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2201">#2201</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/2659ccf72fa3b2790279fb15d51b1266e7d21bf5"><code>2659ccf</code></a> opentelemetry: fix exception fields defaults in docs (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2200">#2200</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/4a3f2991bfe8ed65abd7622273b3d3055e4dea3e"><code>4a3f299</code></a> attributes: ensure <code>res</code> and <code>err</code> events inherit <code>target</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2184">#2184</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/e0b3f79ed9bc2bdf6125aa3d57919c26139a5a7e"><code>e0b3f79</code></a> subscriber: fix <code>max_level_hint</code> for empty <code>Option</code>/<code>Vec</code> <code>Layer</code> impls (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2195">#2195</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/0012a4131adb0713ce2cf49b16fd1bb47c9ba22c"><code>0012a41</code></a> subscriber: <code>\<None as Layer>::event_enabled</code> should be <code>true</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2193">#2193</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/2fdbaaa1e8532ee197df2642d810034f1181c8f1"><code>2fdbaaa</code></a> subscriber: prepare to release v0.3.13 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2192">#2192</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/7f62097b42dc745ad0e66f91b0dd3ada22ac91c2"><code>7f62097</code></a> subscriber: fix clippy lints (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2191">#2191</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/b4680b1fd0419d522c853fb06eee6809b07aafbc"><code>b4680b1</code></a> subscriber: update minimum <code>tracing-core</code> dep to 0.1.28 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2190">#2190</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/d86d2a4b7e87dbe1c2efaf39162b68381a085f9b"><code>d86d2a4</code></a> subscriber: prepare to release v0.3.12 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2187">#2187</a>)</li>
<li><a href="https://github.com/tokio-rs/tracing/commit/ebea0e4cc0838ea1438cbcbb693eb135606169be"><code>ebea0e4</code></a> tracing: reorganize benchmarks for comparability (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2178">#2178</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.11...tracing-subscriber-0.3.14">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/174
Author: @dependabot[bot]
Created: 7/4/2022
Status: ✅ Merged
Merged: 7/4/2022
Merged by: @LGUG2Z
Base:
master← Head:dependabot/cargo/tracing-subscriber-0.3.14📝 Commits (1)
27083ccchore(deps): bump tracing-subscriber from 0.3.11 to 0.3.14📊 Changes
1 file changed (+7 additions, -7 deletions)
View changed files
📝
Cargo.lock(+7 -7)📄 Description
Bumps tracing-subscriber from 0.3.11 to 0.3.14.
Release notes
Sourced from tracing-subscriber's releases.
... (truncated)
Commits
9638587subscriber: prepare to release v0.3.14 (#2201)2659ccfopentelemetry: fix exception fields defaults in docs (#2200)4a3f299attributes: ensureresanderrevents inherittarget(#2184)e0b3f79subscriber: fixmax_level_hintfor emptyOption/VecLayerimpls (#2195)0012a41subscriber:\<None as Layer>::event_enabledshould betrue(#2193)2fdbaaasubscriber: prepare to release v0.3.13 (#2192)7f62097subscriber: fix clippy lints (#2191)b4680b1subscriber: update minimumtracing-coredep to 0.1.28 (#2190)d86d2a4subscriber: prepare to release v0.3.12 (#2187)ebea0e4tracing: reorganize benchmarks for comparability (#2178)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.