github supabase-community/supabase-kt 1.1.0

latest releases: 3.7.0, 3.7.0-beta-1, 3.6.0...
3 years ago

Changes

Core

  • Add support for:
    • MacOS (macosX64 & macosArm64) (same as IOS)
    • Windows (mingwX64) (no built-in otp/oauth handling)
    • Linux (linuxX64) (no built-in otp/oauth handling)
  • Add support for custom serializers (#205)
  • Add SupabaseClientBuilder#defaultSerializer
  • Add moshi serializer:
implementation("io.github.jan-tennert.supabase:serializer-moshi:VERSION")
val client = createSupabaseClient(url, key) {
    defaultSerializer = MoshiSerializer()
}
  • Add jackson serializer:
implementation("io.github.jan-tennert.supabase:serializer-jackson:VERSION")
val client = createSupabaseClient(url, key) {
    defaultSerializer = JacksonSerializer()
}
  • Add PlatformTargets: MACOS, WINDOWS, LINUX, WASM
  • Rename PlatformTarget: WEB -> JS, DESKTOP -> JVM
  • Rename package which includes SupabaseInternal and SupabaseExperimental from annotiations to annotations
  • Add X-Client-Info header #197 (suggested in #196)
  • Replace Napier logging with Kermit (just rename Napier to Logger, syntax is the same)

GoTrue

  • Add MemorySessionManager (default for linux)
  • Add MemoryCodeVerifierCache (default for linux)

Storage

  • Rename classes:
    • ResumableCache.Disk -> SettingsResumableCache
    • ResumableCache.Memory -> MemoryResumableCache
  • Extract flow variants of upload/download methods to another file

Don't miss a new supabase-kt release

NewReleases is sending notifications on new releases.