From fae7ca178b7d6233f52c66ace045217ce64de5c4 Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Mon, 14 Oct 2024 12:41:45 +0200 Subject: [PATCH 1/2] chore: release beta 3 --- CHANGELOG.md | 22 ++++++++++++++++++++++ gradle.properties | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d43784b7..aa9c8356 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## 1.0.0-BETA3 + +* Add `waitForFirstSync` function - which resolves after the initial sync is completed +* Upgrade to Kotlin 2.0.20 - should not cause any issues with users who are still on Kotlin 1.9 +* Upgrade to `powerwsync-sqlite-core` to 0.3.0 - adds improvements to the underlying sqlite integration +* Add client sync parameters - which allows you specify sync parameters from the client https://docs.powersync.com/usage/sync-rules/advanced-topics/client-parameters-beta +```kotlin +val params = JsonParam.Map( + mapOf( + "name" to JsonParam.String("John Doe"), + "age" to JsonParam.Number(30), + "isStudent" to JsonParam.Boolean(false) + ) +) + +connect( +... + params = params +) +``` +* Add schema validation when schema is generated + ## 1.0.0-BETA2 * Publish persistence package diff --git a/gradle.properties b/gradle.properties index 8ef7da7d..27d0899c 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-BETA2 +LIBRARY_VERSION=1.0.0-BETA3 GITHUB_REPO=https://github.com/powersync-ja/powersync-kotlin.git # POM POM_URL=https://github.com/powersync-ja/powersync-kotlin/ From 5a5d5eed358f95faba8ecf214bd236286c2ed14d Mon Sep 17 00:00:00 2001 From: Dominic Gunther Bauer <46312751+DominicGBauer@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:44:24 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Ralf Kistner --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa9c8356..960b9c7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ * Add `waitForFirstSync` function - which resolves after the initial sync is completed * Upgrade to Kotlin 2.0.20 - should not cause any issues with users who are still on Kotlin 1.9 -* Upgrade to `powerwsync-sqlite-core` to 0.3.0 - adds improvements to the underlying sqlite integration +* Upgrade `powersync-sqlite-core` to 0.3.0 - improves incremental sync performance * Add client sync parameters - which allows you specify sync parameters from the client https://docs.powersync.com/usage/sync-rules/advanced-topics/client-parameters-beta ```kotlin val params = JsonParam.Map(