nats-go @ v1.11.0
integrity
- size
- 245.9 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Added
- Message Headers support
Conn.HeadersSupported()returns a boolean indicating if the server, the client is currently connected to, supports headers (#582)
- JetStream support
- Websocket support (#719)
LameDuckModeHandlerto be notified when the server the application is connected to enters lame-duck mode (#572)RequestMsg(),RequestMsgWithContext()andRespondMsg()APIs, which makes it possible to use message headers with requests and replies (#574)RetryOnFailedConnect()option, which means that theConnect()calls will not fail right away if servers are not running at the first attempt to connect. Instead, the library will behave as if it was just disconnected. Thanks to @tomwilkie, @Zambiorix, @kekoav, @mnarrell, @serajam and @hbobenicio for their feedback (#581)- Support for "no responders" error on requests (#576)
- Examples:
- TLS options in
nats-pubandmats-subexamples. Thanks @egodigitus for the contribution (#615) --nkeyflat to enable NKey authentication (#728)
- TLS options in
Changed
ErrNoRespondersis now returned for a request call for which there is no application servicing the request's subject (when connecting to a server that supports the feature). Applications checking forErrTimeoutonly as a "normal" error would need to be updated (#576)
Updated
- Dependencies (#573)
- Added a go_test.mod file to limit tests dependencies versus library dependencies (#705)
Fixed
- Comment for PublishRequest API. Thanks to @hasheddan for the contribution (#570)
- Comment for encoded connection's Handler. Thanks to @aym-v for the contribution (#590)
- Possible data race between an AutoUnsubscribe() and the routine delivering messages (#726)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.10.0...v1.11.0
download
unix · zip
curl -fL -o v1.11.0.zip https://ratatoskr.space/pkg/nats-go/v1.11.0.zip
printf '%s %s\n' '21011987f59880f4d829d3146d0d59b8f4e59add3562ec0f51e8de3bbdc63cd7' 'v1.11.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.11.0.zip"
$out = "v1.11.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "21011987f59880f4d829d3146d0d59b8f4e59add3562ec0f51e8de3bbdc63cd7") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.11.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.11.0.tar.gz
printf '%s %s\n' 'dcb2038bb25fb3a954aeebe260987ded63df18f5e26284d4fc2af2ccaf7d86e1' 'v1.11.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.11.0.tar.gz"
$out = "v1.11.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "dcb2038bb25fb3a954aeebe260987ded63df18f5e26284d4fc2af2ccaf7d86e1") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.11.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.11.0.zip
printf '%s %s\n' '21011987f59880f4d829d3146d0d59b8f4e59add3562ec0f51e8de3bbdc63cd7' 'v1.11.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.11.0.zip"
$out = "v1.11.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "21011987f59880f4d829d3146d0d59b8f4e59add3562ec0f51e8de3bbdc63cd7") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.11.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.11.0.tar.gz
printf '%s %s\n' 'dcb2038bb25fb3a954aeebe260987ded63df18f5e26284d4fc2af2ccaf7d86e1' 'v1.11.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.11.0.tar.gz"
$out = "v1.11.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "dcb2038bb25fb3a954aeebe260987ded63df18f5e26284d4fc2af2ccaf7d86e1") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.11.0.zip | zip | 246.3 KiB |
blake3-24 8aaef09853d5d22c7e28749aa4a1af27cd936f1596ca2133
sha256 21011987f59880f4d829d3146d0d59b8f4e59add3562ec0f51e8de3bbdc63cd7
sha1 ce7ed1eb7fdcf3d74276e96a15796cd4e2153f71
|
| v1.11.0.tar.gz | tar.gz | 199.4 KiB |
blake3-24 46cad4aa507e70d2e880131eee2e0d2716670f600dffc453
sha256 dcb2038bb25fb3a954aeebe260987ded63df18f5e26284d4fc2af2ccaf7d86e1
sha1 8ebcd63835e53d102772c6934e65a27de1f28afd
|
go module archive
module zip with the module path rewritten to this mirror; fetched by go get through the
GOPROXY route
| artifact | format | size | hashes |
|---|---|---|---|
| v1.11.0.zip | zip | 248.2 KiB |
blake3-24 1f9cbbd45af98dbb82ca8f36e851eda6fc906f57c6000e20
sha256 dea9f00f7c65f222d796bbdc746071eed105d6906a3e16a2cfc2a859dc4703c8
sha1 7c8c2b766bbd5ff82c44ac80b453e4dc3628c2c4
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.11.0.tar.gz"],
integrity = "sha256-3LIDi7Jfs6lUruviYJh97WPfGPXiYoTU/CryzK99huE=",
strip_prefix = "nats-go-v1.11.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.11.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.11.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.11.0.tar.gz"],
integrity = "sha256-3LIDi7Jfs6lUruviYJh97WPfGPXiYoTU/CryzK99huE=",
strip_prefix = "nats-go-v1.11.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.11.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.11.0