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()
}
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