Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.13 KB

CHANGELOG.md

File metadata and controls

36 lines (22 loc) · 1.13 KB

1.0.0 (2021-04-02)

This is a major release and contain breaking changes. Please read this changelog before upgrading.

BREAKING CHANGES

  • Drop support for node 6.

Bug Fixes

v0.2.0

  • Merge #18: Pass lock id to .lock callback.

v0.1.3

  • Allow proper use of Warlock with different redis clients.

v0.1.2

  • Update uuid dependency to v2.0.1.
  • Merge #5: Fix Lua script arg usage.

v0.1.1

  • Bugfix

v0.1.0

  • Key generator no longer md5's the key. Instead appends a ':lock' string to the original key. To override, set warlock.makeKey to your own function.
  • Lock ownership check uses uuid.v1 value.
  • Bump Redis requirement to v2.6.12.
  • Using additional Redis SET arguments to set lock key instead of script.
  • Add warlock.optimistic method.