Skip to content

Breaking changes in major version upgrades

Ben Hutchison edited this page Sep 26, 2026 · 9 revisions

2 β†’ 3

Retrier

  • BeforeRetry and IsRetryAllowed functions now take an attempt number argument, in addition to the preexisting Exception argument.
  • Encapsulated optional parameters in structs RetryOptions and AsyncRetryOptions, to make reuse simple by callers and the growing number of parameters easier to deal with for everyone.
  • The default number of attempts if you specify neither MaxAttempts nor MaxOverallDuration is now infinity instead of 2, because 2 wouldn't make sense with the new MaxOverallDuration option.
  • Attempt numbers are now long instead of int.
  • Moved Retrier into the ThrottleDebounce.Retry sub-namespace, to make code completion on the Retrier class cleaner.

1 β†’ 2

Throttler and Debouncer

  • They both now return a RateLimitedAction or RateLimitedFunc on which you call Invoke(), instead of a DebouncedAction or DebouncedFunc on which you call Run().

Clone this wiki locally