Skip to content

v2.1.0

Choose a tag to compare

@mtingers mtingers released this 11 May 01:28
· 1 commit to main since this release

Added

  • fence_from_token(token) — decodes the 64-bit monotonic fence prefix from a grant token, mirroring the Go client's FenceFromToken. dflockd grant tokens are <16-hex monotonic prefix><16-hex random salt>; the prefix strictly increases on every grant from a server instance, so a token doubles as a fencing token for downstream resources. Exposed as an int and re-exported from the top-level dflockd_client package.

Full Changelog: v2.0.1...v2.1.0