resilience4clj-retry icon indicating copy to clipboard operation
resilience4clj-retry copied to clipboard

Update resilience4j version to 1.5.0

Open matheusemm opened this issue 4 years ago • 0 comments

Update resilience4j version from 0.17.0 (the last one before the 1.0.0 release) to 1.5.0 (the most recent one at this time).

Since the interface io.github.resilience4j.retry.IntervalFuction was deprecated in favor of io.github.resilience4j.core.IntervalFuction, the core dependency was explicity added to the project (io.github.resilience4j/resilience4j-core) and the namespace resilience4clj-retry.interval-functions was changed to import ...core.IntervalFunction. This change means that:

  • 1.5.0 RetryConfigs are able to work properly when passed a 0.17.0 ...retry.IntervalFunction or a ...core.IntervalFunction
  • 0.17.0 RetryConfigs are able to work properly when passed a 0.17.0 ...retry.IntervalFunction but are not able to work properly with a 1.5.0 ...core.IntervalFunction.

In this case, should this change be labeled as breaking change for the resilience4clj library?

matheusemm avatar Jun 12 '20 09:06 matheusemm