Skip to content

Releases: avast/retry-go

v4.6.0

18 Apr 07:58
839c8ce
Compare
Choose a tag to compare

What's Changed

  • Introduce UntilSucceeded option to improve readability by @natenho in #116
  • Fix the inconsistency in the number of times passed in onRetry by @FarmerChillax in #114
  • Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #112

New Contributors

Full Changelog: v4.5.1...v4.6.0

v4.5.1

14 Nov 10:01
d5355cd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.5.0...v4.5.1

v4.5.0

07 Aug 07:12
ff662bd
Compare
Choose a tag to compare

What's Changed

  • Allow last error to be returned with context error by @willdot in #96

New Contributors

Full Changelog: 4.4.0...v4.5.0

v4.4.0 (generic support)

04 Aug 16:56
fdadb7c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.3.4...v4.4.0

4.3.4

21 Apr 08:39
0f9f246
Compare
Choose a tag to compare

What's Changed

  • fix: IsRecoverable should return false for wrapped unrecoverable by @lizhiquan in #85
  • Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #87
  • fix: zero attempt should return error when RetryIf returns false by @lizhiquan in #86

Full Changelog: 4.3.3...4.3.4

fix: zero attempt should return error when the error is either unrecoverable or context error

08 Feb 09:21
Compare
Choose a tag to compare

#84

What's Changed

  • fix: zero attempt should return error when the error is either unrecoverable or context error by @lizhiquan in #84

New Contributors

Full Changelog: 4.3.2...4.3.3

Bugfixes

03 Jan 16:04
Compare
Choose a tag to compare

#79 #80 #81

What's Changed

  • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #73
  • fix bug that overwrites last error when context is canceled by @KeiichiHirobe in #74
  • fix bug, always use config.timer.After instead of time.After by @KeiichiHirobe in #75
  • docs: fix typo and improve consistency of comment for Error.Unwrap by @JamieEdge in #82
  • fix: return last non-nil value when unwrapping errors by @JamieEdge in #79
  • fix: reslice error log to remove nil values by @JamieEdge in #81

New Contributors

Full Changelog: 4.3.0...4.3.2

Bugfixes

15 Nov 10:14
Compare
Choose a tag to compare

#74 #75

What's Changed

  • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #73
  • fix bug that overwrites last error when context is canceled by @KeiichiHirobe in #74
  • fix bug, always use config.timer.After instead of time.After by @KeiichiHirobe in #75

New Contributors

Full Changelog: 4.3.0...v4.3.1

support for attempts based on error types

19 Oct 20:23
Compare
Choose a tag to compare

Unwrap error support

19 Oct 12:22
Compare
Choose a tag to compare