Skip to content

Release v0.7.2

Compare
Choose a tag to compare
@wallyqs wallyqs released this 25 Aug 20:03
· 226 commits to main since this release
8d0dcd2

Added

  • Added NATS.connect module method that returns a NATS::IO::Client
# Returns a new NATS::IO::Client.new instance
nc = NATS.connect("nats://demo.nats.io:4222")
nc = NATS.connect(servers: ["nats://demo.nats.io:4222"])
  • Added logic to prevent multiple uses of connect when using the same client instance across different threads.
nc = NATS::IO::Client.new
nc.connect("nats://demo.nats.io:4222")
nc.connect("nats://demo.nats.io:4222") # Will not reattempt to connect if already called once.

Fixed

  • Fixed old_request handling of NATS +v2.2 servers when there are no responders