Releases: serpro69/kotlin-faker
Releases · serpro69/kotlin-faker
v1.13.0-rc.1
v1.13.0-rc.0
v1.12.0
Added
- #134 Overload
RandomService#randomSublist
andRandomService#randomSubset
withsizeRange
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
Fixed
- #151 Application crash. Regex syntax error
v1.12.0-rc.1
v1.12.0-rc.0
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
Added
-
#122 [core] Add (unique)
numerify
,letterify
,bothify
andregexify
functions throughStringProvider
-
#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
andja
locales as they now, similarly toen
locale, contain multiple dict files per locale
- Especially notable for
- New localized dictionaries for
es-AR
,lt
andmi-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
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
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