nats-go @ v1.31.0
integrity
- size
- 582.6 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Added
- Core NATS:
TLSHandshakeFirstoption to perform TLS handshake before receiving theINFOprotocol message. Note: This option is not yet available innats-server(#1433)
- JetStream:
CreateOrUpdateStreamhelper function to create a stream if it does not exist or update an existing stream. Thanks to @samanebi for the contribution (#1395)
Fixed
- Test (dev) dependencies are no longer added to
go.modwhen usingnats.go. Thanks to @masumomo for the contribution (#1441) - JetStream:
- Panic on
Consumer.Info()when empty response and errors are returned (#1426) - Invalid handling of heartbeats in
ConsumeandMessages(#1428) - Properly recreating ordered consumers on server restart (#1425)
- Panic on
- Legacy JetStream:
- Panic on
ConsumerInfo()when empty response and errors are returned (#1426)
- Panic on
Improved
- Fixed typos in
jetstream/README.md. Thanks @cbrake for the contribution (#1436) - Updated client dependencies list (#1439, #1440)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.30.2...v1.31.0
download
unix · zip
curl -fL -o v1.31.0.zip https://ratatoskr.space/pkg/nats-go/v1.31.0.zip
printf '%s %s\n' '7bcc7cf67deea6ef8b1c8515aa24fede4503f3830dd5c8a7d45973fecffb1c8b' 'v1.31.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.31.0.zip"
$out = "v1.31.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "7bcc7cf67deea6ef8b1c8515aa24fede4503f3830dd5c8a7d45973fecffb1c8b") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.31.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.31.0.tar.gz
printf '%s %s\n' '7c48df6e2b3ca41abb67da12adcf504284d0ee24a20dcffc80fb29916dfe23cf' 'v1.31.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.31.0.tar.gz"
$out = "v1.31.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "7c48df6e2b3ca41abb67da12adcf504284d0ee24a20dcffc80fb29916dfe23cf") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.31.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.31.0.zip
printf '%s %s\n' '7bcc7cf67deea6ef8b1c8515aa24fede4503f3830dd5c8a7d45973fecffb1c8b' 'v1.31.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.31.0.zip"
$out = "v1.31.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "7bcc7cf67deea6ef8b1c8515aa24fede4503f3830dd5c8a7d45973fecffb1c8b") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.31.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.31.0.tar.gz
printf '%s %s\n' '7c48df6e2b3ca41abb67da12adcf504284d0ee24a20dcffc80fb29916dfe23cf' 'v1.31.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.31.0.tar.gz"
$out = "v1.31.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "7c48df6e2b3ca41abb67da12adcf504284d0ee24a20dcffc80fb29916dfe23cf") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.31.0.zip | zip | 584.0 KiB |
blake3-24 548e593405526867145bcd75a917cdc10e72df2500aa0ba6
sha256 7bcc7cf67deea6ef8b1c8515aa24fede4503f3830dd5c8a7d45973fecffb1c8b
sha1 a8067bf7a4390d0f272de639f141642eab153278
|
| v1.31.0.tar.gz | tar.gz | 490.9 KiB |
blake3-24 e7c81e0cec0c75381e546826735fc9dd0ec3bb094cf9a600
sha256 7c48df6e2b3ca41abb67da12adcf504284d0ee24a20dcffc80fb29916dfe23cf
sha1 35c1d3b2c77a99099f8629811e73793b68ba0bc8
|
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.31.0.zip | zip | 587.5 KiB |
blake3-24 cfb0dd8e9fc2695cbe8df74b2d618da0a528449b3c9b2cc7
sha256 9888dfaf2be8d3591ae1b2046e2664208a2fe3db062706ef3836b09c2c5d39de
sha1 3ee6703d1f6802c1efcd64652e113a97be13db38
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.31.0.tar.gz"],
integrity = "sha256-fEjfbis8pBq7Z9oSrc9QQoTQ7iSiDc/8gPspkW3+I88=",
strip_prefix = "nats-go-v1.31.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.31.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.31.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.31.0.tar.gz"],
integrity = "sha256-fEjfbis8pBq7Z9oSrc9QQoTQ7iSiDc/8gPspkW3+I88=",
strip_prefix = "nats-go-v1.31.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.31.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.31.0