Changes
Core
- Update Kotlin to version
3.3.0 - fix: Make OS version optional in headers by @rafsanjani in #1088
- Implement Native Google OAuth iOS in sample by @hieuwu in #1093
- Mask sensitive information in
RestExceptionby @jan-tennert in #1113 - Migrate to new Multiplatform Android Plugin by @jan-tennert in #1013
- Change
body()calls tosafeBody()by @jan-tennert in #1131
Auth
- Refactor platform specific auth initialization by @jan-tennert in #1100
- Add session failsafe and option to require a session for requests by @jan-tennert in #1071
- When trying to make a request with an expired access token, the client will try to force-refresh the session
- There is a new option for all plugins to require the user to be authenticated to make requests with that plugin (instead of falling back to the api key as the access token). Note that some methods ignore this option.
- Add
onErrorparameter tohandleDeeplinkmethods by @jan-tennert in #1136
This is meant to handle exceptions happening when verifying the PKCE code contained in the deeplink - Handle secure email changes in
Auth#verifyby @jan-tennert in #1130
Auth#verifyEmailOtp()will now return anOtpVerifyResult, depending on if the response contains a session. - Expose
Auth#defaultRedirectUrl()by @jan-tennert in #1134 - Fix infinite recursion for expired sessions by @jan-tennert in #1133
- Fix a bug causing the sessionStatus to be set earlier than loading from storage by @jan-tennert in #1128
- Fix
redirect_tourl parameter forresetPasswordForEmail()andgetOAuthUrl()values not being encoded by @jan-tennert in #1125
Realtime
- Classify events with error status code as error events by @jan-tennert in #1123
Compose Auth
- Implement Native Google OAuth for Apple targets by @hieuwu in supabase-community/supabase-kt-plugins#45 also big thanks to @dosier!
Checkout the README for more information
Postgrest
Storage
- Add support for bucket pagination and sorting by @jan-tennert in #1087
New Contributors
- @rafsanjani made their first contribution in #1088