nats-go @ v1.21.0
integrity
- size
- 433.2 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Added
ConnectHandlerconnect option to detect that initial connection was established. This is especially useful when combined withRetryOnFailedConnect(#1133 )IgnoreAuthErrorAbortconnect option to prevent aborting reconnect attempts after receiving the same authentication error twice (#1141)SkipTLSHandshakeoption toCustomDialer.SkipTLSHandshakemethod can be implemented on a custom dialer to prevent TLS handshake if not needed (#1147)- KV:
- Return
ErrKeyExistserror when attempting toCreate()a KV pair for an existing key (#1135, #1136)
- Return
- JetStream:
- Add
ErrLeadershipChangederror, returned when consumer leadership has changed during a pull request on a consumer. Thanks to @sata-form3 for the contribution (#1151)
- Add
Improved
- Remove deprecated usages of
io/ioutil. Thanks to @cesarvspr for the contribution (#1150) - Remove experimental notice from KV implementation (#1154)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.20.0...v1.21.0
download
unix · zip
curl -fL -o v1.21.0.zip https://ratatoskr.space/pkg/nats-go/v1.21.0.zip
printf '%s %s\n' '448fa5fa51458cbd6b698bf385ab301ac52a0fffe8d4a21a59298449194c5f2f' 'v1.21.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.21.0.zip"
$out = "v1.21.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "448fa5fa51458cbd6b698bf385ab301ac52a0fffe8d4a21a59298449194c5f2f") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.21.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.21.0.tar.gz
printf '%s %s\n' '9744f28511e0f8f3ff0fba54c1373169975ea703424659c4e7ba8016229c06b8' 'v1.21.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.21.0.tar.gz"
$out = "v1.21.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9744f28511e0f8f3ff0fba54c1373169975ea703424659c4e7ba8016229c06b8") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.21.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.21.0.zip
printf '%s %s\n' '448fa5fa51458cbd6b698bf385ab301ac52a0fffe8d4a21a59298449194c5f2f' 'v1.21.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.21.0.zip"
$out = "v1.21.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "448fa5fa51458cbd6b698bf385ab301ac52a0fffe8d4a21a59298449194c5f2f") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.21.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.21.0.tar.gz
printf '%s %s\n' '9744f28511e0f8f3ff0fba54c1373169975ea703424659c4e7ba8016229c06b8' 'v1.21.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.21.0.tar.gz"
$out = "v1.21.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9744f28511e0f8f3ff0fba54c1373169975ea703424659c4e7ba8016229c06b8") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.21.0.zip | zip | 434.2 KiB |
blake3-24 1576a24b47d7eef8d79d476b5e269d38015fe81b8f9bec62
sha256 448fa5fa51458cbd6b698bf385ab301ac52a0fffe8d4a21a59298449194c5f2f
sha1 569b3790e748eb1cdc6a63291817e5376c7563f6
|
| v1.21.0.tar.gz | tar.gz | 376.7 KiB |
blake3-24 f2ad00c9965c6de12dde67445d613c5dd8185931c19af256
sha256 9744f28511e0f8f3ff0fba54c1373169975ea703424659c4e7ba8016229c06b8
sha1 1a4730a179b619429c19d90966b0c650e4dc6149
|
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.21.0.zip | zip | 436.5 KiB |
blake3-24 cfd153dfde3e48e6be0db67b8c839c883dfb87bea0583149
sha256 504082603ffaa6c51a1a55422cb3dc7e5820e7342da8176bfd5e5b39e9eccbc2
sha1 91100b1b2af63797135b6eabef66c5865a6cf632
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.21.0.tar.gz"],
integrity = "sha256-l0TyhRHg+PP/D7pUwTcxaZdepwNCRlnE57qAFiKcBrg=",
strip_prefix = "nats-go-v1.21.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.21.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.21.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.21.0.tar.gz"],
integrity = "sha256-l0TyhRHg+PP/D7pUwTcxaZdepwNCRlnE57qAFiKcBrg=",
strip_prefix = "nats-go-v1.21.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.21.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.21.0