JeroMQ v0.4.0 Release Notes
Release Date: 2017-03-22 // about 7 years ago-
โ Added
#366: support for
ZMQ_REQ_RELAXED
andZMQ_REQ_CORRELATE
socket options๐ #375: re-added
ZMQ.Socket.disconnect
, which had been removed in 0.3.6 because the contributor who originally added it did not agree to the license change from LGPL to MPLv2
๐ Changed
#374:
- fixed a NullPointerException and mangling of existing indexes in ZMQ.Poller
- fixed a Windows bug in Signaler
- other small changes to keep JeroMQ in sync with jzmq
#386: improved deallocation of polling Selector resources. When creating a poller via
ZMQ.Context.poller
orZContext.createPoller
, the context will manage the Selector resources and ensure that they are deallocated when the context is terminated.๐ฅ #387: (BREAKING CHANGE) It is no longer possible to create a ZMQ.Poller in any way except via a context. This is to ensure that all Selector resources are deallocated when a context is terminated.
#388
ZMQ.Socket.setLinger
can now be called safely after a context is terminated.๐ #390: fixed a bug where terminating a context while polling would sometimes cause a ClosedChannelException.
๐ #399: fixed a NullPointerException that would sometimes occur when terminating a context
๐ฅ #400: (BREAKING CHANGE)
- deprecated the setters
setIoThreads
,setMain
andsetContext
inZContext
. These parameters are set in the constructor andfinal
. Because it is no longer possible to set these values after constructing a ZContext, the setters are now no-ops.
- deprecated the setters
#402: added constructors for ZPoller that take a ZContext argument, thus making it possible to create a ZPoller whose Selector resources are managed by the context.