Upgrading org.awaitility:awaitility 2 to 3
Breaking2.0.0 → 3.1.6Breaking1New7Changed3Fixed1Other3
Fetching 11 releases from GitHub…6 / 11
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Removed the use of java.beans.Introspector for de-capitalization of String's since it doesn't work on Android (issue 125).
Must act 1 item needs code or config changes
Drops cglib:cglib-nodep.
Installs 3 packages in all (was 4).
What you must change
Breaking1
Removed the use of java.beans.Introspector for de-capitalization of String's since it doesn't work on Android (issue 125).
API changes
Generated by DepDelta from published JVM bytecode. Not mixed with prose notes.
- removed:
static field Duration.SAME_AS_POLL_INTERVAL: Duration - removed:
static method Awaitility.matches(ThrowingRunnable): Runnable - removed:
static method Awaitility.to(Object): Object - added:
method Duration.getValueInNS(): long - added:
static method Awaitility.pollExecutorService(ExecutorService): void - added:
static method Awaitility.pollInSameThread(): void - added:
static method Awaitility.pollThread(Function): void
- removed:
ctor AtMostWaitConstraint(Duration) - removed:
ctor IntervalWaitConstraint(Duration, Duration) - removed:
static method IntervalWaitConstraint.between(Duration, Duration): IntervalWaitConstraint
- removed:
class MethodCallRecorder - removed:
ctor ConditionFactory(String, WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - removed:
ctor ConditionFactory(WaitConstraint, Duration, Duration, boolean, ExceptionIgnorer) - removed:
ctor ConditionFactory(WaitConstraint, Duration, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - removed:
ctor ConditionFactory(WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer) - removed:
ctor ConditionFactory(WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - removed:
ctor MethodCallRecorder() - removed:
static method MethodCallRecorder.createProxy(Object): Object - removed:
static method MethodCallRecorder.getLastArgs(): Object[] - removed:
static method MethodCallRecorder.getLastMethod(): Method - removed:
static method MethodCallRecorder.getLastTarget(): Object - removed:
static method MethodCallRecorder.reset(): void - changed:
ctor AssertionCondition(Runnable, ConditionSettings) → ctor AssertionCondition(ThrowingRunnable, ConditionSettings) - changed:
ctor ConditionFactory(String, WaitConstraint, Duration, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) → ctor ConditionFactory(String, WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener, ExecutorLifecycle) - changed:
method ConditionFactory.until(Runnable): void → method ConditionFactory.until(Callable, Predicate): Object - changed:
method ExceptionIgnorer.shouldIgnoreException(Exception): boolean → method ExceptionIgnorer.shouldIgnoreException(Throwable): boolean - changed:
method HamcrestExceptionIgnorer.shouldIgnoreException(Exception): boolean → method HamcrestExceptionIgnorer.shouldIgnoreException(Throwable): boolean - changed:
method PredicateExceptionIgnorer.shouldIgnoreException(Exception): boolean → method PredicateExceptionIgnorer.shouldIgnoreException(Throwable): boolean - added:
abstract class AbstractHamcrestCondition implements Condition - added:
class ConditionSettings - added:
class ExecutorLifecycle - added:
class InternalExecutorServiceFactory - added:
ctor AbstractHamcrestCondition(Callable, Matcher, ConditionSettings) - added:
ctor ConditionTimeoutException(String, Throwable) - added:
ctor InternalExecutorServiceFactory() - added:
interface BiFunction - added:
interface Condition - added:
interface Function - added:
interface Supplier - added:
method AbstractHamcrestCondition.await(): Object - added:
method AbstractHamcrestCondition.getCallableDescription(Callable): String - added:
method BiFunction.apply(Object, Object): Object - added:
method Condition.await(): Object - added:
method ConditionFactory.alias(String): ConditionFactory - added:
method ConditionFactory.pollExecutorService(ExecutorService): ConditionFactory - added:
method ConditionFactory.pollInSameThread(): ConditionFactory - added:
method ConditionFactory.pollThread(Function): ConditionFactory - added:
method ConditionFactory.untilAsserted(ThrowingRunnable): void - added:
method ConditionSettings.getAlias(): String - added:
method ConditionSettings.getConditionEvaluationListener(): ConditionEvaluationListener - added:
method ConditionSettings.getExecutorLifecycle(): ExecutorLifecycle - added:
method ConditionSettings.getMaxWaitTime(): Duration - added:
method ConditionSettings.getMinWaitTime(): Duration - added:
method ConditionSettings.getPollDelay(): Duration - added:
method ConditionSettings.getPollInterval(): PollInterval - added:
method ConditionSettings.hasAlias(): boolean - added:
method ConditionSettings.shouldCatchUncaughtExceptions(): boolean - added:
method ConditionSettings.shouldExceptionBeIgnored(Throwable): boolean - added:
method ExecutorLifecycle.supplyExecutorService(): ExecutorService - added:
method Function.apply(Object): Object - added:
method Supplier.get(): Object - added:
static method ExecutorLifecycle.withNormalCleanupBehavior(Supplier): ExecutorLifecycle - added:
static method ExecutorLifecycle.withoutCleanup(ExecutorService): ExecutorLifecycle - added:
static method ExecutorLifecycle.withoutCleanup(Supplier): ExecutorLifecycle - added:
static method InternalExecutorServiceFactory.create(BiFunction, String): ExecutorService - added:
static method InternalExecutorServiceFactory.create(Function): ExecutorService - added:
static method InternalExecutorServiceFactory.sameThreadExecutorService(): ExecutorService
- removed:
interface IterativePollInterval.Function - removed:
method IterativePollInterval.Function.apply(Duration): Duration - changed:
ctor IterativePollInterval(IterativePollInterval.Function) → ctor IterativePollInterval(Function) - changed:
ctor IterativePollInterval(IterativePollInterval.Function, Duration) → ctor IterativePollInterval(Function, Duration) - changed:
static method IterativePollInterval.iterative(IterativePollInterval.Function): IterativePollInterval → static method IterativePollInterval.iterative(Function): IterativePollInterval - changed:
static method IterativePollInterval.iterative(IterativePollInterval.Function, Duration): IterativePollInterval → static method IterativePollInterval.iterative(Function, Duration): IterativePollInterval
- removed:
class CannotCreateProxyException extends RuntimeException - removed:
class TypeUtils - removed:
ctor CannotCreateProxyException(String) - removed:
ctor TypeUtils() - removed:
final class ProxyCreator - removed:
static method ProxyCreator.create(Class, InvocationHandler): Object - removed:
static method TypeUtils.getDefaultValue(Class): Object - removed:
static method TypeUtils.getDefaultValue(String): Object
- added:
interface ProxyConditionFactory - added:
method ProxyConditionFactory.createProxyCondition(Object, Matcher, ConditionSettings): Condition