Releases: nickdesaulniers/node-nanomsg
Releases · nickdesaulniers/node-nanomsg
v4.1.0
Bug fixes and Node 12 Support:
- Add support for node 12 #211 [@nickdesaulniers ]
- linux.gypi: audit cflags passed to nanomsg #217 [@nickdesaulniers]
- fix vulnerable devDependencies #212 [@nickdesaulniers]
- Fix new Buffer() deprecation warnings #213 [@nickdesaulniers]
v4.0.2
update to [email protected] -- cleans up ForceSet
deprecation warning during npm install
v4.0.1
v4.0.0
we're happy to announce the next major release of node-nanomsg
:
- upgrade to nanomsg 1.1.0 (@nickdesaulniers) #182 #181
- add NN_MAXTTL option w/ sockopt api support, see docs (@reqshark) #190
- stop libuv polling on every socket on call to term() (@nickdesaulniers) #184
- fix IPv6 tests for the new travis environments (@reqshark) #188
- remove old (unused) methods from socket prototype (
getsockopt()
andsetsockopt()
) #179
cheeers! 🍻
with special thanks to:
v3.3.0
add socket.dontwait(bool)
option for controlling libnanomsg flag NN_DONTWAIT
socket.dontwait(boolean)
(Function, param: Boolean, default: true
, except PUSH sockets): Sets the NN_DONTWAIT flag, specifying that the operation should be performed in non-blocking mode,
true
for non-blocking modefalse
for blocking mode
Pass no parameter for the socket's current mode.
socket.dontwait(false);
console.log(socket.dontwait()); // false
// or set when socket is started:
require('nanomsg').socket('pub', { dontwait: false });
Special thanks to:
v3.2.4
v3.2.3
v3.2.2
v3.2.1
improved pub/sub:
- make
send()
andrecv()
non-blocking [@alimousazy]
fixed --use_system_libnanomsg
install flag:
- added support for OS X [@nickdesaulniers, @reqshark]