Update Rust crate env_logger to 0.11.3 #53

Merged
pierre merged 1 commits from renovate/env_logger-0.x into master 2024-03-25 09:39:41 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
env_logger dependencies minor 0.10.0 -> 0.11.3

Release Notes

rust-cli/env_logger (env_logger)

v0.11.3

Compare Source

Features
  • Experimental support for key-value logging behind unstable-kv

v0.11.2

Compare Source

v0.11.1

Compare Source

Fixes
  • Allow styling with Target::Pipe

v0.11.0

Compare Source

Migration Guide

env_logger::fmt::Style:
The bespoke styling API, behind color, was removed, in favor of accepting any
ANSI styled string and adapting it to the target stream's capabilities.

Possible styling libraries include:

  • anstyle is a minimal, runtime string styling API and is re-exported as env_logger::fmt::style
  • owo-colors is a feature rich runtime string styling API
  • color-print for feature-rich compile-time styling API

custom_format.rs
uses anstyle via
Formatter::default_level_style

Breaking Change
  • Removed bespoke styling API
    • env_logger::fmt::Formatter::style
    • env_logger::fmt::Formatter::default_styled_level
    • env_logger::fmt::Style
    • env_logger::fmt::Color
    • env_logger::fmt::StyledValue
  • Removed env_logger::filter in favor of env_filter
Compatibility

MSRV changed to 1.71

Features
  • Automatically adapt ANSI escape codes in logged messages to the current terminal's capabilities
  • Add support for NO_COLOR and CLICOLOR_FORCE, see https://bixense.com/clicolors/
Fixes
  • Print colors when is_test(true)

v0.10.2

Compare Source

Performance
  • Avoid extra UTF-8 validation performed in some cases
Fixes
  • Ensure custom pipes/stdout get flushed
  • Don't panic on broken pipes when color is disabled

v0.10.1

Compare Source

Performance
  • Avoid hashing directives and accessing RNG on startup
Documentation
  • Tweak RUST_LOG documentation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [env_logger](https://github.com/rust-cli/env_logger) | dependencies | minor | `0.10.0` -> `0.11.3` | --- ### Release Notes <details> <summary>rust-cli/env_logger (env_logger)</summary> ### [`v0.11.3`](https://github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0113---2024-03-05) [Compare Source](https://github.com/rust-cli/env_logger/compare/v0.11.2...v0.11.3) ##### Features - Experimental support for key-value logging behind `unstable-kv` ### [`v0.11.2`](https://github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0112---2024-02-13) [Compare Source](https://github.com/rust-cli/env_logger/compare/v0.11.1...v0.11.2) ### [`v0.11.1`](https://github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0111---2024-01-27) [Compare Source](https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1) ##### Fixes - Allow styling with `Target::Pipe` ### [`v0.11.0`](https://github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0110---2024-01-19) [Compare Source](https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.0) ##### Migration Guide **env_logger::fmt::Style:** The bespoke styling API, behind `color`, was removed, in favor of accepting any ANSI styled string and adapting it to the target stream's capabilities. Possible styling libraries include: - [anstyle](https://docs.rs/anstyle) is a minimal, runtime string styling API and is re-exported as `env_logger::fmt::style` - [owo-colors](https://docs.rs/owo-colors) is a feature rich runtime string styling API - [color-print](https://docs.rs/color-print) for feature-rich compile-time styling API [custom_format.rs](https://docs.rs/env_logger/latest/src/custom_format/custom_format.rs.html) uses `anstyle` via [`Formatter::default_level_style`](https://docs.rs/env_logger/latest/env_logger/fmt/struct.Formatter.html#method.default_level_style) ##### Breaking Change - Removed bespoke styling API - `env_logger::fmt::Formatter::style` - `env_logger::fmt::Formatter::default_styled_level` - `env_logger::fmt::Style` - `env_logger::fmt::Color` - `env_logger::fmt::StyledValue` - Removed `env_logger::filter` in favor of `env_filter` ##### Compatibility MSRV changed to 1.71 ##### Features - Automatically adapt ANSI escape codes in logged messages to the current terminal's capabilities - Add support for `NO_COLOR` and `CLICOLOR_FORCE`, see https://bixense.com/clicolors/ ##### Fixes - Print colors when `is_test(true)` ### [`v0.10.2`](https://github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0102---2024-01-18) [Compare Source](https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2) ##### Performance - Avoid extra UTF-8 validation performed in some cases ##### Fixes - Ensure custom pipes/stdout get flushed - Don't panic on broken pipes when `color` is disabled ### [`v0.10.1`](https://github.com/rust-cli/env_logger/blob/HEAD/CHANGELOG.md#0101---2023-11-10) [Compare Source](https://github.com/rust-cli/env_logger/compare/v0.10.0...v0.10.1) ##### Performance - Avoid hashing directives and accessing RNG on startup ##### Documentation - Tweak `RUST_LOG` documentation </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuMjY2LjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
pierre force-pushed renovate/env_logger-0.x from 7ac382c2e9 to 49c923bf8d 2024-03-16 00:08:29 +00:00 Compare
pierre changed title from Update Rust crate env_logger to 0.10.1 to Update Rust crate env_logger to 0.11.3 2024-03-16 00:08:30 +00:00
pierre force-pushed renovate/env_logger-0.x from 49c923bf8d to b744255b72 2024-03-23 00:27:25 +00:00 Compare
Author
Owner

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

### Edited/Blocked Notification Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ **Warning**: custom changes will be lost.
pierre merged commit 26cd08146c into master 2024-03-25 09:39:41 +00:00
pierre deleted branch renovate/env_logger-0.x 2024-03-25 09:39:42 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/oidc-test-client#53
No description provided.