Skip to content

PowerSync v1.0.0-Beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 30 Jan 14:20
· 18 commits to main since this release
53227f5
  • BREAKING CHANGE: Update underlying powersync-kotlin package to BETA18.0 which requires transactions to become synchronous as opposed to asynchronous.
    try await database.writeTransaction { transaction in
      try await transaction.execute(
        sql: "INSERT INTO users (id, name, email) VALUES (?, ?, ?)",
        parameters: ["1", "Test User", "[email protected]"]
      )
    }
    to
    try await database.writeTransaction { transaction in
      transaction.execute( // <- This has become synchronous
        sql: "INSERT INTO users (id, name, email) VALUES (?, ?, ?)",
        parameters: ["1", "Test User", "[email protected]"]
      )
    }