release: 3.1.0#107
Merged
Merged
Conversation
* feat: bucket soft-delete lifecycle support Wire up the soft-delete features added in @tigrisdata/storage 3.12: - buckets set: add --soft-delete enable|disable with --retention-days, and deprecate --enable-delete-protection in favor of --soft-delete - buckets list: add --deleted to list only soft-deleted buckets - buckets get: surface new getBucketInfo properties (Locations, Soft Delete, Additional Headers) - buckets restore: new command to recover a soft-deleted bucket within its retention window - support marking arguments as deprecated in --help output Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix: validate soft-delete flag combinations Address review feedback: - buckets set: reject --retention-days unless --soft-delete enable is set, instead of silently dropping it - buckets list: warn when --deleted is combined with --forks-of, which ignores --deleted (matches existing pagination-flag behavior) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix: show deprecation in custom help and guard forks list Address review feedback: - cli-core: apply the deprecated annotation in formatArgumentHelp so the `help` subcommand surfaces deprecated flags, matching `--help` - buckets list: guard the forks path against a missing forks array, matching the existing listBuckets empty-result check Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix: validate --soft-delete value before retention-days guard When --soft-delete had an invalid value and --retention-days was present, the orphan-retention guard fired first with a misleading message. Reorder so the enable/disable value check reports first. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
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.
Reviewed by Cursor Bugbot for commit 2092bcd. Configure here.
MantasMiksys
approved these changes
Jun 9, 2026
|
🎉 This PR is included in version 3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Medium Risk
Changes bucket delete/recovery configuration and restore behavior against the storage API; impact is moderated by validation in buckets set/list/restore tests.
Overview
3.1.0 bumps
@tigrisdata/storageto ^3.12.0 (lockfile pulls newer AWS SDK / Smithy deps) and wires soft-delete through the bucket commands.Users can
tigris buckets list --deleted,tigris buckets restore <name>, and configure recovery withtigris buckets set --soft-delete enable|disableand--retention-dayswhen enabling.--enable-delete-protectionstays usable but is marked deprecated in specs and help (use--soft-deleteinstead).buckets list --forks-ofnow callslistForksinstead of listing all buckets and probing each withgetBucketInfo.buckets getoutput adds Locations, Soft Delete, and Additional Headers (viaformatLocations). The CLI spec/types gaindeprecated/replaced_byso help and argument docs show migration hints.Reviewed by Cursor Bugbot for commit 2092bcd. Bugbot is set up for automated code reviews on this repo. Configure here.