Update Rust crate env_logger to 0.11.0 #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.5.10→0.11.0Release Notes
rust-cli/env_logger (env_logger)
v0.11.8Compare Source
Compatibility
unstable-kvfeature which may be removed in a future patch releaseFeatures
kvfeatureConfigurableFormatto build custom [Builder::format]s that leverage thisv0.11.7Compare Source
Internal
humantimewithjiffv0.11.6Compare Source
Features
v0.11.5Compare Source
v0.11.4Compare Source
v0.11.3Compare Source
Features
unstable-kvv0.11.2Compare Source
v0.11.1Compare Source
Fixes
Target::Pipev0.11.0Compare Source
Migration Guide
env_logger::fmt::Style:
The bespoke styling API, behind
color, was removed, in favor of accepting anyANSI styled string and adapting it to the target stream's capabilities.
Possible styling libraries include:
env_logger::fmt::stylecustom_format.rs
uses
anstyleviaFormatter::default_level_styleBreaking Change
env_logger::fmt::Formatter::styleenv_logger::fmt::Formatter::default_styled_levelenv_logger::fmt::Styleenv_logger::fmt::Colorenv_logger::fmt::StyledValueenv_logger::filterin favor ofenv_filterCompatibility
MSRV changed to 1.71
Features
NO_COLORandCLICOLOR_FORCE, see https://bixense.com/clicolors/Fixes
is_test(true)v0.10.2Compare Source
Performance
Fixes
coloris disabledv0.10.1Compare Source
Performance
Documentation
RUST_LOGdocumentationv0.10.0Compare Source
MSRV changed to 1.60 to hide optional dependencies
Fixes
attytois-terminalBreaking Changes
To open room for changing dependencies:
termcolorfeature tocolorattyfeature toauto-colorv0.9.3Compare Source
v0.9.2Compare Source
v0.9.1Compare Source
v0.9.0Compare Source
Breaking Changes
Improvements
v0.8.4Compare Source
Breaking Changes
Improvements
v0.8.3: 0.8.3Compare Source
New features:
Builder::format_suffix) [#192]Improvements:
Bug fixes:
rust-toolchainwhose presence caused issues for a few people)v0.8.2: 0.8.2Compare Source
Fixed a panic on io errors when writing to stdout / stderr (#184).
v0.8.1: 0.8.1Compare Source
Update links in the documentation that were pointing to the old repository location.
v0.8.0: 0.8.0Compare Source
Breaking changes:
Improvements:
Deprecations:
env_logger::from_envhas been deprecated in favor ofenv_logger::Builder::from_envThis release raises the minimum supported Rust version to 1.41.0.
v0.7.1: 0.7.1Compare Source
Key Changes
Contributions
v0.7.0: 0.7.0Compare Source
Key Changes
Changes to minimum Rust
The minimum version of Rust required has been set at
1.31.0. We may change this in patch versions, but will always flag it in the release notes here.You can always check the
.travis.ymlfile to see the current minimum supported version.Contributions
v0.6.2: 0.6.2Compare Source
Key Changes
Contributions
v0.6.1: 0.6.1Compare Source
Key Changes
cargo teststdoutContributions
More Details
Builder::is_testThe
is_testmethod can be used in tests to make sure logs are captured bycargo testthe same wayprintln!is:There are performance implications of using
is_testthough, so it should be avoided outside of unit tests.v0.6.0: 0.6.0Compare Source
Key Changes
logoptional (but enabled by default)Breaking Changes
log. That means compilingenv_loggerwithdefault-features=falsewill result in a different experience than in0.5.x.Contributions
-Z minimal-versionson CIMore Details
Disabling dependencies
Using
default-features=falsewill disable all dependencies ofenv_loggerbesideslog. This will reduce compile times and alter the default format by disabling colours and timestamps.Disabling default dependencies is the recommended way to use
env_loggerfor libraries that only need it for logging in tests.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.
This PR was generated by Mend Renovate. View the repository job log.