Skip to content

Releases: nats-io/stan.go

Release v0.7.0

23 Jun 15:59
5506c5c
Compare
Choose a tag to compare

Changelog

Added

  • Clarification that GetDefaultOptions() is meant to be used by the library itself, not users (#307)

Updated

  • Dependencies and added a go_tests.mod file to separate dependencies for building vs running tests (note: the -modfile go tooling argument requires Go 1.14+) (#316)

Complete Changes

v0.6.0...v0.7.0

Release v0.6.0

20 Dec 16:24
e2d4c02
Compare
Choose a tag to compare

Changelog

Added

  • RedeliveryCount in the PubMsg protobuf. Note that this value will always be zero until the feature is supported in the Streaming Server (#295)

Fixed

  • Connection Close() could deadlock if there were async publish calls with AckHandler that would access that connection (#298)

Complete Changes

v0.5.2...v0.6.0

Release v0.5.2

03 Dec 18:58
c223adc
Compare
Choose a tag to compare

Changelog

With the release of Go 1.13.3, the go get github.com/nats-io/stan.go is now working!

Updated

  • Example tools to default to async publish, be able to use NATS 2.0 features (--creds), etc.. (#274)
  • Default URL to use loopback instead of localhost (#290)
  • NATS Dependency (#290)

Improved

  • Added wrong cluster ID hint in connect timeout error. Thanks to @politician for the report (#286)
  • Documentation to indicate thread safety of Conn and Subscription. Thanks to @JensRantil for the report (#291)

Fixed

  • Set internal NATS subscriptions limits to "unlimited" (#287)
  • Check in Pings() option setter. Thanks to @ivanovaleksey for the contribution (#289)

Complete Changes

v0.5.0...v0.5.2

Release v0.5.0

04 Jun 21:05
c5efdc3
Compare
Choose a tag to compare

Changelog

Added

  • go.mod
  • GetDefaultOptions() to ensure new set of option is used. Thanks to @anxinyf for the contribution (#264)
  • PingInterval to replace PingIterval which was with a typo. Thanks to @MartinForReal for the contribution (#267)

Deprecated

  • DefaultOptions, use GetDefaultOptions() instead (#264)
  • PingIterval, use PingInterval instead (#267)

Complete Changes

nats-io/go-nats-streaming@v0.4.5...v0.5.0

Release v0.4.5

16 May 17:13
71833a7
Compare
Choose a tag to compare

Changelog

Changed

  • The repository has been renamed to stan.go. When doing a go get github.com/nats-io/stan.go/, make sure to include the trailing / to avoid such error: stat github.com/nats-io/stan.go: no such file or directory (#255, #261)

Complete Changes

nats-io/go-nats-streaming@v0.4.4...v0.4.5

Release v0.4.4

09 May 14:55
7cd94c2
Compare
Choose a tag to compare

Changelog

Fixed

  • Internal behavior on a failed connect (#231)
  • Memory usage for repeated Connect()/Close(). Thanks to @JensRantil for the report (#252)
  • Some typos. Thanks to @codyoss for the contribution (#235)

Improved

Complete Changes

nats-io/go-nats-streaming@v0.4.2...v0.4.4

Release v0.4.2

14 Mar 16:35
4366d43
Compare
Choose a tag to compare

Changelog

Added

  • Benchmark tool: ability to set a queue group. Thanks to @shohi for the request (#201)
  • Documentation about advanced configuration of a connection. Thanks to @lynic and @koliyo for the feedback (#211)

Fixed

  • Benchmark tool usage. Thanks to @shohi for the report (#199)
  • Race condition between Conn.Subscribe() and Conn.Close(). Thanks to @meAmidos for the report (#207)
  • Import statement in README. Thanks to @cemremengu for the contribution (#218)
  • NATS Subscriptions leak on failed connect. Thanks to @shohi (#227)

Updated

  • Removed reference to PublishAsyncWithReply in README. Thanks to @powerman for the report.
  • Documentation of NatsURL(). Thanks to @vtolstov for the report (#224)
  • Travis go versions. Thanks to @msoap for the contribution (#205)

Complete Changes

nats-io/go-nats-streaming@v0.4.0...v0.4.2

Release v0.4.0

02 Jun 00:40
e15a53f
Compare
Choose a tag to compare

Changelog

Added

  • Expose NATS Subscription methods for the NATS Streaming Subscription. Thanks to @jack0 (#116)
  • Propagate Streaming ClientID to the underlying NATS Connection. Thanks to @pxue (#127)
  • Ability to specify cluster name in stan-bench tool (#168)
  • Ability to send PINGs to server and callback to be notified of loss of connectivity. Thanks to @ripienaar for the feedback (#183)

Improved

  • Documentation about ClientID restrictions (#139)

Fixed

  • Possible duplicate processing of a PubAck (#131)
  • Benchmark tool now starts timer for subscription when getting the first message (#163)
  • Benchmark tool now fails on PublishAsync error report (#187)
  • Subscription start options in README. Thanks to @DeamonMV (#170)

Changed

  • Examples moved to their own directory. Thanks to @sslavic for the suggestion (#166)
  • Moved to Apache 2.0 as part of move to CNCF (#172)

Complete Changes

nats-io/go-nats-streaming@v0.3.4...v0.4.0

Release v0.3.4

12 Dec 17:27
Compare
Choose a tag to compare

Changelog

This release is mainly to align with the v0.3.4 server. It adds support for Subscription.Close().

Added

  • Support for Subscription.Close() to close a subscriber without unsubscribing it (#115, #123)
  • Run Staticcheck in Travis builds (#126)

Updated

  • Build with Go 1.7.4
  • StartAtSequence and StartAtTimeDelta no longer fail if out of range

Fixed

  • Benchmark tool was not using the provided URL (#119)

Complete Changes

nats-io/go-nats-streaming@v0.3.0...v0.3.4

Release v0.3.0

19 Oct 21:03
Compare
Choose a tag to compare

Changelog

This release is to align to the NATS Streaming server that has been also updated to v0.3.0

Added

  • Documentation for Queue Groups and Durable Queue Groups that server v0.3.0 now supports.

Fixed

  • Panic when passing a non connection NATS connection to the stan.Connect() call.

Removed

  • Publish with reply APIs. The request/reply pattern does not work well with Streaming. We recommend using a regular NATS connection if your application needs to do request/reply.