8.2.0
14 Nov 23
Toggle Dropdown
Version 8
8.5.2
4 Feb 25
8.5.1
13 Jan 25
8.5.0
12 Nov 24
8.4.2
26 Sep 24
8.4.1
28 Jun 24
8.4.0
10 May 24
8.3.1
6 Mar 24
8.3.0
5 Feb 24
8.2.1
5 Jan 24
8.2.0
14 Nov 23
8.1.0
31 Oct 23
8.0.0
28 Sep 23
8.0.0-beta.2
8 Sep 23
8.0.0-beta.1
31 Aug 23
8.0.0-alpha.9
30 Aug 23
8.0.0-alpha.8
8 Aug 23
8.0.0-alpha.7
26 Jul 23
8.0.0-alpha.6
14 Jul 23
8.0.0-alpha.5
3 Jul 23
8.0.0-alpha.4
26 Jun 23
8.0.0-alpha.3
23 Jun 23
8.0.0-alpha.2
21 Jun 23
8.0.0-alpha.1
15 Jun 23
Compare to version...
with 8.0.0-alpha.9
Toggle Dropdown
Version 8
8.5.2
4 Feb 25
8.5.1
13 Jan 25
8.5.0
12 Nov 24
8.4.2
26 Sep 24
8.4.1
28 Jun 24
8.4.0
10 May 24
8.3.1
6 Mar 24
8.3.0
5 Feb 24
8.2.1
5 Jan 24
8.2.0
14 Nov 23
8.1.0
31 Oct 23
8.0.0
28 Sep 23
8.0.0-beta.2
8 Sep 23
8.0.0-beta.1
31 Aug 23
8.0.0-alpha.9
30 Aug 23
8.0.0-alpha.8
8 Aug 23
8.0.0-alpha.7
26 Jul 23
8.0.0-alpha.6
14 Jul 23
8.0.0-alpha.5
3 Jul 23
8.0.0-alpha.4
26 Jun 23
8.0.0-alpha.3
23 Jun 23
8.0.0-alpha.2
21 Jun 23
8.0.0-alpha.1
15 Jun 23
Download Package
Open in NuGet
<
PackageReference
Include
=
"Polly.Core"
Version
=
"8.2.0"
/>
API Differences between 8.2.0 and 8.0.0-alpha.9
18
Additions
11
Removals
Polly
public
static
class
Outcome
public
static
ValueTask
<
Outcome
<
TResult
>>
FromExceptionAsTask
<
TResult
>(
Exception
exception
)
public
static
ValueTask
<
Outcome
<
TResult
>>
FromExceptionAsValueTask
<
TResult
>(
Exception
exception
)
public
static
ValueTask
<
Outcome
<
TResult
>>
FromResultAsTask
<
TResult
>(
TResult
value
)
public
static
ValueTask
<
Outcome
<
TResult
>>
FromResultAsValueTask
<
TResult
>(
TResult
value
)
public
struct
Outcome
<
TResult
>
public
void
EnsureSuccess
()
public
void
ThrowIfException
()
public
abstract
class
ResiliencePipelineBuilderBase
public
ResilienceContextPool
ContextPool
{
get
;
set
; }
public
TimeProvider
TimeProvider
{
get
;
set
; }
public
sealed
class
StrategyBuilderContext
public
TimeProvider
TimeProvider
{
get
; }
Polly.CircuitBreaker
public
struct
BreakDurationGeneratorArguments
public
ResilienceContext
Context
{
get
; }
public
int
FailureCount
{
get
; }
public
double
FailureRate
{
get
; }
public
BreakDurationGeneratorArguments
(
double
failureRate
,
int
failureCount
,
ResilienceContext
context
)
public
class
BrokenCircuitException
<
TResult
> :
BrokenCircuitException
public
class
CircuitBreakerStrategyOptions
<
TResult
> :
ResilienceStrategyOptions
public
Func
<
BreakDurationGeneratorArguments
,
ValueTask
<
TimeSpan
>>
BreakDurationGenerator
{
get
;
set
; }
Polly.Hedging
public
struct
OnHedgingArguments
<
TResult
>
public
ResilienceContext
ActionContext
{
get
; }
public
ResilienceContext
Context
{
get
; }
public
TimeSpan
Duration
{
get
; }
public
Outcome
<
TResult
>?
Outcome
{
get
; }
public
OnHedgingArguments
(
ResilienceContext
context
,
Outcome
<
TResult
>?
outcome
,
int
attemptNumber
,
TimeSpan
duration
)
public
ResilienceContext
PrimaryContext
{
get
; }
public
OnHedgingArguments
(
ResilienceContext
primaryContext
,
ResilienceContext
actionContext
,
int
attemptNumber
)
Polly.Retry
public
struct
RetryDelayGeneratorArguments
<
TResult
>
public
TimeSpan
DelayHint
{
get
; }
public
RetryDelayGeneratorArguments
(
ResilienceContext
context
,
Outcome
<
TResult
>
outcome
,
int
attemptNumber
,
TimeSpan
delayHint
)
public
RetryDelayGeneratorArguments
(
ResilienceContext
context
,
Outcome
<
TResult
>
outcome
,
int
attemptNumber
)
public
class
RetryStrategyOptions
<
TResult
> :
ResilienceStrategyOptions
public
Func
<
RetryDelayGeneratorArguments
<
TResult
>,
ValueTask
<
TimeSpan
>>
DelayGenerator
{
get
;
set
; }
public
Func
<
RetryDelayGeneratorArguments
<
TResult
>,
ValueTask
<
TimeSpan
?>>
DelayGenerator
{
get
;
set
; }
public
TimeSpan
?
MaxDelay
{
get
;
set
; }