Releases: swarthy/redis-semaphore
Releases · swarthy/redis-semaphore
v5.6.1
- Removed
module
field from package.json
v5.6.0
- Added interface compatible client support (ex.
ioredis-mock
)
- Removed
instanceof Redis
validation in constructor
ioredis
marked as optional peerDependency, explicit ioredis
install is required now
v5.5.1
- Fix race condition for refresh started before release and finished after release
v5.5.0
- Added
identifier
constructor option.
- Added
acquiredExternally
constructor option.
- Option
externallyAcquiredIdentifier
DEPRECATED.
- Option
identifierSuffix
DEPRECATED.
v5.3.1
- Fixed reacquire expired resource in refresh
v5.3.0
- Added
stopRefresh
method
- Added
externallyAcquiredIdentifier
optional constructor option
- Removed
uuid
dependency. Droped support for Node <14.17.0
v5.2.0
- Added
acquireAttemptsLimit
method
v4.1.0
- Added
.isAcquired
property
- Added
onLockLost
constructor option
See CHANGELOG.md and README.md for usage example
v4.0.1
Added redlock mutex, semaphore, multisemaphore.
See CHANGELOG.md