ZeroMQ v4.2.4 Release Notes

Release Date: 2018-03-21 // about 6 years ago

    ๐Ÿ†• New DRAFT (see NEWS for 4.2.0) socket options:

    • ZMQ_LOOPBACK_FASTPATH to enable faster TCP loopback on Windows
    • ZMQ_METADATA to set application-specific metadata on a socket
      See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details.

    ๐Ÿ†• New DRAFT (see NEWS for 4.2.0) context options:

    • ZMQ_ZERO_COPY_RECV to disable zero-copy receive to save memory
      ๐ŸŽ at the expense of slower performance
      See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details.

    New DRAFT API zmq_stopwatch_intermediate which returns the time
    elapsed without stopping the stopwatch.

    ๐Ÿ‘ TIPC: support addressing TIPC Port Identity addresses.

    โž• Added CMake option to disable tests: BUILD_TESTS

    โž• Added CMake and autotools make targets to support clang-formatter:
    ๐Ÿ‘‰ make clang-format, clang-format-check and clang-format-diff to
    ๐Ÿ’… help developers make sure their code conforms to the style guidelines

    โœ… For distributors: a new test framework has been added, which
    includes a copy of the Unity source code. This source code library is
    distributed under the MIT license and thus is compatible with
    libzmq's LGPL3.

    ๐Ÿ›  Fixed #2867 - add ZeroMQConfig.cmake.in to distributable tarball

    ๐Ÿ›  Fixed #2868 - fix OpenBSD build

    ๐Ÿ›  Fixed #2870 - fix VC++ 11.0 (VS2012) build

    ๐Ÿ›  Fixed #2879 - prevent duplicate connections on PUB sockets

    ๐Ÿ›  Fixed #2872 - fix CMake tests on Windows

    ๐Ÿ›  Fixed #2895 - fix assert on Windows with POLL

    ๐Ÿ›  Fixed #2920 - fix Windows build with Intel compiler

    ๐Ÿ›  Fixed #2930 - use std::atomic when available with VC++ and VS2015

    ๐Ÿ›  Fixed #2910 - fix race condition with ZMQ_LINGER socket option

    Fixed #2927 - add support for ZMQ_XPUB_NODROP on ZMQ_RADIO

    Fixed #2820 - further clarify ZMQ_XPUB_VERBOSE(R) documentation.

    Fixed #2911 - ZMQ_DISH over UDP triggers errno_assert() after hitting
    watermark

    ๐Ÿ›  Fixed #2942 - ZMQ_PUB crash when due to high volume of subscribe and
    unsubscribe messages, an unmatched unsubscribe message is
    received in certain conditions

    ๐Ÿ›  Fixed #2946 - fix Windows CMake build when BUILD_SHARED is off

    ๐Ÿ›  Fixed #2960 - fix build with GCC 8

    ๐Ÿ›  Fixed #2967 - fix race condition on thread safe sockets due to pthread
    condvar timeouts on OSX

    ๐Ÿ›  Fixed #2977 - fix TIPC build-time availability check to be more relaxed

    ๐Ÿ›  Fixed #2966 - add support for WindRiver VxWorks 6.x

    ๐Ÿ›  Fixed #2963 - fix some PVS Studio static analysis warnings

    ๐Ÿ›  Fixed #2983 - fix MinGW cross-compilation

    ๐Ÿ›  Fixed #2991 - fix mutex assert at shutdown when the zmq context is part
    of a class declared as a global static