Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 7, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 10, 2022

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

  • Update kv_unstable internal dependencies.

v0.4.16

  • Fix a conflict with unqualified Option use in macros.

v0.4.15

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

New
  • Support platforms without atomics by racing instead of failing to compile
  • Implement Log for Box<T: Log>
  • 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

Compare Source

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

Compare Source

Fixed
  • Fixed the log! macros so they work in expression context (this regressed in 0.4.9, which has been yanked).

v0.4.9

Compare Source

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

Compare Source

New
  • Support attempting to get Record fields as static strings.

v0.4.7

Compare Source

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

Compare Source

Improved
  • Support 2018-style macro import for the log_enabled! macro.

v0.4.5

Compare Source

Improved
  • Make log's internal helper macros less likely to conflict with user-defined
    macros.

v0.4.4

Compare Source

Improved
  • Support 2018-style imports of the log macros.

v0.4.3

Compare Source

Improved
  • More code generation improvements.

v0.4.2

Compare Source

Improved
  • Log invocations now generate less code.
Fixed
  • Example Logger implementations now properly set the max log level.

v0.4.1

Compare Source

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Signed-off-by: Renovate Bot <bot@renovateapp.com>
@ti-chi-bot
Copy link
Member

ti-chi-bot commented Nov 10, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • wuhuizuo

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 ti-chi-bot added dco-signoff: yes Indicates the PR's author has signed the dco. contribution This PR is from a community contributor. labels Nov 10, 2022
@ti-chi-bot ti-chi-bot requested review from a user and zuo-bot-2 November 10, 2022 02:22
@ti-chi-bot ti-chi-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Nov 10, 2022
@ti-chi-bot
Copy link
Member

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. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@github-actions
Copy link

github-actions bot commented Nov 10, 2022

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

🕐 Build time: 0.015s

🤖 By surge-preview

Copy link
Contributor

@wuhuizuo wuhuizuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ok-to-test

@ti-chi-bot ti-chi-bot added ok-to-test Indicates a PR is ready to be tested. status/LGT1 Indicates that a PR has LGTM 1. and removed needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Nov 11, 2022
@wuhuizuo
Copy link
Contributor

/retest

@codecov
Copy link

codecov bot commented Nov 11, 2022

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           

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

@wuhuizuo
Copy link
Contributor

wuhuizuo commented Dec 7, 2022

/merge

@ti-chi-bot
Copy link
Member

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

Commit hash: 3da4131

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Dec 7, 2022
ti-chi-bot added a commit that referenced this pull request Dec 7, 2022
{"job":{"type":"presubmit","job":"pull-tichi-rerere","buildid":"1600329353776861184","prowjobid":"34c14d43-75dd-11ed-9e48-3eb6192a5a78","refs":{"org":"ti-community-infra","repo":"tichi","base_ref":"master","base_sha":"755d434ff82a154ecd83b638dc3a38727e43a52e","pulls":[{"number":1070,"author":"renovate","sha":"3da4131af169543cc75f73925c7b9dddfc0a4593","title":"fix(deps): update rust crate log to 0.4.17"}]},"decoration_config":{"utility_images":{"clonerefs":"gcr.io/k8s-prow/clonerefs:v20221111-fe4f3e2158","initupload":"gcr.io/k8s-prow/initupload:v20221111-fe4f3e2158","entrypoint":"gcr.io/k8s-prow/entrypoint:v20221111-fe4f3e2158","sidecar":"gcr.io/k8s-prow/sidecar:v20221111-fe4f3e2158"},"gcs_configuration":{"bucket":"gs://prow-tidb-logs","path_strategy":"explicit"},"gcs_credentials_secret":"gcs-credentials"}},"options":{"retesting-branch":"rerere","retry":3,"require_contexts":{},"timeout":900000000000},"current_retry_times":1,"time":"2022-12-07T03:23:31.562769621Z"}
@ti-chi-bot ti-chi-bot merged commit e5b1bc0 into master Dec 7, 2022
@ti-chi-bot ti-chi-bot deleted the renovate/log-0.x branch December 7, 2022 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. dco-signoff: yes Indicates the PR's author has signed the dco. ok-to-test Indicates a PR is ready to be tested. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants