Hazelcast Node.js Client 4.0.1
This document includes the new features, enhancements, and fixed issues for Hazelcast Node.js Client 4.0.1 release.
New Features
- None.
Enhancements
- Listener deregistration was made more fault-tolerant. Now, it returns immediately and proceeds all server-side calls in the background. #627
Fixes
CountDownLatch#countDown
could give up early on timeout error. #620IMap
's lock-related calls may throwOperationTimeoutError
when a member dies. #622- Some public API methods with
Promise<void>
return type could return Promise with wrong non-void resolve type. #633 FencedLock
'slock
/tryLock
methods did not clean up CP session resources on unexpected error. #642- Session-aware
Semaphore
was not properly releasing CP session in case of exception handling. #660 - Java API code snippets and JAAS code sample were using 3.12 API instead of the 4.0 one. #669
- Incorrect splice usage in
IMap#getAll
call for maps with Near Cache. #672 - Client was not waiting for backup acks listener registration on start. #682
- Listener registration did not wait for all connections. #682
- Client had some floating promises which could lead to unhandled promise rejections. #686
- Client did not clean up resources on failed start, i.e. if one of client start's steps failed, there could be active background tasks left. #692
Breaking Changes
- None.
Known Issues
- None.