failsafe v0.8.1 Release Notes

  • ๐Ÿ†• New Features

    • Simplified listeners API.
    • โž• Added support for failure listeners via Failsafe.with(...).onFailure(e -> {}).
    • โž• Added onAbort listeners.
    • โž• Added additional async listeners.
    • ๐Ÿ”ง RetryPolicy and CircuitBreaker now support multiple configuration rules. Ex: new RetryPolicy().retryWhen(null).retryWhen(""). If any rule matches then the policy is matched.

    API Changes

    • โž• Added top level support for listener registration via Failsafe.with(...).onXxx. The Listeners class is now only meant for Java 6 and 7 usage via method overrides.
    • โœ‚ Removed listener registration from Listeners class.
    • โœ‚ Removed AsyncListeners class.
    • โœ‚ Removed listener registration from FailsafeFuture class.