Repository navigation
1.2.0
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.
- Fixed Kotlinx-based delegates custom Json instances being set.
- Serializing Krate functions (
moshiPref,kotlinxPref,gsonPref) now return aPropertyDelegateProviderinstead of aReadWriteProperty. Use site source code remains identical, delegate properties to these functions usingby. - Old, two-parameter validation methods are now deprecated with an error. Please use a chained
validate {}call after a regular delegate function instead. - Delegates now fetch and store their adapter/serializer immediately when they are created.
- Updated Kotlin version to 1.5.31
- Compile and target SDK 31
For all changes, see #24