Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

@raulb
Copy link
Member

@raulb raulb commented Aug 29, 2025

What kind of change does this PR introduce?

  1. Ability to sort using flat formats:
storage.list('path', { sort_by: 'name', sort_order: 'desc' })
  1. Clean up unused code and adds a storage client to use in tests.

What is the current behavior?

storage.list('path', { sortBy: { column: 'name', order: 'desc' } })

What is the new behavior?

Both old and new behavior are compatible.

Additional context

To be used on https://github.com/supabase/infrastructure/pull/25305.

Question

Need some insights on how to update https://supabase.com/docs/reference/javascript/storage-from-list once this ships and it's part of a new release.

@raulb raulb self-assigned this Aug 29, 2025
@github-actions
Copy link

github-actions bot commented Aug 29, 2025

🚀 Preview Release Status

false


Last updated: 2025-09-01T07:24:13Z

@raulb raulb force-pushed the raulb/feat/update-list-params branch 2 times, most recently from a20fb48 to 054404e Compare August 29, 2025 16:38
@raulb raulb force-pushed the raulb/feat/update-list-params branch from 054404e to e8b6a3c Compare August 29, 2025 16:43
@raulb
Copy link
Member Author

raulb commented Sep 1, 2025

This is not needed. Happy to open a PR with this branch which contains the code left after this commit as you might find it useful for testing. Please, let me know!

@raulb raulb closed this Sep 1, 2025
@raulb raulb deleted the raulb/feat/update-list-params branch September 1, 2025 07:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants