Skip to content

v3.9.0

Compare
Choose a tag to compare
@fmbenhassine fmbenhassine released this 13 Mar 22:28
· 183 commits to master since this release

This release is a drop in replacement for v3.8.0 and includes the following changes:

Features

  • Issue #6: Add ContextAwareRandomizer interface
  • Issue #322: Add support for regular expressions when specifying a field name
  • Issue #343: Add utility method to adapt a Supplier to a Randomizer
  • Issue #342: Add support for field definition with a predicate. See FieldPredicates
  • Issue #344: Add support for type exclusion with a predicate. See TypePredicates
  • Issue #340: Add parameter ignoreRandomizationErrors to silently ignore randomization errors
  • Issue #332: Add range randomizers for more java.time types

Bug fixes

  • Issue #328: Past/Future annotation cannot be applied to java8 date types
  • Issue #336: ZonedDateTime type is not randomized in the specified date/time range
  • Issue #330: Issue with regexp with both leading and tailing boundary (^ $) matchers

Deprecations

  • Issue #345: Rename method EnhancedRandomBuilder.registerRandomizerRegistry to EnhancedRandomBuilder.randomizerRegistry. The former is deprecated and will be removed in the next major version
  • Issue #342: Deprecate FieldDefinition in favor of predicate combination.

Many thanks to @eric-taix, @kkurczewski, @neetkee, @weronika-redlarska and @PascalSchumacher for their contributions to this release!

❗️ Please note that v3.9.0 is the last release in the v3 line.