Skip to content

Releases: powersync-ja/powersync-kotlin

v1.6.1

20 Sep 09:54
a159bb9
Compare
Choose a tag to compare
  • Fix dlopen failed: library "libpowersync.so.so" not found errors on Android.

v1.6.0

18 Sep 11:44
0ad3517
Compare
Choose a tag to compare
  • Remove internal SQLDelight and SQLiter dependencies.
  • Add rawConnection getter to ConnectionContext, which is a SQLiteConnection instance from androidx.sqlite that can be used to step through statements in a custom way.
  • Fix an issue where watch() would run queries more often than intended.
  • Add an integration for the Room database library (readme).
  • Add the com.powersync:integration-sqldelight module providing a SQLDelight driver based on open PowerSync instances. See the readme for details.

v1.5.1

05 Sep 17:34
d8b06fa
Compare
Choose a tag to compare

What's Changed

  • Fix issue in legacy sync client where local writes made offline could have their upload delayed
    until a keepalive event was received. This could also cause downloaded updates to be delayed even
    further until all uploads were
    completed in #255
  • [Internal] Update core extension to 0.4.5 in #254

Full Changelog: v1.5.0...v1.5.1

v1.5.0

25 Aug 12:25
Compare
Choose a tag to compare

What's Changed

  • Add flow for crud transactions in #245
  • Fix some logging issues in #242 (thanks, @Radiokot)
  • [Internal] Swift Lock Improvements in #248
  • Fix null values in CRUD entries being reported as strings in #252
  • Prepare 1.5.0 release, update dependencies in #251

Full Changelog: v1.4.0...v1.5.0

v1.4.0

07 Aug 14:02
4311ec1
Compare
Choose a tag to compare
  • HTTP Client Config in #229
  • Typed crud values in #239
  • Update core extension to 0.4.4 in #240

Full Changelog: v1.3.1...v1.4.0

v1.3.1

05 Aug 14:33
Compare
Choose a tag to compare
  • Update SQLite to 3.50.3.
  • Android: Ensure JNI libraries are 16KB-aligned.
  • Support receiving binary sync lines over HTTP when the Rust client is enabled.
  • Remove the experimental websocket transport mode.
  • Update to Kotlin 2.2.0.
  • Migrate to kotlin.time APIs where appropriate.

v1.3.0

17 Jul 08:30
90dff7b
Compare
Choose a tag to compare
  • Support tables created outside of PowerSync with the RawTable API. For more information, see the documentation.
  • Fix runWrapped catching cancellation exceptions.
  • Fix errors in PowerSyncBackendConnector.fetchCredentials() crashing Android apps.

v1.2.2

07 Jul 10:17
fca069d
Compare
Choose a tag to compare
  • fix: Redundant creation of Json format by @fethij in #211
  • Fix crud uploads for websockets

v1.2.1

01 Jul 16:29
4bfaa3b
Compare
Choose a tag to compare

PowerSync Kotlin 1.2.1

  • Supabase connector: Update error handling to capture all 4xx responses by (thanks, @fethij!)
  • Update core extension, platform dependencies
  • watchOS support
  • Rust client: Schedule crud uploads after connecting (fixes #208)

v1.2.0

19 Jun 15:51
Compare
Choose a tag to compare
  • Add a new sync client implementation written in Rust instead of Kotlin. While this client is still
    experimental, we intend to make it the default in the future. The main benefit of this client is
    faster sync performance, but upcoming features will also require this client. We encourage
    interested users to try it out by opting in to ExperimentalPowerSyncAPI and passing options when
    connecting:
    //@file:OptIn(ExperimentalPowerSyncAPI::class)
    database.connect(MyConnector(), options = SyncOptions(
      newClientImplementation = true,
    ))
    Switching between the clients can be done at any time without compatibility issues. If you run
    into issues with the new client, please reach out to us!
  • In addition to HTTP streams, the Kotlin SDK also supports fetching sync instructions from the
    PowerSync service in a binary format. This requires the new sync client, and can then be enabled
    on the sync options:
    //@file:OptIn(ExperimentalPowerSyncAPI::class)
    database.connect(MyConnector(), options = SyncOptions(
      newClientImplementation = true,
      method = ConnectionMethod.WebSocket()
    ))
  • [Android, JVM] Use version 0.4.0 of powersync-sqlite-core.