Skip to content

Update dependency org.awaitility:awaitility to v4.3.0#118

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/org.awaitility-awaitility-4.x
Open

Update dependency org.awaitility:awaitility to v4.3.0#118
renovate[bot] wants to merge 1 commit intomainfrom
renovate/org.awaitility-awaitility-4.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 15, 2024

This PR contains the following updates:

Package Change Age Confidence
org.awaitility:awaitility (source) 4.2.04.3.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

awaitility/awaitility (org.awaitility:awaitility)

v4.3.0

  • Support for kotlin.time.Duration in Kotlin DSL (thanks to Ivo Šmíd for PR)

  • Upgraded kotlin version in the awaitility-kotlin module to 2.1.10

  • Using a more descriptive error message when using VERY long wait conditions or poll durations (issue 290)

  • Added an overloaded method of untilAsserted(..) that takes a supplier and a consumer. For example, lets say you have a class like this:
    public class MyClass {
    public String myFunction() {
    // Imagine stuff being executed in asynchronously here and the result of this
    // operation is a string called "my value"
    return "my value"
    }
    }

    // Then in your test you can wait for the "myFunction" to be asserted by a "consumer" that uses
    // assertj to make sure that "myFunction" returns ""my value"
    await().untilAsserted(myClass::myFunction, value -> Assertions.assertThat(value).isEqualTo("my value"));

    This has also been implemented for all atomic, adder, and accumulator methods.

v4.2.2

  • Support JDK EA builds in JavaVersionDetector (thanks to Oleg Estekhin for pull request)

v4.2.1

  • 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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency org.awaitility:awaitility to v4.2.1 Update dependency org.awaitility:awaitility to v4.2.2 Aug 8, 2024
@renovate renovate bot force-pushed the renovate/org.awaitility-awaitility-4.x branch from 204beb5 to f829cc5 Compare August 8, 2024 02:47
@renovate renovate bot force-pushed the renovate/org.awaitility-awaitility-4.x branch from f829cc5 to 87bd114 Compare September 28, 2024 06:38
@renovate renovate bot changed the title Update dependency org.awaitility:awaitility to v4.2.2 Update dependency org.awaitility:awaitility to v4.3.0 Feb 21, 2025
@renovate renovate bot force-pushed the renovate/org.awaitility-awaitility-4.x branch from 87bd114 to ef5f7b2 Compare February 21, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants