Skip to content

Release v1.9.0

Compare
Choose a tag to compare
@kozlovic kozlovic released this 30 Oct 18:17
41e7eae

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