Skip to content

2.11.1

Compare
Choose a tag to compare
@kolan72 kolan72 released this 10 Dec 18:17
· 507 commits to main since this release

Improvements

  • Introduce IncludeErrorSet<TException1, TException2> methods for policy processors, library policies(RetryPolicy, SimplePolicy and FallbackPolicy) and PolicyCollection.
  • Introduce ExcludeErrorSet<TException1, TException2> methods for policy processors, library policies(RetryPolicy, SimplePolicy and FallbackPolicy) and PolicyCollection.

Small changes

  • Slightly improve performance by using the equality operator instead of the Equals method for comparing types in generic error filters.

Docs changes

  • Add new 'PolicyDelegateCollectionResult' README chapter.
  • Update examples in the 'Policy wrap' README chapter.
  • Add docs for the ExcludeError, IncludeError extension methods in the RetryProcessorErrorFiltering, FallbackProcessorErrorFiltering, SimplePolicyProcessorErrorFiltering classes.