Skip to content

Releases: supabase-community/supabase-kt

3.1.4

01 Apr 19:29
16e2a54
Compare
Choose a tag to compare

Changes

All modules

  • Remove sealed modifier from interfaces where they are not needed (and prevent mocking in KMP) by @jan-tennert in #883

Core

  • Fix custom serializer modules not being used in the KotlinXSerializer by @jan-tennert in #881

3.1.3

17 Mar 17:57
5481122
Compare
Choose a tag to compare

Changes

Auth

  • Fix JS/Wasm hash/code check and removal by @Sparky983 and @jan-tennert in #875
    Hashes & PKCE codes should now be correctly checked for on WASM, and removed from the browser history after usage on WASM and JS.

New Contributors

3.1.2

03 Mar 09:46
55d6089
Compare
Choose a tag to compare

Changes

This version requires Ktor version 3.1.1 or higher.

Core

Compose Auth

3.1.1

05 Feb 18:52
4f06243
Compare
Choose a tag to compare

Changes

Core

Realtime

  • Catch any exceptions when sending a message in realtime by @jan-tennert in #848

3.1.0

31 Jan 20:22
056ed7b
Compare
Choose a tag to compare

Changes

Storage

Auth

Realtime

  • Improve behavior for realtime channel creation and improve docs by @jan-tennert in #831
    If a channel with the same channelId exists, Realtime#channel() will return it instead of creating a new one. The channel will now also be saved after calling Realtime#channel() instead at subscribing.
  • Add pull token approach to realtime by @jan-tennert in #807
  • Prevent sending expired tokens to realtime by @jan-tennert in #808

PostgREST

  • Add custom exception for PostgREST API errors and include HttpResponse in RestExceptions by @jan-tennert in #789
    • All PostgREST rest exceptions are a PostgrestRestException, which contain PostgREST fields like hint, code.
    • All RestExceptions now contain the full HttpResponse as a property.

Docs

Compose Auth

  • Make the dialog type for the Native Google Sign In configurable by @jan-tennert in #832
    New type parameter for rememberSignInWithGoogle(), only functional on Android.

New Contributors

3.1.0-beta-2

18 Jan 10:03
fa6acd7
Compare
Choose a tag to compare
3.1.0-beta-2 Pre-release
Pre-release

Changes

Storage

3.1.0-beta-1

13 Jan 20:56
c84967a
Compare
Choose a tag to compare
3.1.0-beta-1 Pre-release
Pre-release

Changes

Auth

Realtime

  • Improve behavior for realtime channel creation and improve docs by @jan-tennert in #831
    If a channel with the same channelId exists, Realtime#channel() will return it instead of creating a new one. The channel will now also be saved after calling Realtime#channel() instead at subscribing.
  • Add pull token approach to realtime by @jan-tennert in #807
  • Prevent sending expired tokens to realtime by @jan-tennert in #808

PostgREST

  • Add custom exception for PostgREST API errors and include HttpResponse in RestExceptions by @jan-tennert in #789
    • All PostgREST rest exceptions are a PostgrestRestException, which contain PostgREST fields like hint, code.
    • All RestExceptions now contain the full HttpResponse as a property.

Docs

Compose Auth

  • Make the dialog type for the Native Google Sign In configurable by @jan-tennert in #832
    New type parameter for rememberSignInWithGoogle(), only functional on Android.

New Contributors

3.0.3

04 Dec 18:49
4f822b7
Compare
Choose a tag to compare

Changes

Core

  • Add support for Kotlin 2.1.0
  • Fix build errors on certain targets like wasm-js

Compose Auth & Auth

  • Use okio for hashing instead of krypto
    Let me know if there are any issues!

3.0.2

11 Nov 20:01
e2047f4
Compare
Choose a tag to compare

Changes

Core

Auth

  • Add IDToken support for the Kakao OAuthProvider by @jan-tennert in #776
  • Add missing AuthErrorCodes: SessionExpired, RefreshTokenNotFound, RefreshTokenAlreadyUsed by @jan-tennert in #775

Compose Auth & Compose Auth UI

Realtime

  • Remove additional toMap() call for Realtime#subscriptions to prevent rare exceptions by @jan-tennert in #779

Coil3 Integration

3.0.1

10 Oct 19:09
eafba42
Compare
Choose a tag to compare

Changes

Core

  • Add support for Kotlin 2.0.21
  • Add support for Ktor 3.0.0

Auth

  • Add HTTP Callback Server support for mingwx64 (untested)

Coil3 Integration

  • Add support for Coil3 version 3.0.0-rc01