Skip to content

Add new checksum types#483

Merged
harshavardhana merged 2 commits into
minio:masterfrom
klauspost:add-new-checksum
May 6, 2026
Merged

Add new checksum types#483
harshavardhana merged 2 commits into
minio:masterfrom
klauspost:add-new-checksum

Conversation

@klauspost

Copy link
Copy Markdown
Collaborator

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR expands the supported checksum algorithms for uploads by updating the MinIO Go client dependency and wiring the new checksum types into the put command’s --checksum parsing.

Changes:

  • Bump github.com/minio/minio-go/v7 from v7.0.100 to v7.1.0.
  • Extend --checksum parsing for put to accept additional algorithms (MD5 checksum mode, SHA512, and XXHash variants).
  • Update the “unknown checksum type” error message to list the newly supported values.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
go.mod Updates MinIO Go SDK version to enable new checksum types.
go.sum Records the new module checksums for the updated MinIO Go SDK version.
cli/put.go Adds new --checksum accepted values and updates the validation error message.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cli/put.go
Comment thread cli/put.go
@harshavardhana harshavardhana merged commit 0932838 into minio:master May 6, 2026
7 checks passed
@klauspost klauspost deleted the add-new-checksum branch May 6, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants