Awaitility 4.2.1 is released

7 views
Skip to first unread message

Johan Haleby

unread,
Mar 15, 2024, 11:13:21 AM3/15/24
to await...@googlegroups.com
Awaitility 4.2.1 was just released. Changes are:

* 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

Enjoy!
Reply all
Reply to author
Forward
0 new messages