github supabase-community/supabase-kt 3.3.0

latest releases: 3.7.0-beta-1, 3.6.0, 3.5.0...
6 months ago

Changes

Core

Auth

  • Refactor platform specific auth initialization by @jan-tennert in #1100
  • Add session failsafe and option to require a session for requests by @jan-tennert in #1071
    • When trying to make a request with an expired access token, the client will try to force-refresh the session
    • There is a new option for all plugins to require the user to be authenticated to make requests with that plugin (instead of falling back to the api key as the access token). Note that some methods ignore this option.
  • Add onError parameter to handleDeeplink methods by @jan-tennert in #1136
    This is meant to handle exceptions happening when verifying the PKCE code contained in the deeplink
  • Handle secure email changes in Auth#verify by @jan-tennert in #1130
    Auth#verifyEmailOtp() will now return an OtpVerifyResult, depending on if the response contains a session.
  • Expose Auth#defaultRedirectUrl() by @jan-tennert in #1134
  • Fix infinite recursion for expired sessions by @jan-tennert in #1133
  • Fix a bug causing the sessionStatus to be set earlier than loading from storage by @jan-tennert in #1128
  • Fix redirect_to url parameter for resetPasswordForEmail() and getOAuthUrl() values not being encoded by @jan-tennert in #1125

Realtime

Compose Auth

Postgrest

  • only escape filters inside logical expressions and in lists by @sproctor in #1090

Storage

New Contributors

Don't miss a new supabase-kt release

NewReleases is sending notifications on new releases.