Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

fix(deps): update rust crate env_logger to 0.11.0 #20

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

Conversation

text-html-renovate[bot]
Copy link
Contributor

@text-html-renovate text-html-renovate bot commented Sep 26, 2024

This PR contains the following updates:

Package Type Update Change
env_logger dependencies minor 0.7.1 -> 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

v0.10.0

Compare Source

MSRV changed to 1.60 to hide optional dependencies

Fixes
  • Resolved soundness issue by switching from atty to is-terminal
Breaking Changes

To open room for changing dependencies:

  • Renamed termcolor feature to color
  • Renamed atty feature to auto-color

v0.9.3

Compare Source

  • Fix a regression from v0.9.2 where env_logger would fail to compile with the termcolor feature turned off.

v0.9.2

Compare Source

  • Fix and un-deprecate Target::Pipe, which was basically not working at all before and deprecated in 0.9.1.

v0.9.1

Compare Source

v0.9.0

Compare Source

Breaking Changes
  • Default message format now prints the target instead of the module
Improvements
  • Added a method to print the module instead of the target

v0.8.4: 0.8.4

Compare Source

Improvements:

  • Allow writing logs to a custom output target (via Target::Pipe)

Bug fixes:

  • Actually allow overriding filter levels using env_logger::Builders methods, as documented

v0.8.3: 0.8.3

Compare Source

New features:

  • Suffix customization for the default formatter (Builder::format_suffix) [#​192]

Improvements:

  • Improve documentation about log level names [#​189]

Bug fixes:

  • Ignore whitespace-only filter specifications [#​188]
  • Remove unneded files from crates.io tarball (including rust-toolchain whose presence caused issues for a few people)

v0.8.2: 0.8.2

Compare Source

Fixed a panic on io errors when writing to stdout / stderr (#​184).

v0.8.1: 0.8.1

Compare Source

Update links in the documentation that were pointing to the old repository location.

v0.8.0: 0.8.0

Compare Source

Breaking changes:

  • Update public dependency humantime to 2.0

Improvements:

  • Update default colors for debug (white => blue) and trace (black => cyan)

Deprecations:

  • env_logger::from_env has been deprecated in favor of env_logger::Builder::from_env

This release raises the minimum supported Rust version to 1.41.0.


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 is behind base branch, 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.

@text-html-renovate
Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants