Releases: ZenitechSoftware/Krate
Releases · ZenitechSoftware/Krate
2.0.0
🎉 New major release! 🎉
The most important changes:
- Krate now uses chained
withDefault
calls on delegates for setting default values. - Properties no longer require you to provide a key. If no key is provided, the property's name is used instead.
Huge thanks to ivadyistvan for his contributions for these changes.
Some smaller updates:
- The previously deprecated validator functions have now been removed. Use chained method calls for this feature too.
For all changes, see #30
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 aPropertyDelegateProvider
instead 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
1.1.0
- Dependency version updates
- Publishing set updates
See changes here https://github.com/AutSoft/Krate/pull/22/files
1.0.0
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:
- Support for kotlinx.serialization via the
krate-kotlinx
artifact - Simplified validation APIs (see updated README)
0.5.0
0.4.0
Added Moshi support.
0.3.0
What's new:
- Krate is now AndroidX-based
- Lots of version bumps (Kotlin 1.3.50, SDK 29, and more!)