nats-go @ v1.54.0
integrity
- size
- 915.2 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
This release raises the minimum supported Go version to 1.26 and adds support for nats-server v2.15 stream and consumer info fields.
ADDED
- Core NATS:
nats.MultipathTCP()option to enable or disable MPTCP for outbound connections (#2145)Conn.ConnectedDomain()to read the JetStream domain advertised by the connected server (#2139)
- JetStream:
ClusterInfo.Desired,PeerInfo.Peer,PeerInfo.PendingandStreamSourceInfo.Seqin stream and consumer info, reported by nats-server v2.15 (#2144)Nats-Schedule-Rollupheader const andWithScheduleRollup()publish option (#2142)
FIXED
- Core NATS:
- Panic in
DecodeHeadersMsgon inline status tokens shorter than 3 characters. Thanks @nikitha-m for the contribution (#2101) - Data race on
Subscription.sidbetweenapplyNewSIDandremoveSub(#2122)
- Panic in
- JetStream:
Messages()iterator going silent after a reconnect that completes betweenNext()calls. Thanks @1995parham for the contribution (#2135)- Legacy ordered consumer silently losing messages when the subscription hits its pending limits (#2137)
- Legacy ordered consumer reset resurrecting an unsubscribed or draining subscription (#2133)
IMPROVED
- Core NATS:
- Avoid allocation when parsing header message arguments with a fifth token. Thanks @0xAozora for the contribution (#2130)
- Preallocate reply subject buffers. Thanks @0xAozora for the contribution (#2123)
- JetStream:
- Prevent
doErrclosure escaping to the heap in async publish reply handling. Thanks @0xAozora for the contribution (#2127) - Fix typo in
Publisherinterface methods comment. Thanks @sreeram77 for the contribution (#2120)
- Prevent
- Minimum Go version is now 1.26 (#2146)
- Bump
klauspost/compressto v1.20.0 andnkeysto v0.4.16 (#2117, #2146) - Tests run locally without docker via an in-process ntf tester (#2131), and CI now runs against nats-server v2.15.0 (#2146)
- Fix flaky cluster restart tests (#2141) and list consumers test against latest server (#2138)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.53.1...v1.54.0
download
unix · zip
curl -fL -o v1.54.0.zip https://ratatoskr.space/pkg/nats-go/v1.54.0.zip
printf '%s %s\n' '08c5bfcfd21dda20a7e9339aca06aa10ddd66b24a6054848aa752db23124e7f5' 'v1.54.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.54.0.zip"
$out = "v1.54.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "08c5bfcfd21dda20a7e9339aca06aa10ddd66b24a6054848aa752db23124e7f5") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.54.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.54.0.tar.gz
printf '%s %s\n' 'e422e43ced3da439947f7af9ac6d8f642f5bb8ce2c5a4971890dc10bbd83b54f' 'v1.54.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.54.0.tar.gz"
$out = "v1.54.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e422e43ced3da439947f7af9ac6d8f642f5bb8ce2c5a4971890dc10bbd83b54f") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.54.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.54.0.zip
printf '%s %s\n' '08c5bfcfd21dda20a7e9339aca06aa10ddd66b24a6054848aa752db23124e7f5' 'v1.54.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.54.0.zip"
$out = "v1.54.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "08c5bfcfd21dda20a7e9339aca06aa10ddd66b24a6054848aa752db23124e7f5") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.54.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.54.0.tar.gz
printf '%s %s\n' 'e422e43ced3da439947f7af9ac6d8f642f5bb8ce2c5a4971890dc10bbd83b54f' 'v1.54.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.54.0.tar.gz"
$out = "v1.54.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "e422e43ced3da439947f7af9ac6d8f642f5bb8ce2c5a4971890dc10bbd83b54f") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.54.0.zip | zip | 904.4 KiB |
blake3-24 7b31d9aa66d2dd6a0d5d643173c13c8befaa0293190431a4
sha256 08c5bfcfd21dda20a7e9339aca06aa10ddd66b24a6054848aa752db23124e7f5
sha1 a7695988dc07708e9300adaae7dcbf9c9bd599ac
|
| v1.54.0.tar.gz | tar.gz | 753.7 KiB |
blake3-24 9695193735dfd1b1fe9989fcf9a112da2b86b30d4695a272
sha256 e422e43ced3da439947f7af9ac6d8f642f5bb8ce2c5a4971890dc10bbd83b54f
sha1 707c34c7554749e184719623e0d981a24c9bfa0b
|
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.54.0.zip | zip | 910.3 KiB |
blake3-24 76db510c7b58cf1d5825172ecb7324073b7b09f108d09879
sha256 572f54cb930bfcd3bc0dad4ec96071f586882489a122030185a7ffb940d07db3
sha1 1c3ab9f31894f3ff4707690a460fb71fabb15c92
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.54.0.tar.gz"],
integrity = "sha256-5CLkPO09pDmUf3r5rG2PZC9buM4sWklxiQ3BC72DtU8=",
strip_prefix = "nats-go-v1.54.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.54.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.54.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.54.0.tar.gz"],
integrity = "sha256-5CLkPO09pDmUf3r5rG2PZC9buM4sWklxiQ3BC72DtU8=",
strip_prefix = "nats-go-v1.54.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.54.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.54.0