Skip to content

Releases: siderolabs/go-retry

v0.3.3

19 Oct 18:32
v0.3.3
23b6fc2
Compare
Choose a tag to compare

go-retry 0.3.3 (2023-10-19)

Welcome to the v0.3.3 release of go-retry!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-retry/issues.

Contributors

  • Andrey Smirnov
  • Alexey Palazhchenko
  • Andrey Smirnov
  • Andrey Smirnov
  • Andrey Smirnov

Changes

10 commits

  • 23b6fc2 fix: provider modern error unwrapping
  • 6d45449 chore: rekres, rename
  • c78cc95 fix: implement errors.Is for all errors in the set
  • 7885e16 feat: add ExpectedErrorf
  • 3d83f61 feat: deprecate UnexpectedError
  • b9dc1a9 feat: add support for context.Context in Retry
  • 8c63d29 fix: correctly implement error interfaces on wrapped errors
  • 752f081 feat: add an option to log errors being retried
  • 073067b feat: copy initial version from talos-systems/talos
  • c7968c5 Initial commit

Changes since v0.3.2

1 commit

  • 23b6fc2 fix: provider modern error unwrapping

Dependency Changes

This release has no dependency changes

v0.3.2

01 Nov 07:37
v0.3.2
6d45449
Compare
Choose a tag to compare

go-retry 0.3.2 (2022-11-01)

Welcome to the v0.3.2 release of go-retry!

Please try out the release binaries and report any issues at
https://github.com/siderolabs/go-retry/issues.

Contributors

  • Andrey Smirnov
  • Alexey Palazhchenko
  • Andrey Smirnov
  • Andrey Smirnov

Changes

9 commits

  • 6d45449 chore: rekres, rename
  • c78cc95 fix: implement errors.Is for all errors in the set
  • 7885e16 feat: add ExpectedErrorf
  • 3d83f61 feat: deprecate UnexpectedError
  • b9dc1a9 feat: add support for context.Context in Retry
  • 8c63d29 fix: correctly implement error interfaces on wrapped errors
  • 752f081 feat: add an option to log errors being retried
  • 073067b feat: copy initial version from talos-systems/talos
  • c7968c5 Initial commit

Changes since v0.3.1

1 commit

Dependency Changes

This release has no dependency changes

v0.3.1

24 Jun 14:00
Compare
Choose a tag to compare
fix: implement `errors.Is` for all errors in the set

Previously it matched only a single error if the set consists of a
single error. But the retry might fail many times on some expected error
followed by unexpected error which we want to test for with 'errors.Is'.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>

v0.3.0

18 May 07:59
Compare
Choose a tag to compare
  • Added ExpectedErrorf
  • Deprecated UnexpectedError

v0.2.0

30 Dec 14:39
Compare
Choose a tag to compare
fix: correctly implement error interfaces on wrapped errors

There were two problems:

* `ExpectedError` and `UnexpectedError` should unwrap themselves
* `ErrorSet` should support equivalency check when there's a single
error inside.

This fixes the scenario of matching an error from a retry loop (in case if
just a single error was encountered).

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>

v0.1.0

02 Sep 13:22
Compare
Choose a tag to compare

Initial release.