supabase-kt

A Kotlin Multiplatform Client for Supabase.

MIT License

Stars
389
Committers
22

Bot releases are hidden (Show)

supabase-kt - 0.8.1

Published by jan-tennert over 1 year ago

Changes

  • Make the return value of GoTrue#signUpWith nullable. The function will return null, if auto-confirm is enabled for your supabase project, resulting in a log-in
  • Fix IDE warnings / build errors indicating that supabase-kt functions couldn't be inlined
  • Add better serialization error handling
  • Update android compile sdk to 33

Dependency updates

  • Update Gradle to 8.0.1
  • Update Android Gradle Plugin to 7.4.1
  • Update atomic-fu to 0.20.0
supabase-kt - 0.8.0

Published by jan-tennert over 1 year ago

Changes

  • Add experimental Apollo GraphQL Client plugin by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/57
  • Rename GoTrue#getUser() to GoTrue#retrieveUser()
  • Add GoTrue#retrieveUserForCurrentSession()
  • Move and rename chat demo to demos/chat-demo-mpp
  • Improve documentation
  • Add headerOverride to EdgeFunction
  • Change PostgrestResult back to data class (for accessing headers after a postgrest request)
  • Add a completely new demo and remove the old ones (see README)
  • Add support for changing the database schema in the Postgrest plugin by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/51 (suggested in #50)
  • Improve GoTrue configuration (no more imports) (#48)

Dependency updates

  • Update Kotlin to 1.8.10
  • Update Ktor to 2.2.3
supabase-kt - 0.8.0-beta-2-ios

Published by jan-tennert over 1 year ago

Context

Support for IOS platforms, deep linking works like android but using URL Schemes

supabase-kt - 0.8.0-beta-2

Published by jan-tennert over 1 year ago

Changes

Dependency updates

  • Update Kotlin to 1.8.10
  • Update Ktor to 2.2.3

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.8.0-beta-1...0.8.0-beta-2

supabase-kt - 0.8.0-beta-1

Published by jan-tennert over 1 year ago

Changes

  • Improve documentation

  • Add headerOverride to EdgeFunction

  • Change PostgrestResult back to data class (for accessing headers after a postgrest request)

  • Add a completely new demo and remove the old ones (see README)

  • Add new dokka documentation (https://supabase-community.github.io/supabase-kt/)

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.8.0-alpha-1...0.8.0-beta-1

supabase-kt - 0.8.0-alpha-1

Published by jan-tennert over 1 year ago

Changes

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.7.6...0.8.0-alpha-1

supabase-kt - 0.7.6

Published by jan-tennert over 1 year ago

Changes

  • Fix BucketApi#downloadAuthenticated and BucketApi#downloadPublic using the wrong url (#47)

Dependency updates

  • Update multiplatform-settings to 1.0.0
supabase-kt - 0.7.5

Published by jan-tennert almost 2 years ago

Changes

  • Use file path for default content type (#46)
  • Make BucketItem properties nullable in case the item is a folder (#45)

Dependency updates

  • Update Ktor to 2.2.2
supabase-kt - 0.7.4

Published by jan-tennert almost 2 years ago

Dependency updates

  • Update Kotlin to 1.8.0
  • Update atomic-fu to 0.19.0

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.7.3...0.7.4

supabase-kt - 0.7.3

Published by jan-tennert almost 2 years ago

  • Fix signing up using OAuth on Kotlin/JS

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.7.2...0.7.3

supabase-kt - 0.7.2

Published by jan-tennert almost 2 years ago

  • Set useHTTPs automatically depending on the supabase url (#40)
  • Use SupabaseClient#useHTTPS as default for Realtime.Config#secure (#40)

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.7.1...0.7.2

supabase-kt - 0.7.1

Published by jan-tennert almost 2 years ago

supabase-kt - 0.7.0

Published by jan-tennert almost 2 years ago

Features/Changes

Dependency updates

  • Update Kotlin to 1.7.22
  • Update Ktor to 2.2.1
supabase-kt - 0.7.0-RC-1

Published by jan-tennert almost 2 years ago

supabase-kt - 0.7.0-beta-3

Published by jan-tennert almost 2 years ago

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.7.0-beta-2...0.7.0-beta-3

supabase-kt - 0.7.0-beta-2

Published by jan-tennert almost 2 years ago

Full Changelog: https://github.com/supabase-community/supabase-kt/compare/0.7.0-beta-1...0.7.0-beta-2

supabase-kt - 0.7.0-beta-1

Published by jan-tennert almost 2 years ago

supabase-kt - 0.6.1

Published by jan-tennert almost 2 years ago

  • Fix postgrest GET requests on Kotlin/JS (#32)
supabase-kt - 0.7.0-alpha-2

Published by jan-tennert almost 2 years ago

supabase-kt - 0.7.0-alpha-1

Published by jan-tennert almost 2 years ago

  • Rework the way plugins interact with Supabase APIs by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/26
  • Improve error handling for all APIs by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/27
    • Add new response exceptions: NotFoundRestException, BadRequestRestException, UnauthorizedRestException, UnknownRestException
    • Add HttpTimeout to the library's Http Client, which can be customized within the supabase client builder
    • Add new HttpRequestException thrown on network issues
  • Make PostgrestResult a value class
  • Remove OAuthProvider#provider() and add OAuthProvider#name
  • Update to Kotlin 1.7.21
  • Add the ability to log network traffic by supabase-kt
  • Remove Realtime#onStatusChange (collect the status flow instead)