Sourced from org.awaitility:awaitility's changelog.
Changelog 4.2.1 (2024-03-15)
Upgraded Kotlin to 1.9.22
Added extension properties forever, then, and, given to the Kotlin extension. This allows you to do e.g.:
await.forever until { .. }
Added shortcut for enabling logging. Before you had to do e.g.
await() .with() .conditionEvaluationListener(new ConditionEvaluationLogger(log::info)) .pollInterval(ONE_HUNDRED_MILLISECONDS) .until(logs::size, is(4));
You can now instead use the "logging" shortcut:
await() .with() .logging(log::info) .pollInterval(ONE_HUNDRED_MILLISECONDS) .until(logs::size, is(4));
or simply ".logging()" for "System.out".
This shortcut has also been added globally:
Awaitility.setLogging(log::info);
or
Awaitility.setDefaultLogging();
Improved lambda detection for Java 17 and Java 21
Upgraded Groovy to 4.0.19
ff13b72
[maven-release-plugin] prepare release awaitility-4.2.1f80c299
[ci skip] Preparing changelog for release4be5236
[ci skip] Fixed typo in changeloge15b975
Fixed failing tests7f7656e
Adding 17 and 21 to tests32eafb6
Improved lambda detection and upgraded groovy/scala8012936
Trying to fix failing testb01855d
Revert "Added java 21 tests"0e7dff0
Revert "Revert "Use Duration factories in Durations.java (#268)""97076a9
Added java 21 tests