Skip to content

Releases: serpro69/kotlin-faker

v1.9.0

19 Nov 19:28
Compare
Choose a tag to compare

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

03 Oct 17:24
Compare
Choose a tag to compare

Added

  • #67 [core] Access to RandomService through Faker for generating random Int, Double, Float, etc.
  • #77 [core] Extra functionality to RandomService - nextEnum(), nextUUID(), nextLong(bound) functions.
  • #69 [core] Passing seed directly to FakerConfig instead of through java.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 with RandomService#nextString

Fixed

  • #65 [core] Could not initialize class io.github.serpro69.kfaker.Mapper with SpringBoot 2.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

22 May 19:06
Compare
Choose a tag to compare
v1.8.0-rc.0 Pre-release
Pre-release

v1.7.1

28 Apr 11:49
Compare
Choose a tag to compare

Fixed

#45 [core] Parameter 'city_name' not found in 'address'

v1.7.0

16 Apr 06:18
Compare
Choose a tag to compare

Added

  • [#59] [core] Random money amount
  • [#62] [core] Add nullable types to random provider type generator

v1.7.0-rc.1

13 Mar 18:33
b929fee
Compare
Choose a tag to compare
v1.7.0-rc.1 Pre-release
Pre-release

v1.7.0-rc.0

27 Feb 10:51
Compare
Choose a tag to compare
v1.7.0-rc.0 Pre-release
Pre-release

v1.6.0

30 Dec 20:59
Compare
Choose a tag to compare

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

24 Dec 19:28
Compare
Choose a tag to compare
v1.6.0-rc.3 Pre-release
Pre-release

Fixed

  • #26 [core] Parameter '4' not found in 'vehicle' category
  • #45 [core] Parameter 'city_name' not found in 'address' for 'lv' locale
  • #56 [core] Values with single '?' char are not always letterified

v1.6.0-rc.2

20 Dec 19:15
Compare
Choose a tag to compare
v1.6.0-rc.2 Pre-release
Pre-release

Added

  • #46 [core] Support deterministic constructor selection for randomClassInstance