Releases: serpro69/kotlin-faker
Releases · serpro69/kotlin-faker
v1.9.0
Added
- #103 [core] Add support for Collection types in RandomProvider#randomClassInstance
- #96 [core] Add randomSubset and randomSublist to RandomService
- #92 [core] Add randomString function to RandomService
- #86 [core] Generate birth-date based on the age
Changed
- #108 Update kotlin to 1.6.0
- #100 [core] Add deprecation warning for RandomService#nextString since it's going to be replaced with RandomService#randomString
- #97 [core] Change RandomService#nextString to generate strings only within given locale
Fixed
- #104 [core] RandomProvider#randomClassInstance : 'No suitable constructor found' for primitive classes
v1.8.0
Added
- #67 [core] Access to
RandomService
throughFaker
for generating randomInt
,Double
,Float
, etc. - #77 [core] Extra functionality to
RandomService
-nextEnum()
,nextUUID()
,nextLong(bound)
functions. - #69 [core] Passing
seed
directly toFakerConfig
instead of throughjava.util.Random
instance - #71 [core] DSL for creating and configuring
Faker
- #78 [core] Support sealed classes in
RandomProvider#randomClassInstance
fun - #88] [core] Postpone initialization of FakerConfig through the Builder
Changed
- Configurable
length
of the string generated withRandomService#nextString
Fixed
- #65 [core] Could not initialize class
io.github.serpro69.kfaker.Mapper
with SpringBoot2.4.x
- #60 [core] Move out of Bintray/Jcenter
- #79 [core] java.lang.NoClassDefFoundError: org/yaml/snakeyaml/error/YAMLException
- #81 [core]
RandomProvider#randomClassInstance
fails for object types - #90 [core] Android
java.lang.NoClassDefFoundError: FakerService$$ExternalSyntheticLambda1
- #87 [core] Parameter 'city_root' not found in 'address' category
- #89 [core] Parameter 'male_last_name' not found in 'name' category for "ru" locale
v1.8.0-rc.0
v1.7.1
v1.7.0
v1.7.0-rc.1
v1.7.0-rc.0
v1.6.0
Added
- #44 [core] Add support for random instance configuration.
- #47 [core] Publish release candidates to bintray
- #49 [core] Unique values exclusions with wildcards
- #46 [core] Support deterministic constructor selection for randomClassInstance
Fixed
- #26 [core] Parameter '4' not found in 'vehicle' category
- #48 [core] streetFighter#moves: class java.util.LinkedHashMap cannot be cast to class java.lang.String
- #50 [core] Horseman spelt wrong
- #56 [core] Values with single '?' char are not always letterified
Changed
- #49 [core] Configuration for generation of unique values. Old functionality is deprecated and will be removed in future releases.
v1.6.0-rc.3
v1.6.0-rc.2
Added
- #46 [core] Support deterministic constructor selection for randomClassInstance