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 thenet.jodah.failsafe.function
package. - โ Removed
RetryPolicy.canApplyDelayFn
- โ Added support for