Releases: utwyko/KMinRandom
Releases · utwyko/KMinRandom
v1.0.4 - JVM 8+ compatability
v1.0.3 - Fix reified minRandomCached not using cache
- Fix reified
minRandomCached
method not using cache (thanks @smuldr). - Update Kotlin from
1.3.70
to1.4.21
.
v1.0.2
v0.0.10 - Support for objects/supplying custom values
- Add support for Kotlin
object
, including Sealed Classes that are implemented byobject
s. - Add support for providing your own random instances by supplying them to KMinRandom through
KMinRandom.supplyValueForClass()
.
v0.0.9
v0.0.8 - Kotlin 1.3, Sealed classes
- 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.