Skip to content

Commit 6be719f

Browse files
committed
Update changelog
1 parent 7a690b0 commit 6be719f

File tree

4 files changed

+33
-15
lines changed

4 files changed

+33
-15
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
### 3.3.2 - July 18, 2025
4+
5+
### Core
6+
7+
- Update to Ktor `3.2.2`
8+
- Fix [Sketch integration](https://github.com/supabase-community/supabase-kt-plugins/tree/main/SketchIntegration) not correctly publishing
9+
10+
### Postgrest
11+
12+
- improve postgrest error messages by @sproctor in https://github.com/supabase-community/supabase-kt/pull/1006
13+
14+
### Auth
15+
16+
- Fix IMPLICIT OAuth flow on Desktop targets by @jan-tennert in https://github.com/supabase-community/supabase-kt/pull/1005
17+
318
### 3.2.1 - July 14, 2025
419

520
### Core

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For information about supported Kotlin targets, see the corresponding module REA
1111
[![](https://img.shields.io/github/release/supabase-community/supabase-kt?label=stable)](https://github.com/supabase-community/supabase-kt/releases)
1212
[![](https://badgen.net/github/release/supabase-community/supabase-kt?label=prerelease)](https://central.sonatype.com/search?q=io.github.jan.supabase&smo=true)
1313
[![Kotlin](https://img.shields.io/badge/kotlin-2.2.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
14-
[![Ktor](https://img.shields.io/badge/ktor-3.2.0-blue)](https://ktor.io/)
14+
[![Ktor](https://img.shields.io/badge/ktor-3.2.2-blue)](https://ktor.io/)
1515
[![slack](https://img.shields.io/badge/slack-%23supabase--kt-purple.svg?logo=slack)](https://kotlinlang.slack.com/archives/C06QXPC7064)
1616

1717
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/jantennert)
@@ -105,7 +105,7 @@ sourceSets {
105105
**Note:** It is recommended to use the same Ktor version as supabase-kt:
106106

107107
__For 3.0.0 and above:__
108-
[![Ktor](https://img.shields.io/badge/ktor-3.2.0-blue)](https://ktor.io/)
108+
[![Ktor](https://img.shields.io/badge/ktor-3.2.2-blue)](https://ktor.io/)
109109

110110
__For versions below 3.0.0:__
111111
[![Ktor](https://img.shields.io/badge/ktor-2.3.12-blue)](https://ktor.io/)

Realtime/src/commonTest/kotlin/RealtimeExtTest.kt

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import io.github.jan.supabase.realtime.presenceDataFlow
1313
import io.github.jan.supabase.serializer.KotlinXSerializer
1414
import io.github.jan.supabase.testing.pathAfterVersion
1515
import io.ktor.client.engine.mock.respond
16+
import kotlinx.coroutines.launch
1617
import kotlinx.coroutines.test.runTest
1718
import kotlinx.serialization.Serializable
1819
import kotlinx.serialization.json.Json
@@ -79,19 +80,21 @@ class RealtimeExtTest {
7980
filter = filter,
8081
primaryKey = DummyData::key
8182
)
82-
dataFlow.test(FLOW_TIMEOUT) {
83-
assertContentEquals(listOf(DummyData(0, "first")), awaitItem()) //1. Initial data
84-
channel.subscribe(true)
85-
channel.callbackManager.setServerChanges(listOf(PostgresJoinConfig("public", "table", "id=eq.0", "*", 0)))
86-
channel.callbackManager.triggerPostgresChange<PostgresAction.Update>(DummyData(0, "second"), DummyData(0, "first")) //2.
87-
assertContentEquals(listOf(DummyData(0, "second")), awaitItem()) //2.
88-
channel.callbackManager.triggerPostgresChange<PostgresAction.Insert>(DummyData(1, "third"), null) //3.
89-
assertContentEquals(listOf(DummyData(0, "second"), DummyData(1, "third")), awaitItem())//3.
90-
channel.callbackManager.triggerPostgresChange<PostgresAction.Update>(DummyData(0, "fourth"), DummyData(0, "second")) //4.
91-
assertContentEquals(listOf(DummyData(0, "fourth"), DummyData(1, "third")), awaitItem())//4.
92-
channel.callbackManager.triggerPostgresChange<PostgresAction.Delete>(null, DummyData(1)) //5.
93-
assertContentEquals(listOf(DummyData(0, "fourth")), awaitItem()) //5.
83+
launch {
84+
dataFlow.test(FLOW_TIMEOUT) {
85+
assertContentEquals(listOf(DummyData(0, "first")), awaitItem()) //1. Initial data
86+
assertContentEquals(listOf(DummyData(0, "second")), awaitItem()) //2.
87+
assertContentEquals(listOf(DummyData(0, "second"), DummyData(1, "third")), awaitItem())//3.
88+
assertContentEquals(listOf(DummyData(0, "fourth"), DummyData(1, "third")), awaitItem())//4.
89+
assertContentEquals(listOf(DummyData(0, "fourth")), awaitItem()) //5.
90+
}
9491
}
92+
channel.subscribe(true)
93+
channel.callbackManager.setServerChanges(listOf(PostgresJoinConfig("public", "table", "id=eq.0", "*", 0)))
94+
channel.callbackManager.triggerPostgresChange<PostgresAction.Update>(DummyData(0, "second"), DummyData(0, "first")) //2.
95+
channel.callbackManager.triggerPostgresChange<PostgresAction.Insert>(DummyData(1, "third"), null) //3.
96+
channel.callbackManager.triggerPostgresChange<PostgresAction.Update>(DummyData(0, "fourth"), DummyData(0, "second")) //4.
97+
channel.callbackManager.triggerPostgresChange<PostgresAction.Delete>(null, DummyData(1)) //5.
9598
},
9699
mockEngineHandler = {
97100
assertEquals("/table", it.url.pathAfterVersion())

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ org.jetbrains.compose.experimental.jscanvas.enabled=true
1111
org.jetbrains.compose.experimental.wasm.enabled=true
1212
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
1313

14-
supabase-version = 3.2.1
14+
supabase-version = 3.2.2
1515
base-group = io.github.jan-tennert.supabase

0 commit comments

Comments
 (0)