Releases: supabase-community/supabase-kt
Releases · supabase-community/supabase-kt
2.3.1
Changes
Storage
- Make the default value for
Storage.Config.resumable#cache
null
to prevent a NullPointerException in testing enviroments. (If it's set to null, the default cache implementation will be used) - Fix
BucketApi#createSignedUploadUrl
returning an invalid url - Fix
BucketApi#createSignedUrl
not correctly adding transformation parameters - Fix
BucketApi#createSignedUrl
returning an invalid url - Fix
BucketListFilter#sortBy
not working correctly - Add missing
destinationBucket
parameter toBucketApi#copy
andBucketApi#move
by @jan-tennert in #562
Auth
- Move
enableLifecycleCallbacks
to the common source set (still only used on Android) by @jan-tennert in #561 - Add
AuthConfig#minimalSettings
(useful for servers or testing, disabling session storage and uses only in-memory caches) by @jan-tennert in #561
Realtime
- Remove the suspend modifier for
RealtimeChannel#postgresListDataFlow
by @jan-tennert in #563 - When a postgres flow is closed, the joining payload will now be correctly cleaned by @jan-tennert in #563
2.3.0
Changes
Core
- Update Kotlin to
2.0.0-RC1
Postgrest
- Add referenced table parameter to
or
andand
by @jan-tennert in #551 - Fix nested
or
blocks working incorrectly - Auto remove line breaks and white spaces when unquoted on Columns.Raw by @iruizmar in #544
- Add support for using GET when calling database functions by @jan-tennert in #538
There is now amethod
parameter which takes in aRpcMethod
. This can either bePOST
,HEAD
orGET
. The head parameter has been removed.
Realtime
- Stabilize new flow presence and postgres methods by @jan-tennert in #535
Auth
- Stabilize linking identities and signing in anonymously by @jan-tennert in #535
- Rename
Auth#modifyUser
toAuth#updateUser
by @jan-tennert in #534 - Return full a full
UserInfo
on sign up by @jan-tennert in #528
ThesignUpWith
method will now return aUserInfo
object for theEmail
,Phone
andIDToken
instead of separate Result objects. - Allow customizing the custom tab intent on Android by @jan-tennert in #529
New Contributors
2.3.0-rc-2
Changes
Core
- Update Kotlin to
2.0.0-RC1
Postgrest
- Add referenced table parameter to
or
andand
by @jan-tennert in #551 - Fix nested
or
blocks working incorrectly
2.3.0-rc-1
2.3.0-beta-2
Changes
Realtime
- Stabilize new flow presence and postgres methods by @jan-tennert in #535
Auth
- Stabilize linking identities and signing in anonymously by @jan-tennert in #535
- Rename
Auth#modifyUser
toAuth#updateUser
by @jan-tennert in #534
Postgrest
- Add support for using GET when calling database functions by @jan-tennert in #538
There is now amethod
parameter which takes in aRpcMethod
. This can either bePOST
,HEAD
orGET
. The head parameter has been removed.
2.3.0-beta-1
Note
There is now a Slack channel for supabase-kt!
Changes
Auth
- Return full a full
UserInfo
on sign up by @jan-tennert in #528
ThesignUpWith
method will now return aUserInfo
object for theEmail
,Phone
andIDToken
instead of separate Result objects. - Allow customizing the custom tab intent on Android by @jan-tennert in #529
2.2.3
Note
There is now a Slack channel for supabase-kt!
Changes
Compose Auth
- Fix iOS Native Apple Sign-In Digest error by @jan-tennert in #527
Nonce hashing is now done by Krypto.
2.2.2-wasm0
Changes
Add wasm-js
support for compose-auth
, compose-auth-ui
and apollo-graphql
.
Auth
- Migrate HTTP Callback Servers to use Ktor 3.0.0
Note
- You have to add this repository: https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental
- You have to use a 3.0.0 Ktor Client Engine version, otherwise there will be a build error. Supabase-kt uses
3.0.0-wasm2
.
2.2.2
Changes
Core
Postgrest
- Rename
filter
param torequest
in Postgrest#rpc by @jan-tennert in #506
Auth
- Change default value of
OTP.Config#createUser
to true to match docs and other client libs - Add support for anonymous sign ins by @jan-tennert in #497 (experimental, as untested)
- Rename
phoneNumber
parameter inAuth#resendPhone
tophone
.
Realtime
- Deprecate
Realtime.Config#eventsPerSecond
(yes, I know this was just introduced, but apparently all other client libs are now also deprecating it)
2.2.1
Changes
Compose Auth UI
- Remove print statement in Compose Auth UI by @jan-tennert in #502
Realtime
- Fix realtime reconnecting suspending indefinitely by @jan-tennert in #505
- Fix session status flow being collected multiple times