diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a46749b..79b5d4fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.0.0-BETA15 + +* Update powersync-sqlite-core to 0.3.8 +* Increase maximum amount of columns from 63 to 1999 + ## 1.0.0-BETA14 * Add JVM compatibility diff --git a/core/src/commonMain/kotlin/com/powersync/db/schema/Table.kt b/core/src/commonMain/kotlin/com/powersync/db/schema/Table.kt index 4ecc522d..016879f4 100644 --- a/core/src/commonMain/kotlin/com/powersync/db/schema/Table.kt +++ b/core/src/commonMain/kotlin/com/powersync/db/schema/Table.kt @@ -2,7 +2,7 @@ package com.powersync.db.schema import kotlinx.serialization.Serializable -private const val MAX_AMOUNT_OF_COLUMNS = 63 +private const val MAX_AMOUNT_OF_COLUMNS = 1999 /** * A single table in the schema. diff --git a/core/src/commonTest/kotlin/com/powersync/db/schema/TableTest.kt b/core/src/commonTest/kotlin/com/powersync/db/schema/TableTest.kt index df9b01f2..c2040f57 100644 --- a/core/src/commonTest/kotlin/com/powersync/db/schema/TableTest.kt +++ b/core/src/commonTest/kotlin/com/powersync/db/schema/TableTest.kt @@ -119,14 +119,14 @@ class TableTest { @Test fun testValidationFailsTooManyColumns() { - val columns = List(64) { Column("column$it", ColumnType.TEXT) } + val columns = List(2000) { Column("column$it", ColumnType.TEXT) } val table = Table("users", columns) val exception = assertFailsWith { table.validate() } - assertEquals(exception.message, "Table users has more than 63 columns, which is not supported") + assertEquals(exception.message, "Table users has more than 1999 columns, which is not supported") } @Test diff --git a/demos/supabase-todolist/shared/build.gradle.kts b/demos/supabase-todolist/shared/build.gradle.kts index ca48101f..26fe55b9 100644 --- a/demos/supabase-todolist/shared/build.gradle.kts +++ b/demos/supabase-todolist/shared/build.gradle.kts @@ -27,7 +27,7 @@ kotlin { ios.deploymentTarget = "14.1" podfile = project.file("../iosApp/Podfile") pod("powersync-sqlite-core") { - version = "0.3.6" + version = "0.3.8" linkOnly = true } diff --git a/gradle.properties b/gradle.properties index d11eaedc..65452f48 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ development=true RELEASE_SIGNING_ENABLED=true # Library config GROUP=com.powersync -LIBRARY_VERSION=1.0.0-BETA14 +LIBRARY_VERSION=1.0.0-BETA15 GITHUB_REPO=https://github.com/powersync-ja/powersync-kotlin.git # POM POM_URL=https://github.com/powersync-ja/powersync-kotlin/ diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index bba9df57..d3bb5953 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -15,7 +15,7 @@ kotlinx-datetime = "0.5.0" kotlinx-io = "0.5.4" ktor = "3.0.1" uuid = "0.8.2" -powersync-core = "0.3.6" +powersync-core = "0.3.8" sqlite-android = "3.45.0" sqlite-jdbc = "3.45.2.0"