github supabase-community/supabase-kt 0.9.0-beta-1

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

Changes

  • Add experimental support for IOS (#53)
  • Improve select syntax for postgrest (#87)
    You can now restrict the columns you want to receive using the Columns value class:
    //user class
    @Serializable
    data class User(val id: String, val name: String)
    
    client.postgrest["table"].select(Columns.list(columns)).decodeSingle<User>()
    //or
    client.postgrest["table"].select(Columns.list("id", "name")).decodeSingle<User>()
    //or
    client.postgrest["table"].select(Columns.type<User>()).decodeSingle<User>() //uses the class properties serial names as column restriction
    //defaults to Columns.ALL
    client.postgrest["table"].select().decodeSingle<User>()
  • Improve exceptions
  • Make Identity#lastSignInAt optional

Depdendency updates

  • Update Kotlin to 1.8.20
  • Update apollo-kotlin to 3.8.0
  • Update atomicfu to 0.20.1
  • Update androidx lifecycle to 2.6.1

Don't miss a new supabase-kt release

NewReleases is sending notifications on new releases.