Skip to content

v0.5.0

Compare
Choose a tag to compare
@47erbot 47erbot released this 04 Feb 20:26
58d254f

What's changed

This release includes a significant Arbitrary behavior change, as well as a couple new features.

Previously, the Arbitrary[ZonedDateTime] provided would would not normalize your generated values if you specified an implicit granularity. This has been fixed, and in line with the rest of the Arbitrary values provided.

In addition, you can now implicitly specify a "realistic range" of years to generate for your date-time values via YearRange, and have greater control over generated durations with genDurationOf.
By default your year range is a safe subset of java.time and org.joda.time values, but you can specify any other range of years in order to avoid weird extremities at the edges of supported times.

For more information, see the docs on the microsite.

⚠️ Breaking changes

  • Fix normalizing ZonedDateTime with granularity (#213) @sloshy

🚀 Features

  • Add YearRange and genDurationOf, harden tests slightly (#215) @sloshy

📈 Dependency updates

Contributors to this release

@47erbot, @BenFradet, @juanpedromoreno and @sloshy