3.7.0-beta-1
Pre-releaseA small note
Sorry that the library has been moving slow lately, we currently have some internal stuff to figure out, once that is sorted there will be coming a lot of new features and quality of life changes to the library.
Changes
Core
- Fix append tag by @jan-tennert in #1284
- Add Star History section to README by @hieuwu in #1290
- Fix chat-demo-mpp example not compiling by @cmelchior in #1296
- fix(integration-test): grant table privileges on test_items to PostgREST roles by @PierreVieira in #1333
- implement structured X-Client-Info header by @jan-tennert in #1300
Auth
- Add support for custom OAuth provider by @jan-tennert in #1236
- feat(auth): expose public getter for AuthConfig.httpCallbackConfig on Desktop by @PierreVieira in #1322
- fix(auth): don't throw an error when there is no stored session by @PierreVieira in #1320
- Add API support for Passkeys by @jan-tennert in #1327 under
supabase.auth.passkeys- Note, there is currently no sign-in method. We are still deciding how to move on with Native APIs. Compose Auth support may come as a temporary solution. - Add PKCE support for resend by @jan-tennert in #1337
Realtime
-
Add support for binary broadcasts, httpSend and VSN 2.0.0 by @jan-tennert in #1325
Either use the
ByteArraytype in broadcastFlow:channel.broadcastFlow<ByteArray>("test").collect { println(it.decodeToString()) }
Or use
broadcastFlowwithout a type to receive both types:channel.broadcastFlow("test").collect { when(it.payload) { is BroadcastPayload.Binary -> println(it.payload.data.decodeToString()) is BroadcastPayload.Json -> println(it.payload.value) } }
New method to broadcast messages (the old ones are using this in the implementation if not connected)':
channel.httpSend("myEvent", BroadcastPayload.Binary(byteArrayOf(1,2,3)))
-
Implement deferred disconnect after removing last channel by @jan-tennert in #1276
-
docs(realtime): clarify that maxAttempts governs channel rejoin attempts by @PierreVieira in #1331
-
fix(realtime): log transient websocket reconnects at WARN instead of ERROR by @PierreVieira in #1329
Postgrest
Storage
- test(storage): add download-as-flow tests by @Ehsanul-Hoque in #1317
New Contributors
- @cmelchior made their first contribution in #1296
- @Ehsanul-Hoque made their first contribution in #1317
- @PierreVieira made their first contribution in #1331