Skip to content

Releases: serpro69/kotlin-faker

v1.13.0-rc.1

05 Nov 19:13
Compare
Choose a tag to compare
v1.13.0-rc.1 Pre-release
Pre-release

Added

  • #164 Add possibility to configure RandomClassProvider on higher levels
  • #165 Add copy and new functions to RandomClassProvider

v1.13.0-rc.0

30 Oct 19:22
Compare
Choose a tag to compare
v1.13.0-rc.0 Pre-release
Pre-release

Changed

#159 Change format of dictionary files from yml to json

Fixed

#161 Fix empty lists as parameter values

v1.12.0

16 Oct 19:14
Compare
Choose a tag to compare

Added

  • #134 Overload RandomService#randomSublist and RandomService#randomSubset with sizeRange parameter
  • #144 Add index and punctuation chars support to RandomService#randomString
  • #154 New CryptographyProvider for generating random sha sums
  • #155 [core] Update dictionary files, including:
    • Data and functions in existing data providers
    • Updates to existing localized dictionaries
    • New Data Providers:
      • hackers
      • mountaineering
      • sport
      • tarkov

Changed

  • #135 Initialize Faker data providers lazily

Fixed

  • #136 Parameter 'streets' not found in 'ADDRESS' category
  • #137 Parameter 'category' not found in 'COMPANY' category for 'ja' locale
  • #138 Parameter 'zip_code' not found in 'ADDRESS' category for 'fr' locale
  • #140 Fix NPE when generating CurrencySymbol with non 'en' locale
  • #142 Fix unique localized category keys missing from dictionary
  • #146 Fix RandomService#randomString for some eng-lang locales
  • #148 Fix StarWars quotes by character (thanks @TZanke )

Docs

  • #130 Document how to add new data providers

v1.12.0-rc.2

11 Aug 14:28
Compare
Choose a tag to compare
v1.12.0-rc.2 Pre-release
Pre-release

Fixed

  • #151 Application crash. Regex syntax error

v1.12.0-rc.1

11 Aug 09:00
Compare
Choose a tag to compare
v1.12.0-rc.1 Pre-release
Pre-release

Changed

  • kotlin updated to 1.7.10

Fixed

  • #150 fix StarWars quotes by character not working (@TZanke )
  • #153 Exclude incorrect 'module-info.class' from core lib jar

v1.12.0-rc.0

11 Jul 16:37
Compare
Choose a tag to compare
v1.12.0-rc.0 Pre-release
Pre-release

Added

  • #134 Overload RandomService#randomSublist and RandomService#randomSubset with sizeRange parameter
  • #144 Add index and punctuation chars support to RandomService#randomString

Changed

  • #135 Initialize Faker data providers lazily

Fixed

  • #140 Fix NPE when generating CurrencySymbol with non 'en' locale
  • #142 Fix unique localized category keys missing from dictionary
  • #136 Parameter 'streets' not found in 'ADDRESS' category
  • #137 Parameter 'category' not found in 'COMPANY' category for 'ja' locale
  • #146 Fix RandomService#randomString for some eng-lang locales

Docs

  • #130 Document how to add new data providers

v1.11.0

22 May 14:59
Compare
Choose a tag to compare

Added

  • #122 [core] Add (unique) numerify, letterify, bothify and regexify functions through StringProvider

  • #129 [core] Update dictionary files, including:

    • New data and functions in existing data providers

    • New data providers:

      • adjective
      • australia
      • bible
      • bird
      • brooklynNineNine
      • camera
      • clashOfClans
      • conan
      • doraemon
      • emotion
      • finalSpace
      • fmaBrotherhood
      • hobby
      • howToTrainYourDragon
      • jackHandey
      • kamenRIder
      • mountain
      • naruto
      • room
      • studioGhibli
      • superMario
      • supernatural
      • tea
      • theKingkillerChronicle
      • theOffice
      • tolkien
      • touhou
      • tron
      • volleyball

    • Updates to existing localized dictionaries
      • Especially notable for fr and ja locales as they now, similarly to en locale, contain multiple dict files per locale
    • New localized dictionaries for es-AR, lt and mi-NZ locales

Changed

  • Some functions will now accept enum-typed parameters instead of strings
  • Add deprecation warnings to some functions due to upstream changes in yml dict files

Fixed

  • #125 [core] Generating postcode with locale "nl" gives back expression rather than result

v1.10.0

20 Feb 11:23
Compare
Choose a tag to compare

Added

  • #115 [core] Add Crossfit® provider to Faker
  • #117 [core] Add namedParameterGenerator for RandomProvider#randomClassInstance
  • #118 [core] Add support for chained parameter expressions in yml dicts
  • #55 [core] Add missing 'Educator' functionality
  • #53 [core] Implement 'Finance' functions

Fixed

  • #54 [core] Incorrect return values for Vehicle#licence_plate(_by_state)

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