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#resendEmailGoTrue#resendPhoneGoTrue#importAuthTokenparameters:jwtrenamed toaccessToken, added optionalrefreshToken,autoRefreshandretrieveUserstartAutoRefresh(session)useimportSessioninsteadGoTrue#currentUserOrNull()autoSaveToStoragetoGoTrueConfigGoTrue#invalidateSessionin favor ofGoTrue#logoutAdminApi#logout(jwt)dataproperty to Email/Phone providersdataparameter tosendOtpTo& add overload for specifying a serializable valuechannelproperty toPhone.Configto support sending OTPs to WhatsAppAdminApiLinkType.EmailChangeNewGoTrue#invalidateAllRefreshTokens(). Uselogoutinstead.GoTrue#retrieveUserForCurrentSessionnot saving the session correctly.MfaApi#isMfaEnabledto 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&queryParamsproperties to OAuth configuration:providerToken&providerRefreshTokenPostgrest
PostgrestFilterBuilderlikeAll,likeAny,ilikeAll,ilikeAny(which are not yet supported in supabase)Realtime
Realtime.Config#customRealtimeURL. UsecustomUrlinstead.Realtime#removeChannel(channel)Realtime#removeAllChannelsRealtimeChannel#join:blockUntilJoined. If this parameter is set to true, this method will block until the RealtimeChannel actually joined, so you callbroadcastandtrackwithout any problems directly afterjoinStorage
BucketApi#listStorage#updateBucketmethodStorage#changePublicStatususeupdateBucketinsteadBucketApi#createUploadSignedUrltoBucketApi#createSignedUploadUrlThis discussion was created from the release 1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions