Skip to content
New issue

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

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

Already on GitHub? # to your account

chore(deps): bump env_logger from 0.5.13 to 0.6.2 #511

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2025

Bumps env_logger from 0.5.13 to 0.6.2.

Release notes

Sourced from env_logger's releases.

0.6.2

Key Changes

  • Additional examples and docs

Contributions

0.6.1

Key Changes

  • Support better capturing for cargo test
  • Don't print internal logs to stdout

Contributions

More Details

Builder::is_test

The is_test method can be used in tests to make sure logs are captured by cargo test the same way println! is:

fn init() {
    let _ = env_logger::builder().is_test(true).try_init();
}
#[test]
fn it_adds_one() {
init();
info!("can log from the test too");
assert_eq!(3, add_one(2));

}

There are performance implications of using is_test though, so it should be avoided outside of unit tests.

0.6.0

Key Changes

  • Set a policy for changes to the default format

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 31, 2025
@danieleades
Copy link
Contributor

danieleades commented Feb 2, 2025

@tomhoule the CI has actually passed here, but the 'dependabot auto-merge' action requires the repo to be configured to allow auto-merging. Note that this just allows automerging, it doesn't mean that every PR will automerge, unless you explicitly set it to do so.

Would suggest also updating the repo config to force PRs to be up-to-date with main before merging, which will also add a 'rebase/merge' button to PRs and can help prevent conflicts

@dependabot dependabot bot force-pushed the dependabot/cargo/main/env_logger-0.6.2 branch from 7b07a95 to 378f9af Compare February 3, 2025 09:42
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.5.13 to 0.6.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](rust-cli/env_logger@v0.5.13...v0.6.2)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/main/env_logger-0.6.2 branch from 378f9af to 1bc1aa3 Compare February 7, 2025 05:55
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 11, 2025

Superseded by #525.

@dependabot dependabot bot closed this Feb 11, 2025
@dependabot dependabot bot deleted the dependabot/cargo/main/env_logger-0.6.2 branch February 11, 2025 10:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant