failsafe v2.1.1 Release Notes

Release Date: 2019-07-29 // over 4 years 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