From 606aa78f540d7c7539aa13f4af9e01c01929ecf0 Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Mon, 3 Feb 2025 17:04:08 +0200 Subject: [PATCH 1/3] chore: update version to BETA 19 --- CHANGELOG.md | 5 +++++ gradle.properties | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2d5b92f..4c7c988c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.0.0-BETA19 + +* Allow cursor to columns by name +* POTENTIAL BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom mapper then you must now change to SqlCursor exported by the PowerSyncSqlDelight module. + ## 1.0.0-BETA18 * BREAKING CHANGE: Move from async sqldelight calls to synchronous calls. This will only affect `readTransaction` and `writeTransaction`where the callback function is no longer asynchronous. diff --git a/gradle.properties b/gradle.properties index 2c992a90..648ca296 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-BETA18 +LIBRARY_VERSION=1.0.0-BETA19 GITHUB_REPO=https://github.com/powersync-ja/powersync-kotlin.git # POM POM_URL=https://github.com/powersync-ja/powersync-kotlin/ From 8cd0bd2145bd05dcea2cac385dff1f6fa53eb143 Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Mon, 3 Feb 2025 18:17:28 +0200 Subject: [PATCH 2/3] chore: add example of change --- CHANGELOG.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c7c988c..f3f20af4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,22 @@ ## 1.0.0-BETA19 -* Allow cursor to columns by name -* POTENTIAL BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom mapper then you must now change to SqlCursor exported by the PowerSyncSqlDelight module. +* Allow cursor to columns by name +* POTENTIAL BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom mapper then you must now change to `SqlCursor` exported by the PowerSync module. + + Previously you would import it like this: + + ```kotlin + import app.cash.sqldelight.db.SqlCursor + ``` + + now it has been changed to: + + ```kotlin + import com.powersync.db.SqlCursor + ``` + + ## 1.0.0-BETA18 From dbacfd74103f4d4e87a8c0bec41917945c5dadac Mon Sep 17 00:00:00 2001 From: DominicGBauer Date: Tue, 4 Feb 2025 09:37:37 +0200 Subject: [PATCH 3/3] chore: remove potential --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3f20af4..4b3cd17c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 1.0.0-BETA19 * Allow cursor to columns by name -* POTENTIAL BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom mapper then you must now change to `SqlCursor` exported by the PowerSync module. +* BREAKING CHANGE: If you were using `SqlCursor` from SqlDelight previously for your own custom mapper then you must now change to `SqlCursor` exported by the PowerSync module. Previously you would import it like this: