Skip to content

Commit 81ff07a

Browse files
committed
More changelog improvements
1 parent 78be9f5 commit 81ff07a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# 3.0
22

33

4-
### Bug Fixes
5-
6-
- Improved the reliability of async executions, cancellations, and Timeouts.
7-
84
### API Changes
95

106
This release introduces breaking changes to the API:
@@ -42,6 +38,7 @@ This release introduces breaking changes to the API:
4238

4339
#### CircuitBreaker
4440

41+
- `onOpen`, `onClose`, and `onHalfOpen` methods now accept a `CircuitBreakerStateChangedEvent` argument.
4542
- `allowsExecution()` was removed in favor of `acquirePermit()` and `tryAcquirePermit()`, which are meant to be used with standalone CircuitBreaker usage.
4643

4744
### SPI Changes
@@ -54,14 +51,17 @@ The following changes effect the SPI classes, for users who are extending Failsa
5451
- Several new classes were added to the `spi` package to contain internal execution APIs including `ExecutionInternal`, `SyncExecutionInternal`, and `AsyncExecutionInternal`.
5552
- `FailsafeFuture` was moved to the SPI package and some method signatures changed.
5653

54+
### Bug Fixes
55+
56+
- Improved the reliability of async executions, cancellations, and Timeouts.
57+
5758
### Improvements
5859

5960
- Issue #292 - Created an extensible Policy SPI.
6061
- Issue #254 - Added an explicit `compose` method to `FailsafeExecutor`.
6162
- Issue #293 - Added `RetryPolicyBuilder.withBackoff(Duration, Duration)` and `.withDelay(Duration, Duration)`.
6263
- 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.
6364
- 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.
64-
- Added a type parameter to `ExecutionContext`.
6565
- Added `FailsafeExecutor.getPolicies()`.
6666

6767
# 2.4.4

0 commit comments

Comments
 (0)