failsafe v2.1.1 Release Notes

Release Date: 2019-07-29 // 20 days ago
  • 👌 Improvements

    • ➕ Added support for CircuitBreaker.withDelay(DelayFunction)
    • ➕ Added Fallback.ofException for returning custom exceptions.
    • ➕ Added ExecutionContext.getLastResult and .getLastFailure to support retries that depend on previous executions
    • ➕ Added CircuitBreakerOpenException.getCircuitBreaker

    API Changes

    • 📦 RetryPolicy.DelayedFunction was moved to the net.jodah.failsafe.function package.
    • ✂ Removed RetryPolicy.canApplyDelayFn