Major Changes
- #495: Upgrade minimum Java version to 17.
- #501: Rename
easy-random-coretoeasy-random. - #499: Remove the Bean Validation API module.
- #500: Merge
easy-random-randomizersinto the core module.
Features
- #397: Add support to generate random Java records.
- #458: Add
CharSequenceRandomizerand relocateStringRandomizer. - #516: Allow user-defined randomizers to be ordered through custom registries.
Enhancements
- #468: Log a warning when field population is skipped.
Bug fixes
- #448: Fix incorrect propagation of
@Sizeconstraints to generated collection items. - #519: BigDecimalRangeRandomizer constructor bug
- #493: Make BeanValidationAnnotationHandler public
- #485: Incorrect assertion in
EasyRandomParameters#setRandomizerProvider - #486: Fix constructor parameters in BigDecimalRangeRandomizer
- #483: Fix
LocalDate.MAXhandling in date range randomizers. - #473: ensure EnumRandomizer can be used deterministically.
- #464: Use getters instead of reflection when retrieving field values.
- #489: Prevent
EnumSetRandomizerfrom throwingCollection is empty. - #496: Fix generation of records with record component types.
- #507: Fix inclusive upper bounds for time randomizers.
- #522: Fix JDK-specific reflection behavior.
- #441: Fix generic field type resolution for nested inherited fields.
- #443: Fix generic type resolution across intermediate types in an inheritance hierarchy.
- #480: BigDecimalRangeRandomizer does not generate values with configured scale.
Contributors
Thanks to the GitHub contributors who contributed to this release:
@Pankraz76, @murdos, @lowcasz, @astubbs, @shalak, @lewocki, @lexakimov, @OguzhanKazak, @npepinpe and @alexey-ivanov-official