supabase-kt

A Kotlin Multiplatform Client for Supabase.

MIT License

Stars
389
Committers
22

Bot releases are hidden (Show)

supabase-kt - 1.4.3

Published by jan-tennert about 1 year ago

Changes

Compose Auth

  • Fix crash on Android 14 when using Google Auth by using Google OneTap for now (fixes #318)
supabase-kt - 1.4.2

Published by jan-tennert about 1 year ago

Changes

GoTrue

  • Add redirectUrl parameter and PKCE capabilities to GoTrue#modifyUser.
supabase-kt - 1.4.1

Published by jan-tennert about 1 year ago

Changes

Postgrest

  • Re-add missing return value for rpc functions (fixes #308)

GoTrue

  • Add clearSession method (in #306)
supabase-kt - 1.4.1-rc-2

Published by jan-tennert about 1 year ago

Changes

Postgrest

  • Re-add missing return value for rpc functions (fixes #308)
supabase-kt - 1.4.1-rc-1

Published by jan-tennert about 1 year ago

Changes

GoTrue

  • Add clearSession method (in #306)
supabase-kt - 1.4.0

Published by jan-tennert about 1 year ago

Changes

GoTrue

  • Add role parameter to AdminUserUpdateBuilder
  • Add Fly OAuthProvider

Realtime

  • Add the ability to broadcast messages to a Realtime Channel without being connected to the websocket (via an API endpoint)
    val channel = client.realtime.createChannel("id")
    channel.broadcast("messages", Message("test"))
    
  • Optimize Realtime implementation

Postgrest

  • Restructure Postgrest implementation and add unit tests (#277 by @hieuwu)
supabase-kt - 1.4.0-rc-1

Published by jan-tennert about 1 year ago

Changes

GoTrue

  • Add role parameter to AdminUserUpdateBuilder
  • Add Fly OAuthProvider

Realtime

  • Add the ability to broadcast messages to a Realtime Channel without being connected to the websocket (via an API endpoint)
    val channel = client.realtime.createChannel("id")
    channel.broadcast("messages", Message("test"))
    
  • Optimize Realtime implementation

Postgrest

  • Restructure Postgrest implementation and add unit tests (#277 by @hieuwu)
supabase-kt - 1.3.2

Published by jan-tennert about 1 year ago

supabase-kt - 1.3.1-rollback

Published by jan-tennert about 1 year ago

Changes

(releasing)

Identical to 1.3.1 but with KotlinX DateTime 0.4.0 (rather than 0.4.1), which should fix the Android compilation problem.

supabase-kt - 1.3.1

Published by jan-tennert about 1 year ago

Changes

GoTrue

New Contributors

supabase-kt - 1.3.0

Published by jan-tennert about 1 year ago

Changes

New module: Compose Auth UI

This module provides auth composables for Compose Multiplatform. Learn more

New module: Compose Auth by @temk0 in https://github.com/supabase-community/supabase-kt/pull/241

This module provides easy to use compose functions to login with Google & Apple natively on their supported platform while still being usable on all Compose platforms (JVM, Android, IOS, JS).
See the README for more information.

Core

  • Mark SupabaseClientBuilder#httpConfig as @SupabaseInternal

GoTrue

  • Make SessionStatus.LoadingFromStorage the default for GoTrue#sessionStatus
  • Add the possibility to use Custom Tabs for OAuth/SSO on Android in #243:
install(GoTrue) {
    defaultExternalAuthAction = ExternalAuthAction.CUSTOM_TABS //defaults to EXTERNAL_BROWSER
}
  • Remove default values for GoTrueConfig#scheme and GoTrueConfig#host on Android and Apple platforms. (#244)
  • Add GoTrue#parseSessionFromFragment(fragment)
  • Add GoTrue#parseSessionFromUrl(url)

New Contributors

supabase-kt - 1.3.0-rc-2

Published by jan-tennert about 1 year ago

Changes

GoTrue

  • Make SessionStatus.LoadingFromStorage the default for GoTrue#sessionStatus
supabase-kt - 1.3.0-beta-2

Published by jan-tennert about 1 year ago

Changes

Compose Auth UI

  • Fix crash on Android when trying to use the Provider Button by putting the icons in a class rather than seperate files.
supabase-kt - 1.3.0-beta-1

Published by jan-tennert about 1 year ago

Changes

New module: Compose Auth UI

This module provides auth composables for Compose Multiplatform. Learn more

supabase-kt - 1.3.0-alpha-4

Published by jan-tennert about 1 year ago

Changes

Compose Auth

  • Improve error handling (by @temk0 in #260)

GoTrue

  • Add a warning when trying to use GoTrue#logout without a valid session

Note: I'm going to release this version sometime next week, with or without #256 depending on whether I'm done until then.

supabase-kt - 1.3.0-alpha-3

Published by jan-tennert about 1 year ago

Changes

Compose Auth

  • Fix broken config helper function by @temk0 in #257
supabase-kt - 1.3.0-alpha-2

Published by jan-tennert about 1 year ago

Changes

New module: Compose Auth by @temk0 in https://github.com/supabase-community/supabase-kt/pull/241

This module provides easy to use compose functions to login with Google & Apple natively on their supported platform while still being usable on all Compose platforms (JVM, Android, IOS, JS).
See the README for more information.

Core

  • Mark SupabaseClientBuilder#httpConfig as @SupabaseInternal

New Contributors

supabase-kt - 1.3.0-alpha-1

Published by jan-tennert about 1 year ago

Changes

GoTrue

  • Add the possibility to use Custom Tabs for OAuth/SSO on Android in #243:
install(GoTrue) {
    defaultExternalAuthAction = ExternalAuthAction.CUSTOM_TABS //defaults to EXTERNAL_BROWSER
}
  • Remove default values for GoTrueConfig#scheme and GoTrueConfig#host on Android and Apple platforms. (#244)
  • Add GoTrue#parseSessionFromFragment(fragment)
  • Add GoTrue#parseSessionFromUrl(url)
supabase-kt - 1.2.0

Published by jan-tennert about 1 year ago

Changes

Core

  • Update Kotlin to 1.9.0
  • Add watchOS Kotlin targets: watchosArm64, watchosX64, watchosSimulatorArm64
  • Add tvOS Kotlin targets: tvosArm64, tvosX64, tvosSimulatorArm64
  • Add support for NodeJS in Kotlin/JS

GoTrue

  • Add Figma OAuthProvider
  • Add Kakao OAuthProvider
  • Add Fazebook IDTokenProvider
  • Make Azure an IDTokenProvider
  • Add logout scope option #220
  • Update IDToken Provider config properties #221
  • Use atomic value for MemorySessionManager and MemoryCodeVerifierCache instead of AtomicMap.

Functions

  • Allow overriding the request when calling EdgeFunction#invoke instead of just the headers.

Postgrest

  • Fix Columns.type not working correctly

GraphQL

  • Add the supabase key as a fallback for authentication.
  • Add functionality for GraphQL.Config#jwtToken
supabase-kt - 1.2.0-alpha-3

Published by jan-tennert over 1 year ago

Changes

GoTrue

  • Use atomic value for MemorySessionManager and MemoryCodeVerifierCache instead of AtomicMap.

Functions

  • Allow overriding the request when calling EdgeFunction#invoke instead of just the headers.

Postgrest

  • Fix Columns.type not working correctly

GraphQL

  • Add the supabase key as a fallback for authentication.
  • Add functionality for GraphQL.Config#jwtToken
Badges
Extracted from project README
Kotlin Ktor slack Ktor Ktor
Related Projects