Skip to content

Releases: avast/retry-go

v5.0.0

24 Nov 14:09
91e2a66

Choose a tag to compare

What's Changed

  • Use Makefile lint target instead of blocked GitHub Action by @JaSei in #143
  • default type is combination of backoff and random by @JaSei in #144
  • Enhance readme + coverage by @JaSei in #146
  • default branch is main by @JaSei in #147
  • Proposal for v5 API: retry.New(...).Do(func) by @msf in #148
  • upgrade to v5.0.0 with Go 1.20 multiple error wrapping support by @JaSei in #149

New Contributors

  • @msf made their first contribution in #148

Full Changelog: 4.7.0...v5.0.0

v4.7.0

14 Oct 18:39
375037b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.6.1...v4.7.0

v4.6.1

24 Feb 09:11
93932f8

Choose a tag to compare

What's Changed

  • Update link to docs by @ajeetdsouza in #100
  • fix test for slow windows + add newer golang versions by @JaSei in #126
  • Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #123
  • Make sure DelayType function gets consistent values of n by @haaawk in #125

New Contributors

Full Changelog: 4.6.0...v4.6.1

v4.6.0

18 Apr 07:58
839c8ce

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

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

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

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

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

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

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