github nats-io/nats.go v1.10.0
Release v1.10.0

latest releases: v1.34.1, v1.34.0, v1.33.1...
3 years ago

Changelog

Added

  • Conn.GetClientIP() returns the client IP as known by the server. Works if connected to server 2.1.6+ (#559)
  • Conn.RTT() calculates the round trip time between this client and the server (#559)

Updated

  • Protobuf import for encoder (#557)
  • Change default of Conn.Flush() from 60 to 10 seconds (#561)
  • Bump default MAX_CONTROL_LINE to 4096 (#567)

Fixed

  • Possible panic on connect if discovered server list shrinks in that process. Thanks to @kirill256 for the contribution (#550)
  • Conn.Request() with UseOldRequest option was not returning on connection Conn.Close() (#558)
  • Added jitter to the reconnection logic (#564)
  • Randomize discovered server URLs (unless NoRandomize() option is set) (#566)

Complete Changes

v1.9.2...v1.10.0

Don't miss a new nats.go release

NewReleases is sending notifications on new releases.