Skip to content

Releases: paddor/cztop

v1.2.7

12 Jul 19:43
Compare
Choose a tag to compare
  • CZTop::Socket#wait_readable: honor small (< 0.5s) timeouts
  • CZTop::Socket#wait_writable: honor small (< 0.5s) timeouts

v1.2.6

12 Jul 16:54
Compare
Choose a tag to compare
  • add missing require 'io/wait' to get IO#wait_readable
  • CZTop::Socket#wait_readable
    • drop broken support for Ruby < 3.2
    • work around quirks of edge-triggered ZMQ FD
  • CZTop::Socket#wait_writable
    • drop broken support for Ruby < 3.2
    • work around quirks of edge-triggered ZMQ FD
    • fix waiting for readiness on ZMQ FD

v1.2.5

10 Jul 23:52
Compare
Choose a tag to compare
  • CZTop::Socket::ROUTER#wait_writable: don't raise SocketError if no peer is connected
    • even if ZMQ_ROUTER_MANDATORY is set
    • this can be used to wait for connected peers
    • set a #sndtimeo if you want a an exception
  • CZTop::Socket::CLIENT#wait_writable: don't raise SocketError if no peer is connected
    • this can be used to wait for connected peers
    • set a #sndtimeo if you want a an exception
  • CZTop::ZsockOptions#[] and #[]=: avoid calling #public_methods if possible

v1.2.4

16 Jan 10:39
Compare
Choose a tag to compare
  • PolymorphicZsockMethods#wait: fail with NotImplementedError inside non-blocking Fibers
  • fail with ArgumentError when sending message with no parts

v1.2.3

07 Jan 22:07
Compare
Choose a tag to compare

v1.2.2

07 Jan 20:28
Compare
Choose a tag to compare
  • restore compatibility with Ruby 3.0+
  • fix latency issue

v1.2.1

07 Jan 03:54
Compare
Choose a tag to compare
  • fix changelog URI

v1.2.0

07 Jan 03:50
Compare
Choose a tag to compare
  • refactor waiting for socket readability/writability
  • fix ROUTER socket hanging in busy loop if ZMQ_ROUTER_MANDATORY flag is set and sending a message while no peers are connected
  • same for unconnected CLIENT sockets
  • slim down packaged gem
  • modernize examples
  • require Ruby 3.2
  • some exceptions changed from EAGAIN to IO::TimeoutError
  • Certificate.load and .new_from raise NotImplementedError if CURVE is not available

v1.1.2

05 Jan 16:31
Compare
Choose a tag to compare
  • refactor to make code Fiber Scheduler agnostic
  • remove Async::IO::CZTopSocket

v1.1.1

04 Jan 21:36
Compare
Choose a tag to compare
  • speed up Async::IO#wait_readable and #wait_writable
  • update CI and specs