Changelog
Added
ConnectHandler
connect option to detect that initial connection was established. This is especially useful when combined withRetryOnFailedConnect
(#1133 )IgnoreAuthErrorAbort
connect option to prevent aborting reconnect attempts after receiving the same authentication error twice (#1141)SkipTLSHandshake
option toCustomDialer
.SkipTLSHandshake
method can be implemented on a custom dialer to prevent TLS handshake if not needed (#1147)- KV:
- JetStream:
- Add
ErrLeadershipChanged
error, returned when consumer leadership has changed during a pull request on a consumer. Thanks to @sata-form3 for the contribution (#1151)
- Add
Improved
- Remove deprecated usages of
io/ioutil
. Thanks to @cesarvspr for the contribution (#1150) - Remove experimental notice from KV implementation (#1154)