JeroMQ v0.4.0 Release Notes

Release Date: 2017-03-22 // about 7 years ago
  • โž• Added

    • #366: support for ZMQ_REQ_RELAXED and ZMQ_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 or ZContext.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 and setContext in ZContext. These parameters are set in the constructor and final. Because it is no longer possible to set these values after constructing a ZContext, the setters are now no-ops.
    • #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.