Sourced from env_logger's releases.
v0.11.2
[0.11.2] - 2024-02-13
v0.11.1
What's Changed
- fix(fmt): Fix passing of WriteStyle when using Target::Pipe by
@Bobo1239in rust-cli/env_logger#302New Contributors
@Bobo1239made their first contribution in rust-cli/env_logger#302Full Changelog: https://github.com/rust-cli/env_logger/compare/v0.11.0...v0.11.1
v0.11.0
What's Changed
- refactor(fmt): More anstream prep by
@epagein rust-cli/env_logger#297- fix(fmt): Improve terminal styling support by
@epagein rust-cli/env_logger#298- refactor: Split out env_filter package by
@epagein rust-cli/env_logger#299- feat(filter): Add a Logger decorator by
@epagein rust-cli/env_logger#300Full Changelog: https://github.com/rust-cli/env_logger/compare/v0.10.2...v0.11.0
Sourced from env_logger's changelog.
[0.11.2] - 2024-02-13
[0.11.1] - 2024-01-27
Fixes
- Allow styling with
Target::Pipe[0.11.0] - 2024-01-19
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
anstyleviaFormatter::default_level_styleBreaking Change
- Removed bespoke styling API
env_logger::fmt::Formatter::styleenv_logger::fmt::Formatter::default_styled_levelenv_logger::fmt::Styleenv_logger::fmt::Colorenv_logger::fmt::StyledValue- Removed
env_logger::filterin favor ofenv_filterCompatibility
MSRV changed to 1.71
Features
- Automatically adapt ANSI escape codes in logged messages to the current terminal's capabilities
- Add support for
NO_COLORandCLICOLOR_FORCE, see https://bixense.com/clicolors/Fixes
- Print colors when
is_test(true)
b0e3ea9
chore: Release522ce17
Merge pull request #310
from epage/docsc67579c
docs(fmt): Talk about new styling API62713d1
refactor(docs): Use intra-doc links1b0f4dd
docs(fmt): Point people to anstyle adapters8bf7499
refactor(fmt): Use simplified anstyle formatting5e0566e
chore: Update anstyle6562f9a
docs(changelog): Add migration guide8c94cd5
Merge pull request #308
from epage/rustbuild2f636ed
chore: Remove potentially unused rustbuild cfgs