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

latest releases: v1.34.1, v1.34.0, v1.33.1...
6 years ago

Changelog

Added

  • FlusherTimeout option to limit the time the flusher can block (#252)
  • DiscoveredServersCB connection handler invoked when a server joins the cluster (#282)
  • context.Context support with new APIs: RequestWithContext, NextMsgWithContext (#275)
  • GetDefaultOptions() produces new default Options. Should be used instead of DefaultOptions. Thanks to @nogoegst (#308)

Improved

  • Performance when connection publishes to itself and reduces risk of getting slow consumer (#285)
  • Less chatty request protocol (#295, #299)
  • Use of pool for timers in Request/NextMsg/FlushTimeout calls (#297)

Changed

  • Repo name (now go-nats) (#239)
  • Authorization errors now trigger the async error callback and do not close the connection (#300)

Fixed

  • Server pool shuffling when adding new URLs when servers join the cluster (#260)
  • Very rare panic in WaitGroup.Wait() (#268)
  • Locking in handling permission violation error from server (#289)

Deprecated

  • DefaultOptions. You should use GetDefaultOptions() instead. See #308

Complete Changes

nats-io/go-nats@v1.2.2...v1.3.0

Don't miss a new nats.go release

NewReleases is sending notifications on new releases.