1.2.0-beta01
Added 2
- Make CorruptionHandler public
- Add an overload for GuavaDataStore.from that takes in an Executor instead of a CoroutineContext
Changed 1
- Use androidx.core.util.Function in GuavaDataStore signature changed · inferred, marked in the notes below
Fixed 2
- Fix java.lang.UnsatisfiedLinkError when using DataStore in an app which is optimized with R8 but which is not using getDefaultProguardFile('android-proguard-optimize.txt')
- Fix issue where GuavaDataStore operations could incorrectly run on the calling thread (e.g., the main thread) instead of the specified IO dispatcher
1 change to check, marked in the notes below
From AndroidX DataStore
API Changes Make CorruptionHandler public. ( I9ac35, b/452406457) Use androidx.core.util.Function in GuavaDataStore. ( I71eae, b/448563999) Add an overload for GuavaDataStore.from that takes in an Executor instead of a CoroutineContext. ( I989fa, b/448563183) Bug Fixes Fix java.lang.UnsatisfiedLinkError when using DataStore in an app which is optimized with R8, but which is not using getDefaultProguardFile('android-proguard-optimize.txt'). ( I27d0d, b/434696293) Fix issue where GuavaDataStore operations could incorrectly run on the calling thread (e.g., the main thread) instead of the specified IO dispatcher. ( Ic91ea, b/441801112) signature changed · inferred