Skip to content

Releases: powersync-ja/powersync-kotlin

v1.8.1

28 Oct 09:05

Choose a tag to compare

  • Include common project in API docs in #280
  • Add POM description for :common project in #283

Full Changelog: v1.8.0...v1.8.1

v1.8.0

27 Oct 10:39
88204e7

Choose a tag to compare

  • Refactor SDK (#276): com.powersync:powersync-core has an identical API, but now depends on com.powersync:powersync-common where most logic is implemented.
    • POTENTIALLY BREAKING CHANGE: If you were injecting a DatabaseDriverFactory into Koin or Dagger, note that the PowerSyncDatabase() factory method now takes a more generic PersistentConnectionFactory.
    • If you're using PowerSyncDatabase.inMemory, you explicitly have to import com.powersync.inMemory now.
  • Update the PowerSync core extension to version 0.4.8.
  • Add the soft flag to disconnectAndClear() which keeps an internal copy of synced data in the database, allowing faster re-sync if a compatible token is used in the next connect() call.
  • Add the clear parameter to RawTable to run a statement helping the core extension clear raw tables.
  • Swift Driver Additions in #262

Full Changelog: v1.7.0...v1.8.0

v1.7.0

02 Oct 09:38
ee9984a

Choose a tag to compare

What's Changed

  • Sync streams in #257
  • Add PowerSyncDatabase.inMemory() constructor for in-memory databases (useful for tests) in #273
  • Allow customizing error handling for the Supabase connector #274

Full Changelog: v1.6.1...v1.7.0

v1.6.1

20 Sep 09:54
a159bb9

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

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

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

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

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

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

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.