1.0.0 #156
Closed
jan-tennert
announced in
Announcements
1.0.0
#156
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changes
Note: I don't consider this release more stable than the previous releases as I'm still one person, but I think its pretty much feature-complete in comparison to the JavaScript SDK. As always, when finding bugs or if you have a suggestion/feature request feel free to open an issue.
Core
GoTrue
GoTrue#modifyUser
: You don't specify a Provider anymore, you can just use the builder to modify everything.GoTrue#resendEmail
GoTrue#resendPhone
GoTrue#importAuthToken
parameters:jwt
renamed toaccessToken
, added optionalrefreshToken
,autoRefresh
andretrieveUser
startAutoRefresh(session)
useimportSession
insteadGoTrue#currentUserOrNull()
autoSaveToStorage
toGoTrueConfig
GoTrue#invalidateSession
in favor ofGoTrue#logout
AdminApi#logout(jwt)
data
property to Email/Phone providersdata
parameter tosendOtpTo
& add overload for specifying a serializable valuechannel
property toPhone.Config
to support sending OTPs to WhatsAppAdminApi
LinkType.EmailChangeNew
GoTrue#invalidateAllRefreshTokens()
. Uselogout
instead.GoTrue#retrieveUserForCurrentSession
not saving the session correctly.MfaApi#isMfaEnabled
to only return true when a verified factor is available.GoTrue#updateCurrentUser()
. UseretrieveUserForCurrentSession(updateSession = true)
instead.SSO Logins
GoTrue#retrieveSSOUrl(type)
GoTrue#exchangeCodeForSession(code)
GoTrue#parseFragmentAndImportSession(fragment)
, so you don't have to parse all this by yourself when using a custom OAuth implementationGoTrue#oAuthUrl(provider)
, to easily get the oauth url when using a custom implementationscopes
&queryParams
properties to OAuth configuration:providerToken
&providerRefreshToken
Postgrest
PostgrestFilterBuilder
likeAll
,likeAny
,ilikeAll
,ilikeAny
(which are not yet supported in supabase)Realtime
Realtime.Config#customRealtimeURL
. UsecustomUrl
instead.Realtime#removeChannel(channel)
Realtime#removeAllChannels
RealtimeChannel#join
:blockUntilJoined
. If this parameter is set to true, this method will block until the RealtimeChannel actually joined, so you callbroadcast
andtrack
without any problems directly afterjoin
Storage
BucketApi#list
Storage#updateBucket
methodStorage#changePublicStatus
useupdateBucket
insteadBucketApi#createUploadSignedUrl
toBucketApi#createSignedUploadUrl
This discussion was created from the release 1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions