Releases: powersync-ja/powersync-kotlin
Releases · powersync-ja/powersync-kotlin
v1.8.1
v1.8.0
- Refactor SDK (#276):
com.powersync:powersync-corehas an identical API, but now depends oncom.powersync:powersync-commonwhere most logic is implemented.- POTENTIALLY BREAKING CHANGE: If you were injecting a
DatabaseDriverFactoryinto Koin or Dagger, note that thePowerSyncDatabase()factory method now takes a more genericPersistentConnectionFactory. - If you're using
PowerSyncDatabase.inMemory, you explicitly have to importcom.powersync.inMemorynow.
- POTENTIALLY BREAKING CHANGE: If you were injecting a
- Update the PowerSync core extension to version 0.4.8.
- Add the
softflag todisconnectAndClear()which keeps an internal copy of synced data in the database, allowing faster re-sync if a compatible token is used in the nextconnect()call. - Add the
clearparameter toRawTableto 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
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
- Fix
dlopen failed: library "libpowersync.so.so" not founderrors on Android.
v1.6.0
- Remove internal SQLDelight and SQLiter dependencies.
- Add
rawConnectiongetter toConnectionContext, which is aSQLiteConnectioninstance fromandroidx.sqlitethat 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-sqldelightmodule providing a SQLDelight driver based on open PowerSync instances. See the readme for details.
v1.5.1
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
v1.4.0
Full Changelog: v1.3.1...v1.4.0
v1.3.1
- 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.timeAPIs where appropriate.
v1.3.0
- Support tables created outside of PowerSync with the
RawTableAPI. For more information, see the documentation. - Fix
runWrappedcatching cancellation exceptions. - Fix errors in
PowerSyncBackendConnector.fetchCredentials()crashing Android apps.