Repository navigation
Update all patch and minor versions - #9085
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Pull request dashboard statusWaiting on reviewers · refreshed 2026-12-01 03:09 UTC Review the latest changes. Status above doesn't look right?
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9085 +/- ##
============================================
+ Coverage 90.45% 90.52% +0.07%
- Complexity 11235 11243 +8
============================================
Files 1039 1039
Lines 30678 30678
Branches 4015 4015
============================================
+ Hits 27749 27772 +23
+ Misses 1956 1928 -28
- Partials 973 978 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.9.2→9.9.34.3.0→4.4.014.4.0→14.5.01.14.4→1.14.55.14.4→5.14.55.14.4→5.14.55.14.4→5.14.55.14.4→5.14.5Release Notes
gradle/gradle (gradle)
v9.9.3: 9.9.3Compare Source
The Gradle team is excited to announce Gradle 9.9.3.
Here are the highlights of this release:
Read the Release Notes
We would like to thank the following community members for their contributions to this release of Gradle:
Aurimas,
devareddy05,
DragonFSKY,
fru1tworld,
Ivan Khanas,
Jeremy Schoemaker,
John Burns,
Labh R Jethe,
Marcin Mycek,
monkey,
Nelson Osacky,
Roberto Perez Alcolea,
Róbert Papp,
SeungTaek Lim,
Stefan Oehme,
万彬宇,
한의준.
Upgrade instructions
Switch your build to use Gradle 9.9.3 by updating your wrapper:
See the Gradle 9.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
awaitility/awaitility (org.awaitility:awaitility)
v4.4.0Added an Automatic-Module-Name to the jar manifests, which changes the module names for module-path users:
awaitility -> org.awaitility
awaitility.kotlin -> org.awaitility.kotlin
awaitility.scala -> org.awaitility.scala
awaitility.groovy -> org.awaitility.groovy
(issue 205, thanks to Piotr P. Karwasz for the original pull request).
awaitility-groovy can now be used on the module path. Its Groovy extension module descriptor moved from META-INF/services to META-INF/groovy, where Groovy 2.5 and later look for it, because the module system rejected the old file.
Added failFast to the Kotlin DSL (issue 206). For example:
await atMost Duration.ofMinutes(1) failFast { workflow.phase == "Failed" } until { workflow.phase == "Done" }
Also available are failFastWithReason("reason") { .. } and failFastAsserted { .. } (with an optional reason).
Added Awaitility.getDefaultTimeout(), getDefaultPollInterval() and getDefaultPollDelay() that return the current defaults. getDefaultPollDelay() returns null when no default poll delay is set, and setDefaultPollDelay(Duration) now accepts null to go back to that, so you can save and restore all three (issue 269, thanks to Alexander Schmidt for the original pull request).
Awaitility's internal polling executor is now a plain ThreadPoolExecutor instead of Executors.newSingleThreadExecutor(..), so each await statement no longer creates the finalizable wrapper that newSingleThreadExecutor adds (a cleaner registration from Java 21). On Java 8 ThreadPoolExecutor itself has a finalizer, so the saving there is one finalizable object instead of two (issue 168). Executors passed in by users and the existing InternalExecutorServiceFactory.create(..) methods are unchanged.
fieldIn(..) no longer relies on the compiler's synthetic this$0 field to build its timeout message (issue 223).
Upgraded assertj-core to 3.27.7 (thanks to Ian Hundere for pull request).
Updated the README example to use the Duration overload in await().atMost(..) (thanks to Kurt Alfred Kluever for pull request).
Added support for configuring the default timeout, poll interval and poll delay using ISO-8601 system properties. For example:
-Dawaitility.defaultTimeout=PT5S -Dawaitility.defaultPollInterval=PT0.1S -Dawaitility.defaultPollDelay=PT0.2S
(thanks to Henning Hoefer for pull request).
Clarified fail-fast documentation so that it correctly states that terminal failure happens when the fail-fast condition evaluates to true, and cleaned up related Javadocs (thanks to Mustafa Ulu for pull request).
Added failFastWithReason(Supplier, Callable) and failFastWithReason(Supplier, ThrowingRunnable) so that the fail-fast failure reason is created only when the fail-fast condition triggers, and can include the current state (issue 240). For example:
await().failFastWithReason(() -> "Order failed, last known state: " + order.state(), () -> order.state() == FAILED).until(() -> order.state() == SHIPPED);
If the supplier throws, the TerminalFailureException is still thrown and the supplier's exception is added to it as a suppressed exception.
Added untilThrown(..) and untilThrownExactly(..) that wait until some code throws an exception of a given type and return that exception (issue 129). For example:
IOException e = await().atMost(5, SECONDS).untilThrown(() -> client.fetch("/status"), IOException.class);
untilThrown also matches subclasses, untilThrownExactly only the exact class. Both take a Callable or a ThrowingRunnable. If the code returns normally Awaitility keeps polling, and any other exception fails the wait right away unless it's ignored with e.g. ignoreException(..). A method reference to an overloaded method is ambiguous here, so use a lambda for those. The Kotlin DSL has "await.untilThrown { client.fetch("/status") }" and untilThrownExactly.
Added timeoutMessage(Supplier) to the DSL. The supplier is only called if the await times out, and its text is appended on a new line after the standard timeout message, so the alias and the mismatch description are kept. For example:
await().atMost(5, SECONDS)
.timeoutMessage(() -> "Order state was " + orders.stateOf(orderId))
.until(() -> orders.stateOf(orderId) == SHIPPED);
Kotlin users can write "await withTimeoutMessage { .. } until { .. }" (pull request 195, thanks to James Agnew for the original pull request).
Added ConditionFactory#onTimeout(..) that takes a callback which is called once when the await times out, just before the ConditionTimeoutException is thrown. Use it to print extra diagnostics when a test is about to fail. For example:
await().atMost(10, SECONDS).onTimeout(event -> env.printErrors()).until(..);
The callback receives the TimeoutEvent and is called in the same cases as ConditionEvaluationListener#onTimeout (a timeout or an atLeast violation), not when the condition throws or a fail-fast condition fails. It is kept when conditionEvaluationListener(..) or logging(..) is called afterwards. If the callback throws, its exception is added as suppressed to the ConditionTimeoutException. The callback is still called if a listener's onTimeout throws. Also available in the Kotlin DSL as "await atMost 10.seconds onTimeout { .. } until { .. }" (issue 283, thanks to Burak KALAYCI for pull request).
during(..) can now succeed with the default timeout (issues 91, 165, 186 and 264). If you don't set atMost yourself, the default timeout is extended by the during period, so await().during(10, SECONDS).until(..) now works with the default 10 second timeout. If you do set atMost and it is not larger than the poll delay plus the during period, the await now fails at once with a ConditionTimeoutException that explains why, instead of polling until the timeout. When the condition is fulfilled at the timeout but has not held for the whole during period, the error message now says so (thanks to arimu1 for the timeout message work in pull request 309).
Added untilOrTimeout(..) and untilAssertedOrTimeout(..) that return an AwaitResult instead of throwing ConditionTimeoutException when the condition is not fulfilled in time. Other exceptions, such as fail fast failures, are still thrown. For example:
AwaitResult result = await().atMost(Duration.ofSeconds(2)).untilOrTimeout(repository::count, is(greaterThan(2)));
if (!result.isSuccess()) {
log.warn("Got {} items: {}", result.getValue(), result.getCause().getMessage());
}
Kotlin users can write "await atMost 2.seconds untilOrTimeout { repository.count() > 2 }" (issue 48, thanks to Jonatan Ivanov for the design).
fieldIn(..) error messages now work for fields declared in a superclass. Before, the timeout message said "Internal error" (issue 247, thanks to Jaya Dileep for pull request).
JavaVersionDetector now reads the major version from java.version strings like "25+36" and "25+36-ea" instead of throwing (issue 296, thanks to arimu1 for pull request).
Clarified in the Javadoc that during(..) needs the condition to hold continuously, not for a total of that time (issue 298, thanks to Jaya Dileep for pull request).
When an await times out while a condition evaluation is still running, ConditionTimeoutException.getCause() is now the assertion error from the previous evaluation, if that evaluation failed with one, instead of a java.util.concurrent.TimeoutException. If you check getCause() for a TimeoutException in this case, you need to update that check (issue 286, thanks to DragonFSKY for pull request).
Upgraded maven-jar-plugin from 2.4 to 3.5.1 and maven-help-plugin from 2.2 to 3.5.1. Building Awaitility now needs Maven 3.6.3 or later.
Added ExponentialBackoffPollInterval, a poll interval that doubles from a start duration up to a maximum (issue 300, thanks to Jaehong Park for pull request). For example:
await().pollInterval(exponential(Duration.ofMillis(500), Duration.ofSeconds(5))).until(..);
gives poll intervals of 500ms, 1s, 2s, 4s, 5s, 5s, and so on.
Fixed an int overflow in FibonacciPollInterval from poll 47 onwards. Very long Fibonacci poll intervals are now capped at the longest duration Awaitility supports instead of throwing an exception (issue 319, thanks to xh123637 for pull request).
Timeout messages no longer show day-scale durations as months, and use singular units such as "1 second" instead of "1 seconds". Fields are now separated by a single space ("1 minute 30 seconds" instead of "1 minutes 30 seconds"). If you assert on these messages you may need to update your expectations (issue 318, thanks to Shreya Roy Koneri for pull request).
The Java 8 test module is built and run in CI again (issue 156).
Timeout messages on JDK 15 and later say "Condition defined as a lambda expression in ..." again instead of "... a Lambda expression in ...".
Added StartEvaluationEvent.getPollDelay(), so a ConditionEvaluationListener can see the poll delay of the await before the first evaluation (issue 278, thanks to barthollomew for pull request).
forever() no longer drops an atLeast(..) or during(..) set earlier in the chain, so await().atLeast(1, SECONDS).forever() still fails if the condition is fulfilled too early (thanks to Jaehong Park for pull request).
checkstyle/checkstyle (checkstyle)
v14.5.0Checkstyle 14.5.0 - https://checkstyle.org/releasenotes.html#Release_14.5.0
New:
#18812 - RegexpMultilineCheck: Add option to specify which capturing group determines violation position.
Bug fixes:
#22914 - openjdk_checks.xml: False positive on Java 22 unnamed variables and patterns ('_').
#22398 - Add ExpressionOverBlockLambda in openjdk_checks.xml.
#22746 - ExceptionThrowShouldUseContext: NullPointerException on a method with a receiver parameter.
#22503 - FinalLocalVariable: NullPointerException when assigning variable in record static initializer.
#22430 - ExceptionThrowShouldUseContext: NullPointerException on a lambda field in a compact source file.
#22447 - PatternVariableAssignment: false negative for increment and decrement operators (++/--).
#22279 - JavadocEndCommentDelimiter: false positive on empty Javadoc comment /***/.
#22458 - VariableDeclarationUsageDistance: false positive for a compact-source field with validateBetweenScopes.
#22113 - HiddenField: false positive in implicitly static nested enums and interface member classes.
Other Changes:
Enforce beginTree method for all FileStatefulCheck checks.
Solve fb-contrib errors.
Update tests to use embedded configs instead of old style verify.
Migrate XpathRegression tests to verifyXpathWithInlineConfigParser and remove suppressions.
Remove from whitelist file odd words that came from test imput files.
Input files not run by any test: restore their coverage.
Replace multi-line string concatenations with text blocks for better readability.
Extend violationBetweenAnnotationAndMethod and violationBetweenJavadocAndMethod xpath to catch comments outside MODIFIERS.
update github regression report workflow to use more general trigger.
Enforce file size on Java inputs.
Violation on the closing parenthesis on a new line in an annotation array.
docs: fix doubled word.
Fix minor typos, punctuation, and capitalization inconsistencies in Javadocs and comments.
Cover all xml files by xml structure validation.
Improve installation of Groovy with retry on network failure.
Move violation comments above of annotated methods.
Rename references of Messages to Violation.
Enable enableSchemaCaching for xml-maven-plugin:validate.
Improve Input coverage for compact sources (JEP 512) for all Checks.
Anonymous class indentation is wrongly reported as incorrect in some cases.
Restore and Re-enable Remaining no-error CI Jobs (no-error-configurate, no-error-strata).
Improve contribution documentation regarding commit messages.
Indentation check incorrectly marks constants defined in an annotation as having the wrong indentation level.
Resolve ArchUnit suppressions.
Update dependabot config to bump versions for net.bytebuddy by one PR.
Move duplicated ArchConditionWithSuppression to a common test class.
OneStatementPerLineCheck does not clear nestingScope state on beginTree.
builds are not stable due to failure to downlaod apache-maven-X.XX.X-bin.zip.
suppress warning from java compilation over test resources.
Report outdated ArchUnit suppressions for items that already follow the rule.
Website: Last Published is 1980-02-01.
extend XdocsPagesTest to validate site.xml file for Check names.
Website: inconsistent module name.
Fix modules suppressed from the default-config example test.
Improve Input coverage for compact sources (JEP 512) for remaining Checks.
Configuration
📅 Schedule: (UTC)
* 0-7 * * 2)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.