Releases: nats-io/stan.go
Releases · nats-io/stan.go
Release v0.7.0
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
Release v0.6.0
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 withAckHandler
that would access that connection (#298)
Complete Changes
Release v0.5.2
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
andSubscription
. 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
Release v0.5.0
Changelog
Added
- go.mod
GetDefaultOptions()
to ensure new set of option is used. Thanks to @anxinyf for the contribution (#264)PingInterval
to replacePingIterval
which was with a typo. Thanks to @MartinForReal for the contribution (#267)
Deprecated
Complete Changes
Release v0.4.5
Release v0.4.4
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
- Documentation. Thanks to @JensRantil for the reports (#234, #247, #250)
Complete Changes
Release v0.4.2
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
Release v0.4.0
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
Release v0.3.4
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
Release v0.3.0
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.