NATS Go Client v1.2.2 Release Notes

Release Date: 2016-10-26 // about 5 years ago
  • πŸ”„ Changelog

    βž• Added

    • πŸ‘Œ Support for cluster auto-discovery with servers v0.9.4+
    • Conn.IsConnected method to verify if client is connected
    • Conn.DiscoveredServers to get the list of servers discovered after initial connect
      to server part of a cluster (with servers v0.9.4+)
    • Custom Dialers for nats.Connect()
    • πŸ— staticcheck in Travis build

    ⚑️ Updated

    • README’s Clustered Usage section
    • πŸ— Travis build with go 1.7.3

    βœ‚ Removed

    • πŸ— Travis build with go 1.5

    πŸ›  Fixed

    • 0️⃣ Use default connect timeout in opts.Connect() if none is specified
    • Chan subscribers could not receive more than 65536 messages
    • πŸ‘ Allow message size of 0 in examples/nats-bench.go
    • Ensure message count is greater than 0 in examples/nats-bench.go
    • If Options.Url is set, ensure it is tried first on initial connect
    • Data race with Conn.LastError()
    • ⚠ Warning from go 1.7.3 with TLS config copy

    Complete Changes