github supabase-community/supabase-kt 2.5.0-rc-1

latest releases: 3.7.0-beta-1, 3.6.0, 3.5.0...
pre-release2 years ago

Changes

Auth

  • Add error code enum for Auth API errors by @jan-tennert in #618
    All rest errors containing a error_code field will now throw a AuthRestException rather than generic BadRequestExceptions, etc.
    AuthRestExceptions contain a errorCode field of the type AuthErrorCode containing all known error codes.
    Two error codes have their own exceptions (but obviously inherit from AuthRestException): AuthWeakPasswordException and AuthSessionMissingException.
    API errors not containing this field will throw the generic exceptions.
  • Fix a major bug causing sessions to be refreshed later than they should be in 9b73c03 by @jan-tennert
    The expiresAt property was saved incorrectly, delaying the expiry date.

Realtime

  • Use Postgrests propertyConversionMethod for getting the property name of primary keys

Don't miss a new supabase-kt release

NewReleases is sending notifications on new releases.