Skip to content

release: 3.1.0#107

Merged
designcode merged 2 commits into
releasefrom
main
Jun 9, 2026
Merged

release: 3.1.0#107
designcode merged 2 commits into
releasefrom
main

Conversation

@designcode

@designcode designcode commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

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/storage to ^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 with tigris buckets set --soft-delete enable|disable and --retention-days when enabling. --enable-delete-protection stays usable but is marked deprecated in specs and help (use --soft-delete instead). buckets list --forks-of now calls listForks instead of listing all buckets and probing each with getBucketInfo.

buckets get output adds Locations, Soft Delete, and Additional Headers (via formatLocations). The CLI spec/types gain deprecated / replaced_by so 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.

designcode and others added 2 commits May 15, 2026 16:36
* 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>

@cursor cursor Bot 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.

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

Fix All in Cursor

❌ 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.

Comment thread src/lib/buckets/set.ts
@designcode designcode merged commit bcbeebe into release Jun 9, 2026
3 checks passed
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 3.1.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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants