All Versions
53
Latest Version
Avg Release Cycle
87 days
Latest Release
-

Changelog History
Page 5

  • v0.8.3 Changes

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed #33 - CircuitBreaker not decrementing currentExections when under load
  • v0.8.2 Changes

    ๐Ÿ†• New Features

    • โž• Added support for onRetriesExceeded listeners.
    • RetryPolicy can be extended (it's no longer marked as final)

    ๐Ÿ› Bug Fixes

    • Abort should not call failure listeners.
  • v0.8.1 Changes

    ๐Ÿ†• 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.
  • v0.8.0 Changes

    ๐Ÿ†• New Features

    • โž• Added support for circuit breakers

    API Changes

    • Project renamed from Recurrent to Failsafe
  • v0.7.1 Changes

    ๐Ÿ› Bug Fixes

    • โž• Added better support for scheduling failure handling
    • ๐Ÿ›  Fixed RetryPolicy failure assignability checking

    API Changes

    • ๐Ÿ‘ Invocation APIs were renamed to Execution to better align with the java.util.concurrent naming.
    • InvocationStats.getAttemptCount() was renamed to ExecutionStats.getExecutions()
  • v0.7.0 Changes

    ๐Ÿ†• New Features

    • โž• Added additional contextual callable and runnable support

    API Changes

    • ๐Ÿ”„ Changed to a new API entry point: Recurrent.with.
    • โž• Added .with for configuring listeners.
  • v0.6.0 Changes

    ๐Ÿ†• New Features

    • โž• Added RetryPolicy.abortOn, abortWhen and abortIf methods to abort retries when matched.

    API Changes

    • RetryPolicy.retryWhen was renamed to retryIf for retrying if a Predicate is matched.
    • RetryPolicy.retryFor was renamed to retryWhen for retrying when a result is matched.
    • โฑ Scheduler and Schedulers were moved to net.jodah.recurrent.util.concurrent.
  • v0.5.0 Changes

    ๐Ÿ†• New Features

    • โž• Added support for synchronous and asynchronous event listeners
    • โž• Added support for CheckedRunnable

    API Changes

    • The Recurrent.run methods now require a CheckedRunnable rather than Runnable. This allows Recurrent to be used on code that throws checked exceptions without having to wrap the code in try/catch blocks.
    • ๐Ÿ”€ The synchronous Recurrent.run and Recurrent.get methods will throw a RecurrentException if a failure occurs and the retry policy is exceeded.
  • v0.4.0 Changes

    ๐Ÿ†• New Features

    • โž• Added better support for invocation tracking

    API Changes

    • ๐Ÿ†• New Invocation and AsyncInvocation APIs
  • v0.3.3 Changes

    ๐Ÿ†• New Features

    • โž• Add Scheduler API
    • ๐Ÿ‘‰ Make RetryPolicy copyable

    Behavior Changes

    • Require ContextualCallable and ContextualRunnable to be manually retried
    • โž• Add support for checking multiple retry policy conditions

    API Changes

    • ๐Ÿ‘ป Make ContextualRunnable throw Exception