nats-go @ v1.6.0
integrity
- size
- 138.4 KiB
- downloaded
- last checked
release notes
Changelog
Added
PingInterval()option. Thanks to @karpovicham for the contribution (#361)- Ability to suppress receiving messages published by own connection, aka
NoEcho()option. Requires server 1.2.0+ (#375) - Ability to drain subscriptions and/or connections (#378, #380)
Improved
- Simpler URLs. It is now possible to simply pass hostname without scheme nor port (which defaults to 4222). That is,
nats.Connect("myhost")is now equivalent tonats.Connect("nats://myhost:4222"). Also switches automatically to secure connection (TLS) if server requests it (#381)
Fixed
- Possible deadlock in asynchronous connection callbacks. Thanks to @teh-cmc for the contribution (#365, #369)
Close()may not release resources immediately. Thanks to @mjgarton for the report (#370)- Benchmark tool (
nats-bench) now starts subscriber's timer when getting the first message (#379) - API Documentation related to creation of various subscription types. Thanks to @nussjustin for the report (#383)
- Panic if passing a nil option to
nats.Connect(). They will now be ignored (#385) - RequestWithContext or NextMsgWithContext could return a message although the context was canceled or timed-out (#387)
Complete Changes
download
unix · zip
curl -fL -o v1.6.0.zip https://ratatoskr.space/pkg/nats-go/v1.6.0.zip
printf '%s %s\n' '3e022f55d8bd78b493d6c28231995960fe45c51708f8fc272a6d45cad8b3ad10' 'v1.6.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.6.0.zip"
$out = "v1.6.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "3e022f55d8bd78b493d6c28231995960fe45c51708f8fc272a6d45cad8b3ad10") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.6.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.6.0.tar.gz
printf '%s %s\n' '6ab323cca027b25dc54f238212ed85fd15cd201834faa99d1453488bdd2a588d' 'v1.6.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.6.0.tar.gz"
$out = "v1.6.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6ab323cca027b25dc54f238212ed85fd15cd201834faa99d1453488bdd2a588d") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.6.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.6.0.zip
printf '%s %s\n' '3e022f55d8bd78b493d6c28231995960fe45c51708f8fc272a6d45cad8b3ad10' 'v1.6.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.6.0.zip"
$out = "v1.6.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "3e022f55d8bd78b493d6c28231995960fe45c51708f8fc272a6d45cad8b3ad10") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.6.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.6.0.tar.gz
printf '%s %s\n' '6ab323cca027b25dc54f238212ed85fd15cd201834faa99d1453488bdd2a588d' 'v1.6.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.6.0.tar.gz"
$out = "v1.6.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6ab323cca027b25dc54f238212ed85fd15cd201834faa99d1453488bdd2a588d") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.6.0.zip | zip | 138.6 KiB |
blake3-24 7022ac4a79fc623203242f82ec16cddd9f15af38c2493205
sha256 3e022f55d8bd78b493d6c28231995960fe45c51708f8fc272a6d45cad8b3ad10
sha1 9bf00e596dbacc6f703a653c0cbe803fdef6ca10
|
| v1.6.0.tar.gz | tar.gz | 104.7 KiB |
blake3-24 27a7319fc7b4059aba6868b0197b73767c52b1a92b0f2a12
sha256 6ab323cca027b25dc54f238212ed85fd15cd201834faa99d1453488bdd2a588d
sha1 2fccbd7c75a4bdc513d76e85974d56158aad5a72
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.6.0.tar.gz"],
integrity = "sha256-arMjzKAnsl3FTyOCEu2F/RXNIBg0+qmdFFNIi90qWI0=",
strip_prefix = "nats-go-v1.6.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.6.0.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.6.0.tar.gz"],
integrity = "sha256-arMjzKAnsl3FTyOCEu2F/RXNIBg0+qmdFFNIi90qWI0=",
strip_prefix = "nats-go-v1.6.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.6.0.tar.gz",