Changelog
Added
Conn.Barrier()
API. This is an advance API that can be useful in some specific situations. Thanks to @nussjustin for reporting an issue during development of this feature (#338, #346)
ReconnectBufSize()
option setter. Thanks to @ripienaar (#340)
Improved
- Reduce memory usage during reconnect. Thanks to @charlievieth (#341)
- No need for regex in Connect(). Thanks to @charlievieth (#342)
- List of servers is now updated when the cluster topology changes. Will require server at version 1.0.7+ (#344, #352)
Fixed
- Protocol(s) received right after initial PONG may be missed. This would manifest with the handling of cluster topology state on connect with server 1.0.7+ (#348)
Changed
- Moved to Apache 2.0 License as part of the move to CNCF (#354)
Complete Changes
nats-io/go-nats@v1.4.0...v1.5.0