Releases: powersync-ja/powersync-kotlin
Releases · powersync-ja/powersync-kotlin
v1.6.1
v1.6.0
- Remove internal SQLDelight and SQLiter dependencies.
- Add
rawConnection
getter toConnectionContext
, which is aSQLiteConnection
instance fromandroidx.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
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.time
APIs where appropriate.
v1.3.0
- 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
v1.2.1
v1.2.0
- 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 toExperimentalPowerSyncAPI
and passing options when
connecting:Switching between the clients can be done at any time without compatibility issues. If you run//@file:OptIn(ExperimentalPowerSyncAPI::class) database.connect(MyConnector(), options = SyncOptions( newClientImplementation = true, ))
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
ofpowersync-sqlite-core
.