failsafe v2.2.0 Release Notes

Release Date: 2019-08-12 // 6 days ago
  • 👌 Improvements

    • ➕ Added a new Timeout policy that fails with TimeoutExceededException.
    • ➕ Added ExecutionContext.isCancelled().
    • ➕ Added ExecutionContext.getElapsedAttemptTime().
    • ⏱ Made the internal delay scheduler more adaptive.

    API Changes

    • 🗄 Deprecated CircuitBreaker.withTimeout in favor of using a separate Timeout policy.

    🐛 Bug Fixes

    • 🔀 Reset interrupt flag when a synchronous execution is interrupted.
    • 👌 Improved handling around externally completing a Failsafe CompletableFuture.