chore(deps): update module github.com/avast/retry-go/v5 to v5.0.1

This MR contains the following updates:

Package Type Update Change Pending
github.com/avast/retry-go/v5 require patch v5.0.0 → v5.0.1 v5.1.1 (+1)

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

avast/retry-go (github.com/avast/retry-go/v5)

v5.0.1

Compare Source

Patch release — no public API changes.

Bug fixes

  • Backoff delay overflow with very large Delay — the shift cap was computed via math.Log2 on a float64, which underflowed for delays near math.MaxInt64, producing invalid backoff delays. The cap is now derived exactly from the bit length of math.MaxInt64. (#​161)
  • AttemptsForError is now honored when Attempts is 0 (UntilSucceeded) — the per-error budget was previously ignored in the retry-until-success loop; this also fixes a uint underflow when a budget of 0 was configured, which caused infinite retries. (#​163, fixes #​137)
  • Unbounded error accumulation with LastErrorOnly(true) — errors were appended to the internal error log on every attempt even though only the last one is returned, growing memory without bound on long retry runs (e.g. Attempts(math.MaxUint) + context cancellation). Only the last error is retained now; the returned error is unchanged. (#​155, fixes #​118)

Documentation & tooling

  • Clarified the v5 migration for DoWithData → NewWithData[T] (#​152)
  • README is now generated by an in-repo stdlib tool (tools/genreadme) with a CI golden-file check, replacing the unmaintained godocdown — the v5 changelog and doc links now render correctly on both GitHub and pkg.go.dev (#​169, resolves #​77)
  • CI: Go 1.26/1.27 added to the matrix, pre-1.24 Go excluded from macOS runners, Codecov no longer fails Dependabot MRs (#​165, #​166)
  • Development dependency: testify 1.11.1 → 1.12.1 (#​168)

Thanks to @​bensynapse, @​AdamMagued, @​Yanhu007, @​c-tonneslan, @​AruneshDwivedi and @​team-humaki — whose contributions, including the ones superseded during review, shaped this release. 🙏


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Mend Renovate CLI.

Merge request reports

Loading
Loading