Skip to content

v0.4.0

Latest

Choose a tag to compare

@ghostdogpr ghostdogpr released this 11 Sep 04:41
· 1 commit to main since this release
87373fb

Release Notes

This release adds distributed locks for Redis and Valkey across all five Sage backends and standalone, master-replica, and cluster deployments.

  • Distributed locks. client.lock[K] acquires a renewable lease before running the body and releases it afterward. withLock waits up to the supplied timeout when a lock is busy. tryWithLock returns None without running the body. Sage checks ownership during renewal and release, retries temporary connection and routing failures within the operation budget, and raises SageException.LockLost if it loses ownership. See Distributed locks.

  • Scala 3.9 LTS. Sage now requires Scala 3.9.0 or later. Projects using Scala 3.3 must upgrade their Scala version before adopting this release.

What's Changed