Skip to content

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

Merged
yeya24 merged 1 commit intocortexproject:masterfrom
Juneezee:xxhash
Dec 31, 2024
Merged

Replace cespare/xxhash with cespare/xxhash/v2#6467
yeya24 merged 1 commit intocortexproject:masterfrom
Juneezee:xxhash

Conversation

@Juneezee
Copy link
Copy Markdown
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 <engzerjun@gmail.com>
@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
Copy Markdown
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
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