Release v1.9.0
Changelog
With the release of Go 1.13.3, the go get github.com/nats-io/nats.go
is now working!
Added
- Notes in README on using
go get
and Go modules (#481) NoCallbacksAfterClientClose()
connection option to prevent invocation of connection callback on explicit Close() (#514)
Updated
- Examples (log error, use Drain(), etc..)
- Replaced use of
DisconnectHandler
withDisconnectErrHandler
in our examples. Thanks to @kaxap for the contribution (#504)
Improved
- When creating a subscription, error will now be reported if using a bad subject or queue name (#500)
- Support for
~
when providing the user credentials file(s) (#512)
Fixed
- Document issues. Thanks to @JensRantil for the report.
- Some errors in code examples in the README. Thanks to @thylong for the contribution (#507)
- Allow synchronous subscriptions to use
msg.Respond()
when `AutoUnsubscribe() is used (#489) - Wrong error returned in
NextMsg()
andNextMsgWithContext()
. Thanks to @ekle for the report (#492) - Handling of expiration and auth errors on reconnect (#499, #506)
- Data race between
processMsg()
andStats()
. Thanks to @Will2817 for the report (#521)