Skip to content

Releases: supabase-community/supabase-kt

2.5.4

27 Jul 16:59
0ab510a

Choose a tag to compare

Changes

Realtime

  • Fix deletion in postgresListDataFlow not working correctly by @jan-tennert in #671

2.5.3

21 Jul 20:10
c593973

Choose a tag to compare

Changes

Auth

Miscellaneous

  • Add link to a RESTful service sample built with supabase-kt by @hieuwu in #664

2.5.2

08 Jul 18:42
885eee8

Choose a tag to compare

Changes

Realtime

  • fix(realtime): add private to Realtime by @grdsdev in #642
    Add support for specifying if a channel is private via RealtimeChannelBuilder#isPrivate

Compose Auth

  • Fix Google sign in prompt in composeAuth by @Aaron246 in #648
  • fix(auth): fix sign in with Apple in ComposeAuth by @grdsdev in #654

New Contributors

2.5.1

28 Jun 14:57
a423191

Choose a tag to compare

Note

Thanks to @manriif you can now write & deploy Supabase Edge Functions completely in Kotlin via Kotlin/JS! Check out the supabase-edge-functions-kt repository for more information!

Changes

Auth

  • Ignore certain status codes when signing out a user by @jan-tennert in #633
    Failure of signing out because of invalid/expired JWTs will now be ignored and the local session cleared.

2.5.0

09 Jun 11:37
e2f28ee

Choose a tag to compare

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.

  • Handle weak_password and session_not_found auth error codes by @jan-tennert in #596
    There is now a new subclass of RestException: AuthRestExcepton which will be a super class for exceptions based on error codes. Currently, there are two new exceptions: AuthWeakPasswordException and AuthSessionMissingException

  • Fix/improve session expiry calculation by @JOsacky in #610

Postgrest

  • Add columns header to PostgrestQueryBuilder#insert by @jan-tennert in #611
    This fixes an issue when inserting a list of objects where some objects might not have all keys.
  • Add defaultToNull parameter to PostgrestQueryBuilder#insert

Realtime

  • Use Postgrests propertyConversionMethod for getting the property name of primary keys
  • Add the possibility to have a multi-column PK in realtime by @iruizmar in #614
  • Fix presences updates for RealtimeChannel#presenceDataFlow working incorrectly by @JOsacky in #607

Compose Auth Ui

  • Add isError parameter to Compose Auth Ui fields by @jan-tennert in #612
  • Add AuthUiExperimental annotation by @iruizmar in #603
    All composables now have a AuthUiExperimental annotation instead of SupabaseExperimental

Misc

New Contributors

2.5.0-rc-1

03 Jun 14:10
1712cba

Choose a tag to compare

2.5.0-rc-1 Pre-release
Pre-release

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

2.4.3 Major bug fix

03 Jun 09:23
2334701

Choose a tag to compare

Changes

Auth

  • Fix a major bug causing sessions to be refreshed later than they should be in af9143d by @jan-tennert
    The expiresAt property was saved incorrectly, delaying the expiry date.

2.5.0-beta-2

01 Jun 18:36
c5ffd63

Choose a tag to compare

2.5.0-beta-2 Pre-release
Pre-release

Changes

Postgrest

  • Add columns header to PostgrestQueryBuilder#insert by @jan-tennert in #611
    This fixes an issue when inserting a list of objects where some objects might not have all keys.
  • Add defaultToNull parameter to PostgrestQueryBuilder#insert

Compose Auth Ui

Realtime

  • Add the possibility to have a multi-column PK in realtime by @iruizmar in #614

2.5.0-beta-1

29 May 01:09
580519a

Choose a tag to compare

2.5.0-beta-1 Pre-release
Pre-release

Changes

Compose Auth Ui

  • Add AuthUiExperimental annotation by @iruizmar in #603
    All composables now have a AuthUiExperimental annotation instead of SupabaseExperimental

Auth

  • Handle weak_password and session_not_found auth error codes by @jan-tennert in #596
    There is now a new subclass of RestException: AuthRestExcepton which will be a super class for exceptions based on error codes. Currently, there are two new exceptions: AuthWeakPasswordException and AuthSessionMissingException
    More changes will follow.
  • Fix/improve session expiry calculation by @JOsacky in #610

Realtime

  • Fix presences updates for RealtimeChannel#presenceDataFlow working incorrectly by @JOsacky in #607

Misc

New Contributors

2.4.2

19 May 21:08
6c54a2e

Choose a tag to compare

Changes

Auth

  • Remove OtpType deprecation notice and clarify documentation by @jan-tennert in #595
    The SIGNUP and MAGIC_LINK OtpTypes are no longer deprecated as they are used for resending OTPs.
  • Store session before emitting Authenticated state by @iruizmar in #600
    This fixes a bug where it's possible to cancel any sign-in method and the sessionStatus gets set to Authenticated without the session actually saving to storage due to the cancellation.