build(deps): update module github.com/bsm/redislock to v0.10.0

This MR contains the following updates:

Package Type Update Change
github.com/bsm/redislock require minor v0.9.4 → v0.10.0

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


Release Notes

bsm/redislock (github.com/bsm/redislock)

v0.10.0

Compare Source

  • Feature: New ObtainMulti method to acquire multiple locks atomically #​70
  • Feature: Lock.Refresh now accepts an Options.RetryStrategy and retries transient redis errors.
  • Fix: a lost lock (refresh against a key whose value no longer matches) now returns ErrNotObtained immediately instead of being silently retried by the retry loop.
  • Fix: withRetry surfaces the last transient error when retries are exhausted, instead of masking it as ErrNotObtained.
  • Fix: when retries are interrupted by a cancelled context, return errors.Join(ErrNotObtained, ctx.Err()) (or the last transient error joined with ctx.Err()) so callers can match on both with errors.Is.
  • Docs: clarify ExponentialBackoff formula and the behaviour of its min/max arguments (first wait is 4ms; pass min >= 16ms for a sensible floor, non-zero max to cap growth).
  • Chore: bump go-redis/v9 to v9.19.0 and raise minimum Go to 1.25 #​86.
  • Docs: add an external watchdog example showing how to periodically call Lock.Refresh from caller code, keeping refresh cadence and error handling out of the library.

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.

Edited by GitLab Dependency Bot

Merge request reports

Loading
Loading