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

Replace cespare/xxhash with cespare/xxhash/v2 #6467

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

Juneezee
Copy link
Contributor

What this PR does:

Currently, we are using two versions of the same package for xxHash:

cortex/go.mod

Line 12 in 5d593f5

github.com/cespare/xxhash v1.1.0

cortex/go.mod

Line 81 in 5d593f5

github.com/cespare/xxhash/v2 v2.3.0

github.com/cespare/xxhash/v2 is the latest version, which includes bug fixes and improvements. No breaking changes, see https://go.dev/play/p/q35yQ6UUE5A.

This PR updates the codebase to replace github.com/cespare/xxhash with github.com/cespare/xxhash/v2. This PR also updates Thanos to pull thanos-io/thanos#8018.

Which issue(s) this PR fixes:

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

`github.com/cespare/xxhash/v2` is the latest version with bug fixes and
improvements.

This commit also updates Thanos to pull
thanos-io/thanos#8018.

Signed-off-by: Eng Zer Jun <[email protected]>
@dosubot dosubot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 31, 2024
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks!

@yeya24 yeya24 merged commit d9af25f into cortexproject:master Dec 31, 2024
17 checks passed
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 go Pull requests that update Go code size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants