Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Jan 13, 2025
1 parent 9a12cd4 commit ba8c9d0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.0.0-BETA16

* Add `close` method to database methods

## 1.0.0-BETA15

* Update powersync-sqlite-core to 0.3.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import app.cash.sqldelight.coroutines.mapToList
import app.cash.sqldelight.db.QueryResult
import app.cash.sqldelight.db.SqlCursor
import app.cash.sqldelight.db.SqlPreparedStatement
import co.touchlab.kermit.Logger
import com.persistence.PowersyncQueries
import com.powersync.PsSqlDriver
import com.powersync.persistence.PsDatabase
Expand Down Expand Up @@ -189,7 +190,9 @@ internal class InternalDatabaseImpl(

override suspend fun <R> writeTransaction(callback: suspend (PowerSyncTransaction) -> R): R =
transactor.transactionWithResult(noEnclosing = true) {
callback(transaction)
val res = callback(transaction)
Logger.i("writeTransaction completed")
res
}

// Register callback for table updates
Expand Down
18 changes: 18 additions & 0 deletions demos/hello-powersync/iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
7555FF79242A565900829871 /* Resources */,
EF8A45596C10845FBC80C40F /* Frameworks */,
BDEF1F2128374088F98D10FB /* [CP] Embed Pods Frameworks */,
2A09661A10CA625857E1B999 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -162,6 +163,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
2A09661A10CA625857E1B999 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iosApp/Pods-iosApp-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iosApp/Pods-iosApp-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-iosApp/Pods-iosApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
BDEF1F2128374088F98D10FB /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ development=true
RELEASE_SIGNING_ENABLED=true
# Library config
GROUP=com.powersync
LIBRARY_VERSION=1.0.0-BETA15
LIBRARY_VERSION=1.0.0-BETA16
GITHUB_REPO=https://github.com/powersync-ja/powersync-kotlin.git
# POM
POM_URL=https://github.com/powersync-ja/powersync-kotlin/
Expand Down

0 comments on commit ba8c9d0

Please sign in to comment.