ti-community-infra / tichi

TiChi ☯️ contains the tidb community collaboration automation basic framework and tool set.
https://prow.tidb.net
Apache License 2.0
45 stars 27 forks source link

fix(deps): update rust crate log to 0.4.17 #1070

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
log dependencies patch 0.4.0 -> 0.4.17

Release Notes

rust-lang/log ### [`v0.4.17`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0417---2022-04-29) - Update `kv_unstable` internal dependencies. ### [`v0.4.16`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0416---2022-03-22) - Fix a conflict with unqualified `Option` use in macros. ### [`v0.4.15`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0415---2022-02-23) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.14...0.4.15) - Silence a warning about the deprecated `spin_loop_hint`. - Relax ordering in the atomic `set_max_level` call. - Add thumbv4t-none-eabi to targets that don't support atomics - Allow levels to be iterated over. - Implement `Log` on some common wrapper types. - Improvements to test coverage. - Improvements to documentation. - Add key-value support to the `log!` macros. - Tighten `kv_unstable` internal dependencies so they don't bump past their current alpha. - Add a simple visit API to `kv_unstable`. - Support `NonZero*` integers as values in structured logging - Support static strings as keys in structured logging ### [`v0.4.14`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0414---2021-01-27) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.13...0.4.14) - Remove the `__private_api_log_lit` special case. - Fixed incorrect combination of `kv_unstable` and `std` features causing compile failures. - Remove unstable `Value::to_*` conversions that were incorrectly using `as`. - Rename unstable `Value::to_error` to `Value::to_borrowed_error`. ### [`v0.4.13`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0413---2021-01-11) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.12...0.4.13) - This is the same as `0.4.11`, except with a `kv_unstable_std` feature added to aid migrating current dependents to `0.4.14` (which was originally going to be `0.4.13` until it was decided to create a patch from `0.4.11` to minimize disruption). ### [`v0.4.12`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0412---2020-12-24) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.11...0.4.12) ##### New - Support platforms without atomics by racing instead of failing to compile - Implement `Log` for `Box` - Update `cfg-if` to `1.0` - Internal reworks of the structured logging API. Removed the `Fill` API and added `source::as_map` and `source::as_list` to easily serialize a `Source` as either a map of `{key: value, ..}` or as a list of `[(key, value), ..]`. ##### Fixed - Fixed deserialization of `LevelFilter` to use their `u64` index variants ### [`v0.4.11`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0411---2020-07-09) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.10...0.4.11) ##### New - Support coercing structured values into concrete types. - Reference the `win_dbg_logger` in the readme. ##### Fixed - Updates a few deprecated items used internally. - Fixed issues in docs and expands sections. - Show the correct build badge in the readme. - Fix up a possible inference breakage with structured value errors. - Respect formatting flags in structured value formatting. ### [`v0.4.10`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0410---2019-12-16-yanked) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.9...0.4.10) ##### Fixed - Fixed the `log!` macros so they work in expression context (this regressed in `0.4.9`, which has been yanked). ### [`v0.4.9`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​049---2019-12-12-yanked) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.8...0.4.9) ##### Minimum Supported Rust Version This release bumps the minimum compiler version to `1.31.0`. This was mainly needed for `cfg-if`, but between `1.16.0` and `1.31.0` there are a lot of language and library improvements we now take advantage of. ##### New - Unstable support for capturing key-value pairs in a record using the `log!` macros ##### Improved - Better documentation for max level filters. - Internal updates to line up with bumped MSRV ### [`v0.4.8`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​048---2019-07-28) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.7...0.4.8) ##### New - Support attempting to get `Record` fields as static strings. ### [`v0.4.7`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​047---2019-07-06) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.6...0.4.7) ##### New - Support for embedded environments with thread-unsafe initialization. - Initial unstable support for capturing structured data under the `kv_unstable` feature gate. This new API doesn't affect existing users and may change in future patches (so those changes may not appear in the changelog until it stabilizes). ##### Improved - Docs for using `log` with the 2018 edition. - Error messages for macros missing arguments. ### [`v0.4.6`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​046---2018-10-27) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.5...0.4.6) ##### Improved - Support 2018-style macro import for the `log_enabled!` macro. ### [`v0.4.5`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​045---2018-09-03) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.4...0.4.5) ##### Improved - Make `log`'s internal helper macros less likely to conflict with user-defined macros. ### [`v0.4.4`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​044---2018-08-17) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.3...0.4.4) ##### Improved - Support 2018-style imports of the log macros. ### [`v0.4.3`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​043---2018-06-29) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.2...0.4.3) ##### Improved - More code generation improvements. ### [`v0.4.2`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​042---2018-06-05) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.1...0.4.2) ##### Improved - Log invocations now generate less code. ##### Fixed - Example Logger implementations now properly set the max log level. ### [`v0.4.1`](https://togithub.com/rust-lang/log/blob/HEAD/CHANGELOG.md#​0417---2022-04-29) [Compare Source](https://togithub.com/rust-lang/log/compare/0.4.0...0.4.1) - Update `kv_unstable` internal dependencies.

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 has been generated by Mend Renovate. View repository job log here.

ti-chi-bot commented 1 year ago

[REVIEW NOTIFICATION]

This pull request has been approved by:

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
ti-chi-bot commented 1 year ago

Hi @renovate[bot]. Thanks for your PR.

I'm waiting for a ti-community-infra member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
github-actions[bot] commented 1 year ago

🎊 PR Preview 3da4131af169543cc75f73925c7b9dddfc0a4593 has been successfully built and deployed to https://ti-community-infra-tichi-preview-pr-1070.surge.sh

:clock1: Build time: 0.015s

πŸ€– By surge-preview

wuhuizuo commented 1 year ago

/retest

codecov[bot] commented 1 year ago

Codecov Report

Merging #1070 (3da4131) into master (de179ee) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1070   +/-   ##
=======================================
  Coverage   80.51%   80.51%           
=======================================
  Files          21       21           
  Lines        3321     3321           
=======================================
  Hits         2674     2674           
  Misses        418      418           
  Partials      229      229           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

wuhuizuo commented 1 year ago

/merge

ti-chi-bot commented 1 year ago

This pull request has been accepted and is ready to merge.

Commit hash: 3da4131af169543cc75f73925c7b9dddfc0a4593