Skip to content

Releases: powersync-ja/powersync-swift

PowerSync v1.0.0-Beta.6

13 Feb 08:26
f50f8dd
Compare
Choose a tag to compare
Pre-release
  • BREAKING CHANGE: watch queries are now throwable and therefore will need to be accompanied by a try e.g.
try database.watch()
  • BREAKING CHANGE: transaction functions are now throwable and therefore will need to be accompanied by a try e.g.
try await database.writeTransaction { transaction in
  try transaction.execute(...)
}
  • Allow execute errors to be handled
  • userId is now set to nil by default and therefore it is no longer required to be set to nil when instantiating PowerSyncCredentials and can therefore be left out.

PowerSync v1.0.0-Beta.5

11 Feb 07:06
72dd7e1
Compare
Choose a tag to compare
Pre-release
  • Implement improvements to errors originating in Kotlin so that they can be handled in Swift

  • Improve __fetchCredentialsto log the error but not cause an app crash on error

PowerSync v1.0.0-Beta.4

06 Feb 12:02
566c924
Compare
Choose a tag to compare
Pre-release
  • Allow cursor to use column name to get value by including the following functions that accept a column name parameter: getBoolean,getBooleanOptional,getString,getStringOptional, getLong,getLongOptional, getDouble,getDoubleOptional

  • BREAKING CHANGE: This should not affect anyone but made KotlinPowerSyncCredentials, KotlinPowerSyncDatabase and KotlinPowerSyncBackendConnector as these should never have been public.

PowerSync v1.0.0-Beta.3

30 Jan 14:20
53227f5
Compare
Choose a tag to compare
Pre-release
  • 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]"]
      )
    }

PowerSync v1.0.0-Beta.2

14 Jan 07:29
0d52dc8
Compare
Choose a tag to compare
Pre-release
  • Upgrade PowerSyncSqliteCore to 0.3.8

PowerSync v1.0.0-Beta.1

10 Dec 17:46
3f8a0ca
Compare
Choose a tag to compare
Pre-release

Initial release of SDK