Releases: powersync-ja/powersync-kotlin
Releases · powersync-ja/powersync-kotlin
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 toExperimentalPowerSyncAPIand 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.0ofpowersync-sqlite-core.
v1.1.1
- Fix reported progress around compactions / defrags on the sync service.
- [Android] Set
temp_store_directory, avoiding crashes for large materialized views.
1.1.0
1.1.0
- Add
trackPreviousValuesoption onTablewhich setsCrudEntry.previousValuesto previous values on updates. - Add
trackMetadataoption onTablewhich adds a_metadatacolumn that can be used for updates.
The configured metadata is available throughCrudEntry.metadata. - Add
ignoreEmptyUpdatesoption which skips creating CRUD entries for updates that don't change any values.