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

build(deps): Bump github.com/prometheus/common from 0.42.0 to 0.56.0 #559

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 28, 2024

Bumps github.com/prometheus/common from 0.42.0 to 0.56.0.

Release notes

Sourced from github.com/prometheus/common's releases.

v0.56.0

What's Changed

New Contributors

Full Changelog: prometheus/common@v0.55.0...v0.56.0

v0.55.0

What's Changed

New Contributors

Full Changelog: prometheus/common@v0.54.0...v0.55.0

v0.54.0

What's Changed

... (truncated)

Commits
  • 6623230 Provide a method for explicitly checking label names for legacy validity. (#682)
  • 19d0796 Merge pull request #681 from prometheus/repo_sync
  • 29a2d2c Update common Prometheus files
  • 8968b6c expfmt: Add UTF-8 syntax support in text_parse.go (#670)
  • cd4bcc0 Update golangci lint (#679)
  • 2cac84e Update client_golang (#676)
  • 79c0459 Merge pull request #675 from dswarbrick/fix-32bit-overflows
  • 008d7b8 Fix overflows of untyped int constants on 32-bit
  • 1dade5b sigv4: support nil body (#673)
  • 430dbfe Bump github.com/aws/aws-sdk-go from 1.54.19 to 1.55.5 in /sigv4 (#671)
  • Additional commits viewable in compare view

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)

Summary by CodeRabbit

  • Chores
    • Updated various library dependencies to their latest versions to improve performance and security.
    • Notable upgrades include Prometheus client libraries and other critical packages, enhancing overall functionality and compatibility.

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.42.0 to 0.56.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](prometheus/common@v0.42.0...v0.56.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Author

dependabot bot commented on behalf of github Aug 28, 2024

The following labels could not be found: A:automerge.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 28, 2024
Copy link

coderabbitai bot commented Aug 28, 2024

Walkthrough

The go.mod file has undergone significant updates, primarily involving the upgrading of various dependencies to newer versions. Key libraries such as Prometheus client libraries, golang.org/x/crypto, and google.golang.org/protobuf have been updated, reflecting a commitment to maintain current versions. This includes both direct and indirect dependencies, ensuring the project remains aligned with the latest library improvements.

Changes

Files Change Summary
go.mod Updated dependencies: github.com/prometheus/client_golang from v1.14.0 to v1.20.0, github.com/prometheus/common from v0.42.0 to v0.56.0, golang.org/x/crypto from v0.21.0 to v0.25.0, google.golang.org/protobuf from v1.33.0 to v1.34.2, and several others. Indirect dependencies also updated, reflecting general maintenance.

Poem

In the meadow, we hop with glee,
New versions bloom like flowers, you see! 🌼
With each upgrade, we dance and play,
Bugs and fixes chase away!
Hoppity, hop, let’s celebrate,
Code so fresh, oh, isn’t it great? 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 40d4293 and 1bf90ab.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (5 hunks)
Additional comments not posted (9)
go.mod (9)

48-49: Dependency updates for Prometheus libraries approved.

The updates from github.com/prometheus/client_golang v1.14.0 to v1.20.0 and github.com/prometheus/common v0.42.0 to v0.56.0 are noted. These changes align with the PR objectives to leverage the latest features and bug fixes.

The changes are approved as they match the PR's objectives and the release notes provided.


61-61: Update of golang.org/x/sync approved.

The update from v0.6.0 to v0.7.0 is noted. This library is typically backward compatible, but it's good practice to ensure that no synchronization issues are introduced with the update.

The change is approved, assuming backward compatibility.


64-64: Update of google.golang.org/protobuf approved.

The update from v1.33.0 to v1.34.2 is noted. Protobuf updates are generally safe as they tend to maintain backward compatibility, but it's essential to check for any deprecated features or significant changes.

The change is approved, assuming backward compatibility.


72-72: Update of cloud.google.com/go/compute/metadata approved.

The update from v0.2.3 to v0.3.0 is noted. This library is used for interacting with Google Cloud metadata services, and updates are typically aimed at enhancing functionality or fixing bugs.

The change is approved, assuming it aligns with the latest Google Cloud SDK updates.


84-84: Update of github.com/cespare/xxhash/v2 approved.

The update from v2.2.0 to v2.3.0 is noted. xxhash is a high-performance hash algorithm, and updates are generally improvements or optimizations.

The change is approved, assuming no compatibility issues with the hashing functions used in the project.


132-132: Update of github.com/klauspost/compress approved.

The update from v1.17.0 to v1.17.9 is noted. This library is used for compression, and updates typically include performance improvements or bug fixes.

The change is approved, assuming it enhances performance or stability without introducing bugs.


150-151: Update of Prometheus model and procfs libraries approved.

The updates from github.com/prometheus/client_model v0.3.0 to v0.6.1 and github.com/prometheus/procfs v0.9.0 to v0.15.1 are significant. These libraries are critical for metrics collection and system information retrieval. It's essential to ensure that these updates do not affect the metrics reporting or system monitoring features.

The changes are approved, assuming they bring enhancements and bug fixes as per the release notes.


175-179: Bulk update of golang.org/x/* libraries approved.

Updates to golang.org/x/net, golang.org/x/oauth2, golang.org/x/sys, golang.org/x/term, and golang.org/x/text are noted. These updates are crucial as they often include security patches, performance improvements, and new features.

The changes are approved, assuming they do not introduce any new issues and improve the security and performance of the project.


59-59: Review the update of golang.org/x/crypto.

The update from v0.21.0 to v0.25.0 is significant. It's crucial to verify that this update does not introduce any breaking changes or compatibility issues with existing cryptographic functions used in the project.

Run the following script to verify the usage of x/crypto in the codebase:

Copy link
Author

dependabot bot commented on behalf of github Aug 29, 2024

Superseded by #560.

@dependabot dependabot bot closed this Aug 29, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/prometheus/common-0.56.0 branch August 29, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants