Skip to content

feat: add S3 version history and guarded restore [skip release] - #42

Merged
rgcsekaraa merged 2 commits into
mainfrom
feat/object-version-history
Sep 22, 2026
Merged

rgcsekaraa merged 2 commits into
mainfrom
feat/object-version-history

Conversation

@rgcsekaraa

Copy link
Copy Markdown
Owner

Summary

  • Add exact-key S3 version history through the bucket toolbar and file menu, including delete markers and pagination.
  • Restore an older data version as a new current version after explicit approval, without deleting historical versions.
  • Use Rust preflight, pinned version reads, conditional writes, versioning rechecks, existing transfer progress/cancellation, and multipart cleanup.
  • Preserve the existing theme and compact fully rounded controls.

Safety and limitations

Restore requires enabled bucket versioning. Unsupported providers and permission failures return errors. Stale confirmations and changed source versions are rejected. Existing-object restores preserve current ACL, tags, encryption, storage class and retention while restoring older contents and portable metadata. Deleted-object restores use bucket defaults.

Transfers use temporary disk space and this computer's connection. S3 conditional writes compare ETags, not version IDs: identical-content writes in the final check/write gap and concurrent bucket-versioning changes cannot be made atomic. Do not change versioning while restoring. Full limitations and permissions are documented in docs/VERSION_HISTORY.md.

Validation

  • 118 Rust tests passed; 6 opt-in integration tests ignored in the ordinary suite.
  • Separate disposable MinIO integration passed for 0-byte, 5-byte and 129 MiB existing/deleted restores, metadata/tag preservation, retained history, stale-guard rejection and multipart cleanup.
  • 101 frontend tests, 68 Chromium/WebKit smoke tests and 23 release-script tests passed.
  • Production frontend build, ESLint, Rust formatting and warning-free Clippy passed.
  • Independent UI review: ship at scoped extension level, screenshots at 1440px and 800px.

No release is published by this PR. Intended for the next release.

@rgcsekaraa
rgcsekaraa merged commit d621b32 into main Sep 22, 2026
4 checks passed
@rgcsekaraa

Copy link
Copy Markdown
Owner Author

Merged after all CI checks passed on Linux, macOS and Windows, plus frontend tests and browser checks. Version history and restore will be included in the next release. This merge does not publish a release. The feature preserves the existing UI and adds explicit restore confirmation, deleted-object recovery and guarded transfers. Permissions, provider limitations and concurrency caveats are documented in docs/VERSION_HISTORY.md.

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.

1 participant