A SharedPreferences wrapper powered by Kotlin delegates
🎉 New major release! 🎉
The most important changes:
withDefault
calls on delegates for setting default values.Huge thanks to ivadyistvan for his contributions for these changes.
Some smaller updates:
For all changes, see https://github.com/AutSoft/Krate/pull/30
This is the last 1.x version of Krate. You can find the old version of the README documenting the APIs of 1.x here.
moshiPref
, kotlinxPref
, gsonPref
) now return a PropertyDelegateProvider
instead of a ReadWriteProperty
. Use site source code remains identical, delegate properties to these functions using by
.validate {}
call after a regular delegate function instead.For all changes, see https://github.com/AutSoft/Krate/pull/24
See changes here https://github.com/AutSoft/Krate/pull/22/files
Krate has been stable for a while, this is a long-awaited bump to 1.0.0
to match it.
This release comes with two new features / changes:
krate-kotlinx
artifactUpdated Kotlin version, cleaned up some internals of the Moshi integration, marked some internal APIs as opt-in so that clients don't build on them accidentally.
For a full list of changes, see https://github.com/AutSoft/Krate/pull/13
Added Moshi support.
What's new: