failsafe v2.4.2 Release Notes

  • ๐Ÿ‘Œ Improvements

    • โž• Added RetryPolicy.onRetryScheduled event handler.
    • โž• Added ExecutionEvent.getExecutionCount() and ExecutionContext.getExecutionCount(), which distinguishes between attempts which may have been rejected and completed executions.
    • โž• Added Failsafe.none to create a no-op FailsafeExecutor.
    • ๐Ÿ‘Œ Improved support for outer Timeouts with retries.
    • ๐Ÿ›  Fixed #221 - Added support for FailsafeExecutor.with(Executor).
    • ๐Ÿ›  Fixed #277 - Changed Timeout to use Failsafe's internal scheduler, so that user provided ExecutorService shutdowns do not interfere with timeouts.
    • ๐Ÿ›  Fixed #266 - Propagate Future cancellation to supplied CompletionStage when using getStageAsync.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed #267 - Allow null fallback values to be passed through when using nested fallbacks.