AndroidX DataStore 1.1.0-alpha02

1.1.0-alpha02
Added 5
  • DataStore can now be used in Kotlin Multiplatform (KMM) projects
  • A new factory method in androidx.datastore.core.MultiProcessDataStoreFactory creates DataStore instances with Storage objects for file operations
  • A new interface InterProcessCoordinator helps multiple DataStore instances communicate across processes
  • InterProcessCoordinator is added to StorageConnection in datastore-core
  • The @JvmDefaultWithCompatibility annotation is added
Changed 4

1 change to check, marked in the notes below

From AndroidX DataStore

You can now use DataStore in KMM projects. Note that non-Android targets of DataStore are still experimental but we decided to merge versions to make it easier for developers to try them. Multi process features are moved from androidx.datastore.multiprocess to androidx.datastore.core. Add a new factory method in androidx.datastore.core.MultiProcessDataStoreFactory to create DataStore instances with Storage objects for file operations. Add a new interface InterProcessCoordinator that helps multiple DataStore instances communicate across processes. Note that, Multi-Process implementation of InterProcessCoordinator is only available on Android. Add InterProcessCoordinator to StorageConnection in datastore-core interface ( I555bb) Change APIs in datastore-core MultiProcessDataStoreFactory to use Storage. ( Iac02f) Move public APIs in datastore-multiprocess to datastore-core ( I76d7c) Exposed PreferencesSerializer from datastore-preferences-core ( I4b788) Adding @JvmDefaultWithCompatibility annotation ( I8f206) renamed · inferred signature changed · inferred

View original

Upgraded? How did it go?

Discussion