Skip to content

Releases: ZenitechSoftware/Krate

2.0.0

24 Nov 16:49
7d91494
Compare
Choose a tag to compare

🎉 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

21 Sep 20:48
f36966d
Compare
Choose a tag to compare

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 a PropertyDelegateProvider instead of a ReadWriteProperty. Use site source code remains identical, delegate properties to these functions using by.
  • 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

08 Jul 19:23
940d2a1
Compare
Choose a tag to compare
  • Dependency version updates
  • Publishing set updates

See changes here https://github.com/AutSoft/Krate/pull/22/files

1.0.0

29 Nov 20:52
05d8774
Compare
Choose a tag to compare

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

30 Oct 20:15
f91a286
Compare
Choose a tag to compare

Updated 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 #13

0.4.0

23 Oct 18:00
Compare
Choose a tag to compare

Added Moshi support.

0.3.0

24 Sep 05:05
Compare
Choose a tag to compare

What's new:

  • Krate is now AndroidX-based
  • Lots of version bumps (Kotlin 1.3.50, SDK 29, and more!)