2.0.0 #385
jan-tennert
announced in
Announcements
2.0.0
#385
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note
Migration guide
Documentation
Changes
Core
GoTrue
GoTrue
plugin toAuth
GoTrueConfig
toAuthConfig
SupabaseClient#gotrue
toSupabaseClient#auth
Auth#loginWith
toAuth#signInWith
Auth#logout
toAuth#signOut
LogoutScope
toSignOutScope
Auth#sendOtpTo
and add newOTP
auth provider (in Refactor OTP authentication #350 by @jan-tennert):AdminUserUpdateBuilder#phoneNumber
toAdminUserUpdateBuilder#phone
UserUpdateBuilder#phoneNumber
toUserUpdateBuilder#phone
Phone.Config#phoneNumber
toPhone.Config#phone
Auth#sendRecoveryEmail
toAuth#resetPasswordForEmail
and add PKCE support (in Rename sendRecoveryEmail method and add PKCE support #367 by @jan-tennert)Auth#linkIdentity(OAuthProvider)
- The works the same assignInWith(OAuthProvider)
but links an additional OAuth provider to an authenticated userAuth#unlinkIdentity(identityId)
Auth#currentIdentitiesOrNull
Realtime
Realtime#createChannel
toRealtime#channel
RealtimeChannel#join
and add newRealtimeChannel#subscribe
method, which does the same but also connects to the realtime websocket automaticallyRealtime.Config#connectOnSubscribe
to disable this behaviourRealtimeChannel#leave
toRealtimeChannel#unsubscribe
SupabaseClient#channel
extension function delegating toRealtime#channel
Realtime.Status
to reflect the new methods:UNSUBSCRIBED
SUBSCRIBING
SUBSCRIBED
UNSUBSCRIBING
Postgrest
upsert
parameter ininsert
andupdate
methods and add newupsert
methodreturning
,count
andsingle
parameters from postgrest methodsPostgrestResult#count
toPostgrestResult#countOrNull
PostgrestResult#range
toPostgrestResult#rangeOrNull
SupabaseClient#from
delegating toPostgrest#from
PostgrestResult#body
toPostgrestResult#data
PostgrestResult#data
toString
PostgrestResult
: (especially handy when dealing with datatypes other than json)Compose Auth
ComposeAuth#rememberLoginWithGoogle
toComposeAuth#rememberSignInWithGoogle
ComposeAuth#rememberLoginWithApple
toComposeAuth#rememberSignInWithApple
ComposeAuth#rememberSignOut
toComposeAuth#rememberSignOutWithGoogle
New module: Coil Integration
This new plugin can be added to a Coil ImageLoader to easily display images from public and non-public buckets from storage (Android only)
(in #323 by @jan-tennert).
Learn more
New module: Compose-ImageLoader Integration
This new plugin can be added to a ImageLoader to easily display images from public and non-public buckets from storage (All Compose targets) (in #335 by @jan-tennert).
Learn more
This discussion was created from the release 2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions