PackageTrack
Sign in Get early access

github.com/bsm/redislock

v0.10.0 #1161 most downloaded on Go modules bsm/redislock

What this package is like to depend on

Last release 1 months ago

27 Jun 2026

Release timing varies

gaps range from 2 weeks to 1.2 years

Some releases are documented

notes for 11 of 19 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

49 releases · first in 2019

3 releases in the last 12 months

see the full history below

Release timeline

49 releases · Jun 2019 to Jun 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 49
  1. v0.10.1-0.20260627100305-707d1239162d 27 Jun 2026 pre-release

    Nothing published for this version

  2. v0.10.1-0.20260520153911-76760bd8b284 20 May 2026 pre-release

    Nothing published for this version

  3. v0.10.0 18 May 2026
    Release notes
    • 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.
    Open source →
  4. v0.9.5-0.20250609154645-6ba61a38e6e6 09 Jun 2025 pre-release

    Nothing published for this version

  5. v0.9.5-0.20240321122937-bfd385b776d1 21 Mar 2024 pre-release

    Nothing published for this version

  6. v0.9.5-0.20231124153259-f36df6a86c19 24 Nov 2023 pre-release

    Nothing published for this version

  7. v0.9.4 27 Jul 2023
    Release notes

    Allow to re-obtain atomically with custom tokens (#71)

    Open source →
    Release notes
    • Fix: allow to re-obtain locks with tokens #71
    Open source →
  8. v0.9.4-0.20230727085113-788a79bd5bbf 27 Jul 2023 pre-release

    Nothing published for this version

  9. v0.9.3 27 Apr 2023
    Release notes

    Allow custom lock tokens (#66)

    Open source →
    Release notes
    • Feature: allow custom lock tokens #66
    Open source →
  10. v0.9.2 07 Apr 2023
    Release notes

    More graceful nil-lock handling (#68)

    Open source →
    Release notes
    • Feature: better handling of nil lock.Release() #68
    Open source →
  11. v0.9.2-0.20230323130801-bb1982d96b31 23 Mar 2023 pre-release

    Nothing published for this version

  12. v0.9.2-0.20230322132058-c0575c92b885 22 Mar 2023 pre-release

    Nothing published for this version

  13. v0.9.1 01 Mar 2023
    Release notes

    Prepare release (#59)

    Open source →
    Release notes
    • Fix: reset backoff ticker for exponential backoff #58

    v0.9.0

    • Chore: use updated go-redis import path #55
    • Chore: use redis.v9 GA #57
    Open source →
  14. v0.9.0 31 Jan 2023
    Release notes

    Use final v9 (#57)

    Open source →
  15. v0.8.3-0.20230127085052-450741db2101 27 Jan 2023 pre-release

    Nothing published for this version

  16. v0.8.2 24 Oct 2022
    Release notes

    Use ticker instead of resetting timer (#52)

    Open source →
    Release notes
    • Fix: use ticker instead of resetting timer #52
    Open source →
  17. v0.8.1 07 Oct 2022
    Release notes

    Fix compatibility with redis.v9 (#50)

    Open source →
    Release notes
    • Fix: compatibility with redis.v9 #50

    v0.8.0

    • Prepare for go-redis/redis v9 release #49
    Open source →
  18. v0.8.0 22 Aug 2022
    Release notes

    Prepare v9 release (#47)

    Open source →
  19. v0.7.3-0.20221212170127-d3b2b5b9f450 12 Dec 2022 pre-release

    Nothing published for this version

  20. v0.7.3-0.20220822074616-44f3428cf25c 22 Aug 2022 pre-release

    Nothing published for this version

  21. v0.7.3-0.20220725072335-dd6dd95c1015 25 Jul 2022 pre-release

    Nothing published for this version

  22. v0.7.2 29 Dec 2021
    Release notes

    Allow custom deadlines, re-implement tests using stdlib (#35)

    Open source →
    Release notes
    • Allow custom deadlines, use stdlib testing package #35
    • Reduce deps #38
    Open source →
  23. v0.7.2-0.20211005101629-422cf2ad0dd5 05 Oct 2021 pre-release

    Nothing published for this version

  24. v0.7.1 14 Jun 2021
    Release notes
    • Make RetryStrategy thread-safe to allow re-using Options #31 calvinxiao
    • Improve test-performance, perform race testing on CI #33

    v0.7.0

    • Replace Options.Context with explicit ctx parameter #25

    v0.6.0

    • Allow to customise retry deadlines through context #22
    • Migrate to github.com/go-redis/redis/v8 #15

    v0.5.0

    • Migrate to github.com/go-redis/redis/v7 #11
    Open source →
  25. v0.7.1-0.20210614063107-68c6b842c6bb 14 Jun 2021 pre-release

    Nothing published for this version

  26. v0.7.0 28 Oct 2020

    Nothing published for this version

  27. v0.6.0 17 Sep 2020

    Nothing published for this version

  28. v0.5.1-0.20200917125029-ae2d802a05c0 17 Sep 2020 pre-release

    Nothing published for this version

  29. v0.5.1-0.20200601122045-f03bfa1089a0 01 Jun 2020 pre-release

    Nothing published for this version

  30. v0.5.0 09 Mar 2020

    Nothing published for this version

  31. v0.4.4-0.20220822074616-44f3428cf25c 22 Aug 2022 pre-release

    Nothing published for this version

  32. v0.4.4-0.20200309093906-34cba6be70db 09 Mar 2020 pre-release

    Nothing published for this version

  33. v0.4.3 19 Dec 2019

    Nothing published for this version

  34. v0.4.3-0.20191219095057-3d76f17a9f1e 19 Dec 2019 pre-release

    Nothing published for this version

  35. v0.4.2 11 Dec 2019

    Nothing published for this version

  36. v0.4.1 11 Dec 2019

    Nothing published for this version

  37. v0.4.1-0.20191211121648-f67b9a857b8e 11 Dec 2019 pre-release

    Nothing published for this version

  38. v0.4.0 16 Sep 2019

    Nothing published for this version

  39. v0.3.1-0.20190711115936-4542fb1868e6 11 Jul 2019 pre-release

    Nothing published for this version

  40. v0.3.0 24 Jun 2019

    Nothing published for this version

  41. v0.0.0-20250609154645-6ba61a38e6e6 09 Jun 2025 pre-release

    Nothing published for this version

  42. v0.0.0-20231124153259-f36df6a86c19 24 Nov 2023 pre-release

    Nothing published for this version

  43. v0.0.0-20230727085113-788a79bd5bbf 27 Jul 2023 pre-release

    Nothing published for this version

  44. v0.0.0-20230427084720-06ee54ab54a8 27 Apr 2023 pre-release

    Nothing published for this version

  45. v0.0.0-20230131085949-0563cc4d0ee9 31 Jan 2023 pre-release

    Nothing published for this version

  46. v0.0.0-20221024130810-e3df4c2afda8 24 Oct 2022 pre-release

    Nothing published for this version

  47. v0.0.0-20220822074616-44f3428cf25c 22 Aug 2022 pre-release

    Nothing published for this version

  48. v0.0.0-20191219095057-3d76f17a9f1e 19 Dec 2019 pre-release

    Nothing published for this version

  49. v0.0.0-20190711115936-4542fb1868e6 11 Jul 2019 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive