v3.0.0-next.15
Breaking Changes📦 supabase-authView 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 enum 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 not found, as this behavior has been changed to return false or handle non-existence without throwing.
🐛 Bug Fixes
- Enum-like unions were widened using (string & {}) for improved forward compatibility.
- Realtime now surfaces the actual Error object when a transport-level CHANNEL_ERROR occurs.
- The Storage `exists` method no longer throws an error when the requested file does not exist.