Skip to content

Releases: nickelser/suo

v0.4.0

21 Jan 18:34
Compare
Choose a tag to compare
  • Monotonic clock for locks, avoiding issues with DST (thanks @doits)
  • Pooled connection support (thanks @mlarraz)
  • Switch to Github actions for tests (thanks @mlarraz)
  • Update supported Ruby versions (thanks @mlarraz & @pat)

v0.3.4

04 Sep 21:37
Compare
Choose a tag to compare
  • Support for connection pooling when using memcached locks, via with blocks using Dalli (thanks to Lev).

v0.3.3

05 Oct 21:09
b8a1d7d
Compare
Choose a tag to compare
  • Default TTL for keys to allow for short-lived locking keys (thanks to Ian Remillard) without leaking memory.
  • Vastly improve initial lock acquisition, especially on Redis (thanks to Jeremy Wadscak).

v0.3.2

06 Oct 17:26
Compare
Choose a tag to compare
  • Custom lock tokens (thanks to avokhmin).

v0.3.1

07 May 07:18
Compare
Choose a tag to compare
  • Slight memory leak fix.

v0.3.0

16 Apr 06:14
Compare
Choose a tag to compare
  • Dramatically simplify the interface by forcing clients to specify the key & resources at lock initialization instead of every method call.

v0.2.2

14 Apr 04:46
Compare
Choose a tag to compare
  • Fix bug with refresh - typo would've prevented real use.
  • Clean up code.
  • Improve documentation a bit.
  • 100% test coverage.

v0.2.1

13 Apr 06:46
Compare
Choose a tag to compare
  • Fix bug when dealing with real-world Redis error conditions.

v0.2.0

13 Apr 05:34
Compare
Choose a tag to compare
  • Refactor class methods into instance methods to simplify implementation.
  • Increase thread safety with Memcached implementation.

v0.1.3

13 Apr 03:59
Compare
Choose a tag to compare
  • Properly throw Suo::LockClientError when the connection itself fails (Memcache server not reachable, etc.)