NATS v1.10.0 Release Notes

Release Date: 2020-05-14 // almost 4 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


Previous changes from v1.9.2

  • ๐Ÿ”„ Changelog

    โž• Added

    • Option to set the reply subject in nats-pub example (#539)
    • The queue group name in nats-qsub example (#541)

    ๐Ÿ‘Œ Improved

    • ๐Ÿ”’ Reduced lock contention for connections receiving their own messages (#529)

    โšก๏ธ Updated

    • ๐Ÿ“ฆ Dependencies, covering the golang crypto package CVE. Thanks to @KauzClay for the contribution (#548)

    ๐Ÿ›  Fixed

    • ๐Ÿ”€ Do not use sync.Once.Do() in connection's first request. Thanks to @hubinix for the report (#538)

    Complete Changes

    v1.9.1...v1.9.2