Skip to content

Commit

Permalink
Update CHANGELOG.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
kolan72 committed Jul 24, 2024
1 parent a89376c commit 102543c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## 2.19.0

- Add the `RetryDelay` class and its subclasses(`ConstantRetryDelay`, `LinearRetryDelay`, `ExponentialRetryDelay`).
- Change `RetryPolicy` ctor signature to accept the `RetryDelay` parameter.
- Add the `RetryDelay` parameter to the `RetryPolicy.InfiniteRetries` method overloads.
- Modify `RetryPolicy.Handle(Async)<T>` methods to use the `RetryDelay`.
- Add `DefaultRetryProcessor.Retry` method overloads and `RetryInfinite` method to handle `Action` with `RetryDelay` parameter.
- Add `DefaultRetryProcessor.Retry<T>` method overloads and `RetryInfinite<T>` method to handle `Func<T>` with `RetryDelay` parameter.
- Add `DefaultRetryProcessor.RetryAsync` method overloads and `RetryInfiniteAsync` method to handle `Func<CancellationToken, Task>` with `RetryDelay` parameter.
- Add `DefaultRetryProcessor.RetryAsync<T>` method overloads and `RetryInfiniteAsync<T>` method to handle `Func<CancellationToken, Task<T>>` with `RetryDelay` parameter.
- Add `DelayProvider` class.
- Introduce `RetryProcessingErrorInfo` class, add `ProcessingErrorInfo.CurrentContext` property, deprecate `ProcessingErrorInfo.CurrentRetryCount` property.
- Add internal `DelayProvider` class.
- Refactoring to use the `DelayProvider` class in the `DelayErrorProcessor` class.
- Introduce `RetryProcessingErrorInfo` class, add `ProcessingErrorInfo.CurrentContext` property, deprecate `ProcessingErrorInfo.CurrentRetryCount` property.
- DRY refactoring and new tests for `RetryPolicy.WithWait` method overloads.
- Add doc comments to `IRetryProcessor` class.
- Add doc comments to `RetryCountInfoOptions` class and `RetryCountInfo` struct.
- Update 'RetryPolicy' README Chapter.
- Update 'TryCatch' README Chapter.


## 2.18.14

- Introduce the `NonEmptyCatchBlockFilter.ExcludeErrorSet`, `NonEmptyCatchBlockFilter.IncludeErrorSet` methods.
Expand Down

0 comments on commit 102543c

Please sign in to comment.