Releases: kolan72/PoliNorError.Extensions.Http
Releases · kolan72/PoliNorError.Extensions.Http
0.9.1
- Added
AddFallbackHandlermethod to the library's pipeline builders. - Added a new overload to
AddFallbackHandlermethod that accepts aFunc<IServiceProvider, FallbackPolicyBase>factory delegate. - Added a new overload to
AddFallbackHandlermethod that accepts aFunc<TContext, IServiceProvider, FallbackPolicyBase>factory delegate. - Remove invalid covariance on
TContextinIPolicyHandlerStorage<TStorage, TContext>. - Update lib, tests, and samples to PoliNorError 2.24.20.
- Update Microsoft NuGet packages for the library, tests, and Samples.
- Upgrade Samples to Spectre.Console v0.54.0.
- Log outer and final policy result exceptions in the Retries samples.
- Add 'Adding Handlers Based on
RetryPolicyUsing theAddRetryHandlerExtension Methods' chapter to NuGet.md. - Add 'Why PoliNorError.Extensions.Http?' chapter to NuGet.md and README.
- Add 'Understanding the Exception Hierarchy' README chapter.
- Edit the 'Usage' chapter in README and NuGet.md.
- Edit the 'Key Features' chapter in README and NuGet.md.
0.8.0
- Add
AddInfiniteRetryHandlerextension overloads to the pipeline builder that acceptAction<RetryPolicyOptions>andRetryPolicyOptions. - Change the
PolicyOptions.ConfigureErrorProcessingtype fromAction<IBulkErrorProcessor>toAction<BulkErrorProcessor>to allow broader configuration. - Refactor
IHttpPolicyResultHandler.AttachToto use the basePolicyclass instead ofRetryPolicy, and callAddHandlerForPolicyResultin implementations. - Refactor internal
HttpPolicyResultHandlers.AttachTomethod to use the basePolicyclass instead ofRetryPolicy. - Update lib and tests to PoliNorError 2.24.12.
- Update Microsoft nuget packages.
- Update NUnit NuGet package to v4.4.0.
- Add test to verify
InfiniteRetryHandleris canceled when cancellation occurs inErrorProcessor. - Target the Samples project to .NET 8.0.
- Remove redundant NuGet packages in Fallback.csproj and Retries.csproj of Samples project.
- Upgrade Samples to PoliNorError v2.24.12 and PoliNorError.Extensions.Http 0.5.0.
- Update the '
HttpPolicyResultExceptionproperties' section in the README. - Update the 'Key Concepts' section in the README.
- Update NuGet.md.
0.5.0
- Introduced the
RetryPolicyOptions.ProcessRetryAfterHeaderproperty, which allows handling of theRetry-Afterheader. - Add support for configuring non-cancelable policy result handlers in
PolicyOptions. - Refactor handler addition in
HttpPolicyResultHandlers. - Refactor
AddRetryHandleroverloads to constructRetryPolicyusingRetryPolicyOptions. - Update lib and tests to PoliNorError 2.24.0.
- Update Microsoft nuget packages.
- Upgrade Samples to PoliNorError v2.24.0.
- Update Microsoft NuGet packages for Samples.
- Add the RetryFromOptions project to Samples.sln to see an example of a retry handler built from options.
- Add tests for the
RetryPolicyOptions.ConfigureErrorFiltermethod related to the outer handler. - Added tests for the asynchronous policy result handler in
RetryPolicyOptions. - Replace synchronous disposal with
await usingin the Samples projects.
0.3.0
- Update lib and tests to PoliNorError 2.23.0.
- Introduced the
RetryPolicyOptionsandPolicyOptionsclasses. - Added an
AddRetryHandleroverload to pipeline builders that accepts aretryCountandRetryPolicyOptions. - Added an
AddRetryHandleroverload to pipeline builders that accepts aretryCountandAction<RetryPolicyOptions>. - Introduced the
IHttpPolicyResultHandlersinterface. - Update Microsoft NuGet packages.
- Update Microsoft NuGet packages for PoliNorError.Extensions.Http.Tests.
- Update the Microsoft packages and set PoliNorError to version 2.23.0 for the Samples.
- Switch to new way of getting current retry attempt for the Samples.
0.2.0
- Added
AddRetryHandlermethod to the library's pipeline builders. - Added an overload to the
AddRetryHandlermethod that accepts aFunc<IServiceProvider, RetryPolicy>factory delegate. - Added an overload to the
AddRetryHandlermethod that accepts aFunc<TContext, IServiceProvider, RetryPolicy>factory delegate. - Update lib to PoliNorError 2.22.0.
- Update Samples to PoliNorError 2.22.0.
- Update the Spectre.Console package in the Shared.csproj (Samples).
- Removed redundant Spectre.Console package from Retries.csproj (Samples).
- Update Microsoft NuGet packages.
- Add CHANGELOG.md.