Title: Bump org.awaitility:awaitility from 4.0.1 to 4.3.0 by dependabot[bot] · Pull Request #2408 · docker-java/docker-java · GitHub
Open Graph Title: Bump org.awaitility:awaitility from 4.0.1 to 4.3.0 by dependabot[bot] · Pull Request #2408 · docker-java/docker-java
X Title: Bump org.awaitility:awaitility from 4.0.1 to 4.3.0 by dependabot[bot] · Pull Request #2408 · docker-java/docker-java
Description: Bumps org.awaitility:awaitility from 4.0.1 to 4.3.0.
Changelog
Sourced from org.awaitility:awaitility's changelog.
Changelog 4.3.0 (2025-02-21)
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.
Changelog 4.2.2 (2024-08-07)
Support JDK EA builds in JavaVersionDetector (thanks to Oleg Estekhin for pull request)
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:
... (truncated)
Commits
e3ff879 [maven-release-plugin] prepare release awaitility-4.3.0
d116712 [ci skip] Preparing changelog for release
4e186df Added kotlin source folder explicitly
e8d3ab7 Upgraded lots of plugin dependencies
a7a167a Added an overloaded method of untilAsserted(..) that takes a supplier and a c...
ef8f663 Make ConditionFactory safer to use in java 8
5550079 Using a more descriptive error message when using VERY long wait conditions o...
2a9814b Upgraded kotlin version in the awaitility-kotlin module to 2.1.10
8f22c00 [ci skip] Updated changelog.txt to reflect latest changes
6a35c24 #235 Support for kotlin.time.Duration in Kotlin DSL (#285)
Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show
Open Graph Description: Bumps org.awaitility:awaitility from 4.0.1 to 4.3.0. Changelog Sourced from org.awaitility:awaitility's changelog. Changelog 4.3.0 (2025-02-21) Support for kotlin.time.Duration in Kotlin DS...
X Description: Bumps org.awaitility:awaitility from 4.0.1 to 4.3.0. Changelog Sourced from org.awaitility:awaitility's changelog. Changelog 4.3.0 (2025-02-21) Support for kotlin.time.Duration in Kotli...
Opengraph URL: https://github.com/docker-java/docker-java/pull/2408
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2c49b011-7728-96d0-a918-1f58955ce99c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6F0:2D3E98:1BB40C:23A31A:6973FD74 |
| html-safe-nonce | 06ed6925b82dbfb620276686adcfbda819b3907e8c41ee827897cbc3827b13b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkYwOjJEM0U5ODoxQkI0MEM6MjNBMzFBOjY5NzNGRDc0IiwidmlzaXRvcl9pZCI6Ijk3MjE0MDYxMDczMzk5MTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f5e33291811db73b29087ea30263123c8a286895cd0575dab231f660ed6249d5 |
| hovercard-subject-tag | pull_request:2432347426 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/docker-java/docker-java/pull/2408/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps org.awaitility:awaitility from 4.0.1 to 4.3.0. Changelog Sourced from org.awaitility:awaitility's changelog. Changelog 4.3.0 (2025-02-21) Support for kotlin.time.Duration in Kotlin DS... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2e0119fb6c27766bcaf7c7facecf6a01e2e3f46178600e1ae4cd18f39f26d07e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/docker-java/docker-java git https://github.com/docker-java/docker-java.git |
| octolytics-dimension-user_id | 7772003 |
| octolytics-dimension-user_login | docker-java |
| octolytics-dimension-repository_id | 20415251 |
| octolytics-dimension-repository_nwo | docker-java/docker-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20415251 |
| octolytics-dimension-repository_network_root_nwo | docker-java/docker-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 537b85d925713805fbaf32aee83b4c1b4506dd82 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width