1.1.0-alpha01
Added 4
- Support multi-process use cases where data consistency is guaranteed among DataStore instances across processes
- Add MultiProcessDataStoreFactory#create to create DataStore instances that support multi-process use
- New Storage interface which allows the underlying storage mechanism for DataStore to be switched out, with implementations for java.io and okio
- DataStore factories have new methods which accept a Storage object
Changed 3
- Change APIs in datastore-core MultiProcessDataStoreFactory to use Storage
- Move public APIs in datastore-multiprocess to datastore-core
- Expose PreferencesSerializer from datastore-preferences-core
From AndroidX DataStore
Support multi-process use cases where data consistency is guaranteed among DataStore instances across processes. Add MultiProcessDataStoreFactory#create to create such DataStore instances. New Storage interface which allows the underlying storage mechanism for Datastore to be switched out. Implementations for java.io and okio are provided. DataStore factories have new methods which accept this Storage object. 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)