You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,6 @@
1
1
# 3.0
2
2
3
3
4
-
### Bug Fixes
5
-
6
-
- Improved the reliability of async executions, cancellations, and Timeouts.
7
-
8
4
### API Changes
9
5
10
6
This release introduces breaking changes to the API:
@@ -42,6 +38,7 @@ This release introduces breaking changes to the API:
42
38
43
39
#### CircuitBreaker
44
40
41
+
-`onOpen`, `onClose`, and `onHalfOpen` methods now accept a `CircuitBreakerStateChangedEvent` argument.
45
42
-`allowsExecution()` was removed in favor of `acquirePermit()` and `tryAcquirePermit()`, which are meant to be used with standalone CircuitBreaker usage.
46
43
47
44
### SPI Changes
@@ -54,14 +51,17 @@ The following changes effect the SPI classes, for users who are extending Failsa
54
51
- Several new classes were added to the `spi` package to contain internal execution APIs including `ExecutionInternal`, `SyncExecutionInternal`, and `AsyncExecutionInternal`.
55
52
-`FailsafeFuture` was moved to the SPI package and some method signatures changed.
56
53
54
+
### Bug Fixes
55
+
56
+
- Improved the reliability of async executions, cancellations, and Timeouts.
57
+
57
58
### Improvements
58
59
59
60
- Issue #292 - Created an extensible Policy SPI.
60
61
- Issue #254 - Added an explicit `compose` method to `FailsafeExecutor`.
61
62
- Issue #293 - Added `RetryPolicyBuilder.withBackoff(Duration, Duration)` and `.withDelay(Duration, Duration)`.
62
63
- Issue #221 - `Executor` instances configured via `FailsafeExecutor.with(Executor)` are now used on all executions, including sync executions, and can be used in conjunction with a separately configured `ExecutorService` or `Scheduler` for async executions.
63
64
- Issue #47 - Thread safety is now clearly documented in the policy, policy builder, and policy config classes. Policy and policy config classes are threadsafe. Policy builder classes are not threadsafe.
0 commit comments