v1.16.0-rc.1
Pre-release
Pre-release
☢️ 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