Skip to content

Update Rust crate env_logger to 0.11.0 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 12, 2023

This PR contains the following updates:

Package Type Update Change
env_logger dependencies minor 0.10.0 -> 0.11.0

Release Notes

rust-cli/env_logger (env_logger)

v0.11.5

Compare Source

v0.11.4

Compare Source

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: Disabled by config. Please merge this manually once you are satisfied.

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update Rust crate env_logger to 0.10.1 Update Rust crate env_logger to 0.10.2 Jan 18, 2024
@renovate renovate bot force-pushed the renovate/env_logger-0.x branch from 3843496 to 822dc39 Compare January 18, 2024 23:57
@renovate renovate bot changed the title Update Rust crate env_logger to 0.10.2 Update Rust crate env_logger to 0.11.0 Jan 20, 2024
@renovate renovate bot force-pushed the renovate/env_logger-0.x branch from 822dc39 to ad66da1 Compare January 20, 2024 08:36
@renovate renovate bot force-pushed the renovate/env_logger-0.x branch from ad66da1 to 4b1f248 Compare January 30, 2024 21:00
@renovate renovate bot changed the title Update Rust crate env_logger to 0.11.0 Update Rust crate env_logger to 0.11.1 Jan 30, 2024
@renovate renovate bot force-pushed the renovate/env_logger-0.x branch from 4b1f248 to 587386e Compare February 14, 2024 05:39
@renovate renovate bot changed the title Update Rust crate env_logger to 0.11.1 Update Rust crate env_logger to 0.11.2 Feb 14, 2024
@renovate renovate bot changed the title Update Rust crate env_logger to 0.11.2 Update Rust crate env_logger to 0.11.3 Mar 7, 2024
@renovate renovate bot force-pushed the renovate/env_logger-0.x branch from 587386e to 71b9b7a Compare March 7, 2024 05:31
@renovate renovate bot changed the title Update Rust crate env_logger to 0.11.3 Update Rust crate env_logger to 0.11.0 May 5, 2024
@renovate renovate bot force-pushed the renovate/env_logger-0.x branch from 71b9b7a to f9351b4 Compare May 5, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants