Skip to content

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 10:39
· 8 commits to main since this release
88204e7
  • 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