Repository navigation
feat(storage): object versioning updates - #2644
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe storage SDK adds bucket versioning status types and API options. Object and search result types now expose version metadata and version filters. Bucket creation and updates send Merge Risk: 🔵 Low · up to The SDK now supports reading, copying, moving, and deleting exact object versions. The change is mergeable with explicit storage-service owner awareness that version identifiers must be validated against the requested bucket and object before access or mutation. ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@supabase/auth-js
@supabase/functions-js
@supabase/postgrest-js
@supabase/realtime-js
@supabase/storage-js
@supabase/supabase-js
commit: |
|
Putting PR in draft while I investigate the SDK compliance CI failure |
cc8a44f to
a7a5a65
Compare
## What kind of change does this PR introduce? Feature ## What is the current behavior? N/A ## What is the new behavior? Added the storage capabilities for the new object versioning feature. Not having this is causing my PR supabase/supabase-js#2644 to fail ## Additional context Used the `capability-matrix` skill to generate initial draft and made my edits from there.
a7a5a65 to
e54fc81
Compare
e54fc81 to
4c04087
Compare
4c04087 to
2a5f721
Compare
7672d21 to
2a5f721
Compare
This PR updates `@supabase/supabase-js` to v2.114.0. **Source**: supabase-js-stable-release --- ## Release Notes ## v2.114.0 ## 2.114.0 (2026-09-02) ### 🚀 Features - **storage:** object versioning updates ([#2644](supabase/supabase-js#2644)) ### 🩹 Fixes - **auth:** unenroll the unverified factor after a failed registration ([#2641](supabase/supabase-js#2641)) - **deps:** override browserslist to patch high-severity advisories ([#2652](supabase/supabase-js#2652)) ### ❤️ Thank You - Katerina Skroumpelou @mandarini - Miodrag Obradovic @Kjubikstronk - Tyler Hillery ## v2.113.0 ## 2.113.0 (2026-09-02) ### 🚀 Features - **realtime:** allow wait for pg changes ([#2630](supabase/supabase-js#2630)) ### ❤️ Thank You - Filipe Cabaço @filipecabaco This PR was created automatically. Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com>
🔍 Description
Updates to support the new object versioning feature in storage.
What changed?
Several new parameters were added. All changes are additive/optional:
Bucketgainsversioning_statusListBucketOptionsresponse gainsversion,archived_at,is_delete_marker,is_versionedonFileObject(list()/remove()) andSearchV2Object(listV2())FileObjectV2gainsarchived_at,is_delete_marker,is_versionedSearchOptions/SearchV2OptionsgainnoncurrentVersions,deleteMarkers,exactMatchforlist()/listV2()DestinationOptions(shared bymove()/copy()) gainssourceVersionIdDeleteObjectEntrytype.remove()'spathsparam now accepts(string | { path: string; versionId: string })[]instead ofstring[], to target an exact version for deletionVersioningStatus,CreateSettableVersioningStatus,UpdateSettableVersioningStatustypes:createBucket()/updateBucket()gain aversioningStatusoption (DISABLED/ENABLEDon create,ENABLED/SUSPENDEDon update)download()andinfo()gain aversionIdoption to target a specific object version