Skip to content

update-go-pkg(deps): bump github.com/bsm/redislock from 0.9.4 to 0.10.0 - #2175

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/main/github.com/bsm/redislock-0.10.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/main/github.com/bsm/redislock-0.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/bsm/redislock from 0.9.4 to 0.10.0.

Changelog

Sourced from github.com/bsm/redislock's changelog.

v0.10.0

  • 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.
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 5, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner October 5, 2026 01:32
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 5, 2026
Bumps [github.com/bsm/redislock](https://github.com/bsm/redislock) from 0.9.4 to 0.10.0.
- [Changelog](https://github.com/bsm/redislock/blob/main/CHANGELOG.md)
- [Commits](bsm/redislock@v0.9.4...v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/bsm/redislock
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/main/github.com/bsm/redislock-0.10.0 branch from 26547a5 to 91118ab Compare October 15, 2026 05:45

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants