Skip to content

feat: support snapshot version in object commands#37

Merged
designcode merged 1 commit intomainfrom
feat/support-snapshot-version-in-object-commands
Mar 13, 2026
Merged

feat: support snapshot version in object commands#37
designcode merged 1 commit intomainfrom
feat/support-snapshot-version-in-object-commands

Conversation

@designcode
Copy link
Copy Markdown
Collaborator

@designcode designcode commented Mar 12, 2026

Note

Medium Risk
Adds a new user-supplied snapshotVersion parameter that changes which object data/metadata is returned by ls, stat, and objects read operations. Also adjusts CLI option/alias parsing to support long aliases, which could affect how existing flags are interpreted.

Overview
Adds support for reading from a specific bucket snapshot via a new --snapshot-version option (alias --snapshot) across ls, stat (object metadata via head), and objects list/get, passing snapshotVersion through to the storage SDK calls.

Updates CLI argument rendering/registration to support long aliases (e.g. --snapshot) in addition to single-letter short flags, and updates specs.yaml to expose the new option on the relevant commands.

Written by Cursor Bugbot for commit 644d0b7. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@designcode designcode force-pushed the feat/support-snapshot-version-in-object-commands branch from 05c679c to 644d0b7 Compare March 12, 2026 16:39
@designcode designcode merged commit db1c51d into main Mar 13, 2026
2 checks passed
@designcode designcode deleted the feat/support-snapshot-version-in-object-commands branch March 13, 2026 08:37
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.14.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants