Skip to content

Releases: utwyko/KMinRandom

v1.0.4 - JVM 8+ compatability

25 Feb 14:14
Compare
Choose a tag to compare
  • Properly target JVM 8+ compat (thanks @smuldr).
  • Update Kotlin from 1.4.21 to 1.4.31.

v1.0.3 - Fix reified minRandomCached not using cache

01 Jan 10:53
Compare
Choose a tag to compare
  • Fix reified minRandomCached method not using cache (thanks @smuldr).
  • Update Kotlin from 1.3.70 to 1.4.21.

v1.0.2

15 Mar 12:42
Compare
Choose a tag to compare
  • Use @OptIn flag instead of deprecated @UseExperimental flag for reified syntax.
  • Update Kotlin from 1.3.50 to 1.3.70.

v0.0.10 - Support for objects/supplying custom values

24 Apr 18:18
Compare
Choose a tag to compare
  • Add support for Kotlin object, including Sealed Classes that are implemented by objects.
  • Add support for providing your own random instances by supplying them to KMinRandom through KMinRandom.supplyValueForClass().

v0.0.9

17 Dec 17:59
Compare
Choose a tag to compare
  • Add support for java.net.URL and java.net.URI.

v0.0.8 - Kotlin 1.3, Sealed classes

02 Dec 20:06
Compare
Choose a tag to compare
  • Upgrade to Kotlin 1.3, use Kotlin 1.3 Random implementation where possible
  • Added the ability to generate a random instance of a sealed class. A random subclass of the sealed class will be chosen and randomized.

0.0.7

10 Jun 19:05
Compare
Choose a tag to compare
  • Add new minRandomCached() method that fetches an already cached generated instance from a cache if possible.
  • Throw descriptive exception when trying to generate random sealed class instance.

0.0.6

02 May 05:52
Compare
Choose a tag to compare
  • Fix direct random generation of Enum