v3.0.0-next.15
Breaking Changes📦 supabase-jsView on GitHub →
⚠ 1 breaking🐛 3 fixes🔧 1 symbols
Summary
This release introduces a significant change in the Storage `exists` method behavior, preventing errors when files are not found, and improves Realtime error surfacing and general forward compatibility.
⚠️ Breaking Changes
- The Storage `exists` method no longer throws an error if the file does not exist. Previously, it threw an error; now it correctly returns false or handles the non-existence gracefully.
Migration Steps
- Review code that relies on the Storage `exists` method throwing an error when a file is missing and update assertions or error handling accordingly.
🐛 Bug Fixes
- Enum-like unions were widened using (string & {}) for improved forward compatibility.
- Realtime now surfaces the actual Error object during transport-level CHANNEL_ERROR events instead of masking it.
- The Storage `exists` method no longer throws an error when the requested file does not exist.