Change8

v2.107.0

📦 supabase-authView on GitHub →
3 features🐛 6 fixes🔧 5 symbols

Summary

This release updates authentication mechanisms, enhances Realtime payload handling, and refines error reporting in Postgrest. It also updates the X-Client-Info header format.

Migration Steps

  1. Review authentication logic if relying on navigator.locks for mutex behavior, as it has been replaced by commit guard + dispose().

✨ New Features

  • Authentication now uses a commit guard and dispose() instead of navigator.locks-based mutex.
  • The httpSend function in Realtime can now send binary payloads.
  • The X-Client-Info header is updated to use a structured metadata format.

🐛 Bug Fixes

  • getClaims now returns AuthInvalidJwtError when the JWT is expired.
  • Implicit grant gate now correctly recognizes ?error= redirects.
  • Reverted the fix that encoded client-id in OAuth requests.
  • Postgrest now returns a structured error for non-JSON bodies on successful responses.
  • Workspace sibling dependencies are now pinned before JSR publish.
  • The gotrue-js legacy mirror is now published via pnpm.

Affected Symbols