Bot releases are hidden (Show)
Published by jan-tennert 6 months ago
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)BucketApi#createSignedUploadUrl
returning an invalid urlBucketApi#createSignedUrl
not correctly adding transformation parametersBucketApi#createSignedUrl
returning an invalid urlBucketListFilter#sortBy
not working correctlydestinationBucket
parameter to BucketApi#copy
and BucketApi#move
by @jan-tennert in #562enableLifecycleCallbacks
to the common source set (still only used on Android) by @jan-tennert in #561AuthConfig#minimalSettings
(useful for servers or testing, disabling session storage and uses only in-memory caches) by @jan-tennert in #561RealtimeChannel#postgresListDataFlow
by @jan-tennert in #563Published by jan-tennert 6 months ago
2.0.0-RC1
or
and and
by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/551
or
blocks working incorrectlymethod
parameter which takes in a RpcMethod
. This can either be POST
, HEAD
or GET
. The head parameter has been removed.Auth#modifyUser
to Auth#updateUser
by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/534
UserInfo
on sign up by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/528signUpWith
method will now return a UserInfo
object for the Email
, Phone
and IDToken
instead of separate Result objects.Published by jan-tennert 6 months ago
2.0.0-RC1
or
and and
by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/551
or
blocks working incorrectlyPublished by jan-tennert 6 months ago
Published by jan-tennert 7 months ago
Auth#modifyUser
to Auth#updateUser
by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/534
method
parameter which takes in a RpcMethod
. This can either be POST
, HEAD
or GET
. The head parameter has been removed.Published by jan-tennert 7 months ago
There is now a Slack channel for supabase-kt!
UserInfo
on sign up by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/528signUpWith
method will now return a UserInfo
object for the Email
, Phone
and IDToken
instead of separate Result objects.Published by jan-tennert 7 months ago
There is now a Slack channel for supabase-kt!
Published by jan-tennert 7 months ago
Add wasm-js
support for compose-auth
, compose-auth-ui
and apollo-graphql
.
3.0.0-wasm2
.Published by jan-tennert 7 months ago
filter
param to request
in Postgrest#rpc by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/506
OTP.Config#createUser
to true to match docs and other client libsphoneNumber
parameter in Auth#resendPhone
to phone
.Realtime.Config#eventsPerSecond
(yes, I know this was just introduced, but apparently all other client libs are now also deprecating it)Published by jan-tennert 8 months ago
Published by jan-tennert 8 months ago
val supabase = createSupabaseClient(url, key) {
defaultLogLevel = LogLevel.WARNING
}
Note: The default logging level is set to LogLevel.INFO
Auth.setLogLevel(LogLevel.NONE)
SessionStatus
:
Authenticated
now has a source
property which can be Storage
, SignIn
, SignUp
, Refresh
, External
, UserChanged
, UserIdentitiesChanged
or Unknown
Authenticated
now also has a isNew
property which returns true if the source
is either SignIn
, SignUp
or External
NotAuthenticated
status is now a data class rather than an object and has a isSignOut
propertyAuth#oAuthUrl
to Auth#getOAuthUrl
signInWith(Google)
will now block the current coroutine until the flow succeeds or times out.macosX64*
and linuxX64
targetsAuthConfig#httpCallbackConfig()
method for configuring these servers.host
and scheme
auth config properties to common code (will still not used by all targets)AuthConfig#defaultRedirectUrl
to override the default redirect url used for requests. Defaults to null, which means that everything stays as it is; Desktop targets will use a http callback server, mobile targets deeplinks, etc.Auth#signOut
or Auth#clearSession
the Google credential will now also be cleared.
ComposeAuth#rememberSignOutWithGoogle
has been removed.nonce
and extraData
when calling startFlow
rather than in the plugin settings.
nonce
parameter is specified (or not set to null manually), the library will now take care of generating a nonce and using it for authentication.NativeSignInState#started
has been changed to NativeSignInState#status
which can be Started
or NotStarted
eventsPerSecond
(default is 10), which configures a client-side rate-limit for sending broadcasts, presence updates etc. If this rate-limit is exceeded, any message within this duration will fail.Published by jan-tennert 8 months ago
Published by jan-tennert 8 months ago
WASM support will be skipped again as Ktor won't be releasing a stable version supporting WASM-JS anytime soon.
SessionStatus.Authenticated#isNew
: This will be true if the session source is a sign in, sign up or is external. Use this to to determine whether you e.g. change the screen.Published by jan-tennert 8 months ago
SessionStatus
:
Authenticated
now has a source
property which can be Storage
, SignIn
, SignUp
, Refresh
, External
, UserChanged
, UserIdentitiesChanged
or Unknown
NotAuthenticated
status is now a data class rather than an object and has a isSignOut
propertyAuth#signOut
or Auth#clearSession
the Google credential will now also be cleared.nonce
and extraData
when calling startFlow
rather than in the plugin settings.nonce
parameter is specified (or not set to null manually), the library will now take care of generating a nonce and using it for authentication.NativeSignInState#started
has been changed to NativeSignInState#status
which can be Started
or NotStarted
Published by jan-tennert 8 months ago
Published by jan-tennert 8 months ago
Full Changelog: https://github.com/supabase-community/supabase-kt/compare/2.1.3...2.1.4
Published by jan-tennert 8 months ago
val supabase = createSupabaseClient(url, key) {
defaultLogLevel = LogLevel.WARNING
}
Note: The default logging level is set to LogLevel.INFO
Auth.setLoggingLevel(LogLevel.NONE)
Auth#oAuthUrl
to Auth#getOAuthUrl
signInWith(Google)
will now block the current coroutine until the flow succeeds or times out.macosX64*
and linuxX64
targetsAuthConfig#httpCallbackConfig()
method for configuring these servers.host
and scheme
auth config properties to common code (will still not used by all targets)AuthConfig#defaultRedirectUrl
to override the default redirect url used for requests. Defaults to null, which means that everything stays as it is; Desktop targets will use a http callback server, mobile targets deeplinks, etc.eventsPerSecond
(default is 10), which configures a client-side rate-limit for sending broadcasts, presence updates etc. If this rate-limit is exceeded, any message within this duration will fail.Published by jan-tennert 9 months ago
enableLifecycleCallbacks
is set to true and the app goes to background, the sessionStatus
value will get set to LoadingFromState
(before it wasn't changed at all). This fixes a problem that caused other plugins to use a potentially expired session after the app goes back into foreground because the session wasn't refreshed yet.LoadingFromStorage
status, e.g. by showing a loading screen.LoadingFromStorage
and then back to Authenticated
once the session is definitely valid.oldStatus
property to SessionStatus.Authenticated
. This can be used to check if a new status emitted is just a refresh (so the oldStatus will just be Authenticated
), or an actual login (e.g. oldStatus will be NotAuthenticated
)Full Changelog: https://github.com/supabase-community/supabase-kt/compare/2.1.2...2.1.3
Published by jan-tennert 9 months ago
OtpType.Email.EMAIL
by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/451SIGNUP
and MAGIC_LINK
Published by jan-tennert 9 months ago