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