github nats-io/nats.go v1.9.0
Release v1.9.0

latest releases: v1.35.0, v1.34.1, v1.34.0...
4 years ago

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 with DisconnectErrHandler 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() and NextMsgWithContext(). Thanks to @ekle for the report (#492)
  • Handling of expiration and auth errors on reconnect (#499, #506)
  • Data race between processMsg() and Stats(). Thanks to @Will2817 for the report (#521)

Complete Changes

v1.8.1...v1.9.0

Don't miss a new nats.go release

NewReleases is sending notifications on new releases.