- Added sessionStorage support via WebSessionStorage for temporary data persistence within a single browser tab
- Added localStorage support via WebLocalStorage with cross-tab event notifications and synchronization
- Added Origin Private File System support via WebOpfsStorage featuring asynchronous file I/O and cross-tab notifications
- Added the androidx.datastore:datastore-tink artifact providing encryption support using the Tink library
- Added AeadSerializer to encrypt and decrypt data using Authenticated Encryption with Associated Data (AEAD)
- Added support for androidx.tracing on the Android target platform
- Introduced DataStore.Builder<T> as a modern, scalable alternative to DataStoreFactory that requires a CoroutineContext instead of a CoroutineScope
- Added baseline profiles to datastore for enhanced startup performance
- Made the DataStore.Builder, ReThrowCorruptionHandler and InterProcessCoordinator APIs public
- Added underlying file path information to CorruptionException messages to improve debuggability during parsing failures
- Corrected potential data loss in GuavaDataStore by enforcing strict First-In-First-Out ordering for updates
From AndroidX DataStore
Web Storage Support: Introduced KMP web storage options, enabling flexible data persistence across web targets: sessionStorage (WebSessionStorage): Allows temporary data persistence within a single browser tab. localStorage (WebLocalStorage): Enables persistent storage with cross-tab event notifications and synchronization. Origin Private File System (WebOpfsStorage): Provides file-system support via OPFS, featuring asynchronous file I/O and cross-tab notifications. Encryption Support (datastore-tink): Added the new androidx.datastore:datastore-tink artifact, which provides encryption support using the Tink library. It introduces AeadSerializer to encrypt and decrypt data using Authenticated Encryption with Associated Data (AEAD). Tracing Support: Added support for androidx.tracing on the Android target platform. DataStore.Builder API: Introduced DataStore.Builder as the modern, scalable alternative to DataStoreFactory. It requires a CoroutineContext instead of a CoroutineScope for improved structured concurrency. Baseline Profiles: Added baseline profiles to datastore for enhanced startup performance. DataStore.Builder, ReThrowCorruptionHandler and InterProcessCoordinator APIs have been updated to public. Added underlying file path information to CorruptionException messages to improve debuggability during parsing failures. Corrected potential data loss in GuavaDataStore by enforcing strict First-In-First-Out (FIFO) ordering for updates.