Releases: serpro69/kotlin-faker
Releases · serpro69/kotlin-faker
v1.16.0-rc.1
☢️ Breaking Change
- #213 [core] Add support for unique data generation to
Faker#random
This change should not potentially break in many cases, however it can still happen in the following situations:- The type of
Faker#random
has changed, and in cases where it was explicitly declared asRandomService
it needs to be changed toRandomProvider
Faker#random#nextEnum(excludeName: String)
now takes a vararg of strings and hence if the function was called with a named parameter - compilation will fail.
- The type of
🚀 Added
- #208 [core] Allow
StringProvider#regexify
to take Regex as input - #202 [core] Allow
randomClassInstance
to directly use predefined generators
🐞 Fixed
- #205 [core] Fix
Person.birthDate
range error during leap year @JoaoSouMoreira - #204 [core] Fix
RandomClassProvider
handling "constructor-less" types in collections
v1.15.0
Added
-
#195 [core] Update dictionary files, including:
- Data and functions in existing data providers, including new functions:
Faker().company.department()
Faker().dnd.name…
Faker().internet.safeDomainSuffix()
Faker().southPark.episodes()
- Updates to existing localized dictionaries
- Data and functions in existing data providers, including new functions:
-
#197 [cli] Render sub-providers functions in cli output
-
#200 [core] Add new data providers:
archer
final_fantasy_xiv
mitch_hedberg
train_station
Changed
- #197 [cli] Change cli lookup command to return matching providers by name
Fixed
- #188 [core] Fix postcode for en-GB locale @efenderbosch-atg
- #193 [core] Fix localized postcodes with regex patterns @cosmin-marginean
Other
v1.15.0-rc.2
Added
-
#195 [core] Update dictionary files, including:
- Data and functions in existing data providers, including new functions:
Faker().company.department()
Faker().dnd.name…
Faker().internet.safeDomainSuffix()
Faker().southPark.episodes()
- Updates to existing localized dictionaries
- Data and functions in existing data providers, including new functions:
-
#197 [cli] Render sub-providers functions in cli output
Changed
- #197 [cli] Change cli lookup command to return matching providers by name
v1.15.0-rc.1
Fixed
- #188 [core] Fix postcode for en-GB locale @efenderbosch-atg
- #193 [core] Fix localized postcodes with regex patterns @cosmin-marginean
Other
v1.14.0
Added
- #179 [core] Add parameter info context to user defined generators @urosjarc
- #176, #182, #183, [core] Update dictionary files, including:
- Data and functions in existing data providers
Faker().food.allergens()
- Updates to existing localized dictionaries
New Data Providers
- airport
- avatar
- chess
- cowboy_bebop
- spongebob
Other
- #181 [core] Add context to exception when randomClassInstance fails
v1.14.0-rc.2
v1.14.0-rc.1
v1.14.0-rc.0
Added
- #176 [core] Update dictionary files, including:
- Data and functions in existing data providers
- Updates to existing localized dictionaries
New Data Providers
- airport
- cowboy_bebop
- spongebob
v1.13.0
Added
- #164 Add possibility to configure RandomClassProvider on higher levels
- #165 Add copy and new functions to RandomClassProvider
Changed
- #159 Change format of dictionary files from yml to json
Fixed
- #161 Fix empty lists as parameter values
- #171 Fix locale fallback
- #173 Fix phoneNumber generation for en-US locale
Other
- #168 Reduce faker’s shadowed jar size
v1.13.0-rc.4
Fixed
- #173 Fix phoneNumber generation for en-US locale