nats-go @ v1.40.0
integrity
- size
- 749.5 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Overview
This release focuses on adding support for new features from NATS Server v2.11.0. This includes:
- Per message TTLs
- Consumer pause and resume
Batch direct get will be released in orbit. Support for consumer priority groups will be added in the next minor release.
Added
- JetStream:
- Pause and resume JetStream consumer. Thanks @yordis for the contribution (#1571)
- Per message TTL option for JetStream publish (#1825)
- Timeout option for async publish (#1819)
- Service API
- Support for disabling queue groups at service, group, and endpoint levels (#1797)
- Core NATS:
ReconnectErrCBfor handling failed reconnect attempts in a callback. Thanks @sschleemilch for the contribution (#1804)
Fixed
- JetStream
- Invalid subscription on ordered consumer in leaderless cluster (#1808)
- Ordered consumer not restarting on no responders (#1827)
- Avoid ack id collision in PublishAsync (#1812)
- Possible panic in
Consumer.Fetch(#1828) - Use
resp.Errorto show NATS error indeleteMsg. Thanks @imariman for the contribution (#1822)
- KeyValue
- Deadlock when fetching keys from KV while messages are deleted/purged (#1824)
Changed
- Bump go version to 1.23 and update dependencies (#1821)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.39.1...v1.40.0
download
unix · zip
curl -fL -o v1.40.0.zip https://ratatoskr.space/pkg/nats-go/v1.40.0.zip
printf '%s %s\n' 'a7dfa34fc6aa60791151f5ebcdd91f3ad8c3e666422eef1d2fca621279a847fa' 'v1.40.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.40.0.zip"
$out = "v1.40.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a7dfa34fc6aa60791151f5ebcdd91f3ad8c3e666422eef1d2fca621279a847fa") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.40.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.40.0.tar.gz
printf '%s %s\n' '921775bf5448f6c0bc4a4a5e4785249407abf599c2b223967466bcadb49e6112' 'v1.40.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.40.0.tar.gz"
$out = "v1.40.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "921775bf5448f6c0bc4a4a5e4785249407abf599c2b223967466bcadb49e6112") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.40.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.40.0.zip
printf '%s %s\n' 'a7dfa34fc6aa60791151f5ebcdd91f3ad8c3e666422eef1d2fca621279a847fa' 'v1.40.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.40.0.zip"
$out = "v1.40.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a7dfa34fc6aa60791151f5ebcdd91f3ad8c3e666422eef1d2fca621279a847fa") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.40.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.40.0.tar.gz
printf '%s %s\n' '921775bf5448f6c0bc4a4a5e4785249407abf599c2b223967466bcadb49e6112' 'v1.40.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.40.0.tar.gz"
$out = "v1.40.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "921775bf5448f6c0bc4a4a5e4785249407abf599c2b223967466bcadb49e6112") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.40.0.zip | zip | 751.3 KiB |
blake3-24 ef2075beafaad54b87bc377e86a880ec4f996e3a1f4a4b69
sha256 a7dfa34fc6aa60791151f5ebcdd91f3ad8c3e666422eef1d2fca621279a847fa
sha1 537cfc3de00a76b1b4f54964eee2dd239b5e799a
|
| v1.40.0.tar.gz | tar.gz | 652.4 KiB |
blake3-24 e37d13579c186ec672ee98b94daa1e2b48bf73b0f6104ceb
sha256 921775bf5448f6c0bc4a4a5e4785249407abf599c2b223967466bcadb49e6112
sha1 e06d82411e150951a462e06cf723a0acf8ab07e3
|
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.40.0.zip | zip | 755.2 KiB |
blake3-24 77b44e3592b25f077cdf839a9b2110e603862d239e6238eb
sha256 91a3a5e3b43d824dbb628e39acc284b6f0e3a0fcff930455c55bc31c01dcb18d
sha1 f551e5bab1b9a72618a300f8cf6ba781cf3a254f
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.40.0.tar.gz"],
integrity = "sha256-khd1v1RI9sC8SkpeR4UklAer9ZnCsiOWdGa8rbSeYRI=",
strip_prefix = "nats-go-v1.40.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.40.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.40.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.40.0.tar.gz"],
integrity = "sha256-khd1v1RI9sC8SkpeR4UklAer9ZnCsiOWdGa8rbSeYRI=",
strip_prefix = "nats-go-v1.40.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.40.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.40.0