Change8

v2.74.0

📦 supabase-jsView on GitHub →
5 features🐛 1 fixes1 deprecations🔧 4 symbols

Summary

This release introduces OAuth 2.1 admin endpoints, Broadcast Replay configuration for Realtime, and sorting for Storage list v2, while deprecating async callbacks in onAuthStateChange.

Migration Steps

  1. Review usage of onAuthStateChange and ensure callback functions are not async to avoid deprecation notices.

✨ New Features

  • auth: Added OAuth 2.1 client admin endpoints.
  • realtime: Added support to configure Broadcast Replay.
  • storage: Added support for sorting to list v2.
  • docs: Explicitly marked options as optional in documentation.
  • release: Enabled trusted publishing for the package.

🐛 Bug Fixes

  • storage: Removed trailing slash from baseUrl normalization to prevent malformed URLs.

🔧 Affected Symbols

onAuthStateChangestorage.listrealtime.Broadcastauth.admin

⚡ Deprecations

  • The use of async functions with onAuthStateChange is now deprecated and will trigger a notice.