Skip to content

Commit

Permalink
Merge #569
Browse files Browse the repository at this point in the history
569: Update env_logger requirement from 0.10.1 to 0.11.3 r=curquiza a=dependabot[bot]

Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-cli/env_logger/releases">env_logger's releases</a>.</em></p>
<blockquote>
<h2>v0.11.3</h2>
<h2>[0.11.3] - 2024-03-05</h2>
<h3>Features</h3>
<ul>
<li>Experimental support for key-value logging behind <code>unstable-kv</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md">env_logger's changelog</a>.</em></p>
<blockquote>
<h2>[0.11.3] - 2024-03-05</h2>
<h3>Features</h3>
<ul>
<li>Experimental support for key-value logging behind <code>unstable-kv</code></li>
</ul>
<h2>[0.11.2] - 2024-02-13</h2>
<h2>[0.11.1] - 2024-01-27</h2>
<h3>Fixes</h3>
<ul>
<li>Allow styling with <code>Target::Pipe</code></li>
</ul>
<h2>[0.11.0] - 2024-01-19</h2>
<h3>Migration Guide</h3>
<p><strong>env_logger::fmt::Style:</strong>
The bespoke styling API, behind <code>color</code>, was removed, in favor of accepting any
ANSI styled string and adapting it to the target stream's capabilities.</p>
<p>Possible styling libraries include:</p>
<ul>
<li><a href="https://docs.rs/anstyle">anstyle</a> is a minimal, runtime string styling API and is re-exported as <code>env_logger::fmt::style</code></li>
<li><a href="https://docs.rs/owo-colors">owo-colors</a> is a feature rich runtime string styling API</li>
<li><a href="https://docs.rs/color-print">color-print</a> for feature-rich compile-time styling API</li>
</ul>
<p><a href="https://docs.rs/env_logger/latest/src/custom_format/custom_format.rs.html">custom_format.rs</a>
uses <code>anstyle</code> via
<a href="https://docs.rs/env_logger/latest/env_logger/fmt/struct.Formatter.html#method.default_level_style"><code>Formatter::default_level_style</code></a></p>
<h3>Breaking Change</h3>
<ul>
<li>Removed bespoke styling API
<ul>
<li><code>env_logger::fmt::Formatter::style</code></li>
<li><code>env_logger::fmt::Formatter::default_styled_level</code></li>
<li><code>env_logger::fmt::Style</code></li>
<li><code>env_logger::fmt::Color</code></li>
<li><code>env_logger::fmt::StyledValue</code></li>
</ul>
</li>
<li>Removed <code>env_logger::filter</code> in favor of <code>env_filter</code></li>
</ul>
<h3>Compatibility</h3>
<p>MSRV changed to 1.71</p>
<h3>Features</h3>
<ul>
<li>Automatically adapt ANSI escape codes in logged messages to the current terminal's capabilities</li>
<li>Add support for <code>NO_COLOR</code> and <code>CLICOLOR_FORCE</code>, see <a href="https://bixense.com/clicolors/">https://bixense.com/clicolors/</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rust-cli/env_logger/commit/98ce8038803d048bf415a5ab13f7cc1aa61d242e"><code>98ce803</code></a> chore: Release</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/7a161300c26d1a2b1f71c99e75e36d02ee11d094"><code>7a16130</code></a> docs: Update changelog</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/e55af6f7c3be0731c902025a76b42a97a97ead8e"><code>e55af6f</code></a> Merge pull request <a href="https://redirect.github.com/rust-cli/env_logger/issues/137">#137</a> from tmccombs/structured</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/f6e2d45615057917b11dfc140b0be325b7ffd1b0"><code>f6e2d45</code></a> feat(kv): Use now-stable kv feature of log crate</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/9f4a33aac0745fd4d5ad0256b747ed44652cf6eb"><code>9f4a33a</code></a> feat(kv): Add styling for key in default format</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/9d26ad586ef5d6b4f77b0b3752dc7b624e82d29b"><code>9d26ad5</code></a> feat: Add support for Key-Value data in log records</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/8962096976b0fa9c05b8b5ba5251861d60abf943"><code>8962096</code></a> Merge pull request <a href="https://redirect.github.com/rust-cli/env_logger/issues/314">#314</a> from rust-cli/renovate/pre-commit-action-3.x</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/41272282713fd4ffa593133204a458fe24e3265d"><code>4127228</code></a> chore(deps): update pre-commit/action action to v3.0.1</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/b0e3ea938427fa9a4350f816e579a7dab3d75041"><code>b0e3ea9</code></a> chore: Release</li>
<li><a href="https://github.com/rust-cli/env_logger/commit/522ce17fff0f9b46fb0741bea32aaacb1ff77cff"><code>522ce17</code></a> Merge pull request <a href="https://redirect.github.com/rust-cli/env_logger/issues/310">#310</a> from epage/docs</li>
<li>Additional commits viewable in <a href="https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.11.3">compare view</a></li>
</ul>
</details>
<br />


You can trigger a rebase of this PR 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` show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- ``@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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Apr 15, 2024
2 parents 0c3bb6e + 1f7e2b4 commit 3a76275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/web_app_graphql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ diesel = { version = "2.1.4", features = ["postgres"] }
diesel-async = { version = "0.4.1", features = ["postgres", "deadpool"] }
diesel_migrations = "2.1.0"
dotenvy = "0.15.7"
env_logger = "0.10.1"
env_logger = "0.11.3"
envy = "0.4.2"
futures = "0.3.29"
log = "0.4.20"
Expand Down

0 comments on commit 3a76275

Please sign in to comment.