Features/Changes
- untrack local.properties by @brezinajn in #22
- Throw exceptions if the supabaseUrl contains things like realtime/v1, auth/v1 etc. (Can be disabled)
- Add ability to configure disconnect on session loss (Realtime)
- Add a bom dependency by @jan-tennert in #21 (suggested in #20)
- Add captchaToken function parameter to authentication methods
- Remove
GoTrue#currentSession - Remove
GoTrue#status - Add new
GoTrue#sessionStatus
Which can hold 4 different statuses:SessionStatus.NotAuthenticated SessionStatus.LoadingFromStorage SessionStatus.NetworkError SessionStatus.Authenticated(session)
- Rename
GoTrue#currentAccessToken()toGoTrue#currentAccessTokenOrNull() - Add
GoTrue#currentSessionOrNull() - Update to Kotlin 1.7.20
- Remove GoTrue#initializeAndroid
Bug fixes
- Fix realtime auto disconnect on internet loss
- Fix auto refresh
- Fix realtime exception when disconnecting
- Fix GoTrue#loginWith blocking indefinetly
Full Changelog: 0.5.1...0.6.0