Releases: avast/retry-go
Releases · avast/retry-go
v4.6.0
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
- @natenho made their first contribution in #116
- @FarmerChillax made their first contribution in #114
Full Changelog: v4.5.1...v4.6.0
v4.5.1
What's Changed
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 by @dependabot in #95
- add missing comma in the example by @spacewander in #101
- Add an example which shows err history by @avinassh in #98
- fix potential panic in IsRecoverable by @jalaziz in #104
New Contributors
- @spacewander made their first contribution in #101
- @avinassh made their first contribution in #98
- @jalaziz made their first contribution in #104
Full Changelog: 4.5.0...v4.5.1
v4.5.0
v4.4.0 (generic support)
What's Changed
- Go versions by @JaSei in #97
- fix: markdown code block format by @mrtc0 in #93
- remove error log pre-allocation and add benchmark by @dillonstreator in #89
- Add DoWithData function by @craigpastro in #91
New Contributors
- @mrtc0 made their first contribution in #93
- @dillonstreator made their first contribution in #89
- @craigpastro made their first contribution in #91
Full Changelog: 4.3.4...v4.4.0
4.3.4
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
What's Changed
- fix: zero attempt should return error when the error is either unrecoverable or context error by @lizhiquan in #84
New Contributors
- @lizhiquan made their first contribution in #84
Full Changelog: 4.3.2...4.3.3
Bugfixes
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
- @KeiichiHirobe made their first contribution in #74
- @JamieEdge made their first contribution in #82
Full Changelog: 4.3.0...4.3.2
Bugfixes
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
- @KeiichiHirobe made their first contribution in #74
Full Changelog: 4.3.0...v4.3.1