v1.1.1-beta01
Pre-releaseCaution
Preferences DataStore is broken in this version. Please, use v1.1.1-beta02 instead
DataStore 1.1.0+
Note
Ensure that the version of this library aligns with the DataStore library version used in your project.
This version should only be used with datastore:1.1.1
, as it depends on new APIs introduced in that release.
Starting with version 1.1.0, DataStore has become a multiplatform library.
However, encrypted datastore is currently limited to JVM and Android targets due to dependencies on JVM-specific libraries like Tink and security-crypto
.
I am actively exploring ways to add support for more targets to the library.
The research will take some time, so I've released a beta version compatible with DataStore 1.1.0 for developers not requiring multiplatform targets support.
Changes
- Potentially breaking change: The field
io.github.osipxd.datastore.encrypted.PreferencesSerializer
has been hidden from the public API.
Instead, directly use the objectPreferencesSerializer
, which is now publicly available starting with thedatastore:1.1.0
release. - Added the
@RestrictTo(LIBRARY_GROUP)
annotation to public members that are intended for internal use only, ensuring they are not used externally.
Housekeeping
- Added a binary compatibility validator to prevent unintentional breaks in binary compatibility
Full Changelog: v1.0.0...v1.1.1-beta01