nats-go @ v1.23.0
integrity
- size
- 445.7 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Overview
This release focuses on improvements in micro package, most notably adding a possibility to create a service with multiple endpoints.
Added
- Service API (
micro):- Support for multi-endpoint services (#1180)
typefield in monitoring handlers responses (#1173)
Changed
- JetStream:
- Optimize
AddConsumer()performance by not sending JS request if consumer config has not changed (#1185)
- Optimize
- Service API (
micro):- Use interface instead of struct for
micro.Request(#1174) - Use
time.Timeinstead ofstringforStartedfield inSTATSresponse (#1175) - Service schemas are now defined per-endpoint.
- Use interface instead of struct for
Improved
- Check whether credentials in
nats.Connect()are missing before using them (#1181) - Reduce the size of the bufio.Reader for message header parsing. Thanks to @thomas-long-f3 for the contribution (#1187)
- Update go version in
go.modto 1.18 and update go version used by Travis (#1182) - Start adopting error wrapping syntax (
%w) in various errors (#1182) - Added note on disabling reconnect buffer on
nats.ReconnectBufSize()(#1169) - Fix typos in comments in
micropackage. Thanks to @chenjpu for the contribution (#1171)
Fixed
- JetStream
- Pass opts to
ConsumerInfocall inAddConsumer()(#1176) - Use custom inbox prefix in async reply. Thanks to @guyguy333 for the contribution (#1190)
- Pass opts to
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.22.1...v1.23.0
download
unix · zip
curl -fL -o v1.23.0.zip https://ratatoskr.space/pkg/nats-go/v1.23.0.zip
printf '%s %s\n' '688f4e38471066a0b62d9b8a0ef5ff2e2b34c03fc7c0ca76dc0576ab481ed6c7' 'v1.23.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.23.0.zip"
$out = "v1.23.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "688f4e38471066a0b62d9b8a0ef5ff2e2b34c03fc7c0ca76dc0576ab481ed6c7") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.23.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.23.0.tar.gz
printf '%s %s\n' '9e5593fd4f8daab2a407911eb80ca1e8c523216f02366857a619ac0b3199f9be' 'v1.23.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.23.0.tar.gz"
$out = "v1.23.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9e5593fd4f8daab2a407911eb80ca1e8c523216f02366857a619ac0b3199f9be") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.23.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.23.0.zip
printf '%s %s\n' '688f4e38471066a0b62d9b8a0ef5ff2e2b34c03fc7c0ca76dc0576ab481ed6c7' 'v1.23.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.23.0.zip"
$out = "v1.23.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "688f4e38471066a0b62d9b8a0ef5ff2e2b34c03fc7c0ca76dc0576ab481ed6c7") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.23.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.23.0.tar.gz
printf '%s %s\n' '9e5593fd4f8daab2a407911eb80ca1e8c523216f02366857a619ac0b3199f9be' 'v1.23.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.23.0.tar.gz"
$out = "v1.23.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9e5593fd4f8daab2a407911eb80ca1e8c523216f02366857a619ac0b3199f9be") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.23.0.zip | zip | 446.9 KiB |
blake3-24 6b79987c71f3cf50cbaa88354d6168e41dd9b77b07270483
sha256 688f4e38471066a0b62d9b8a0ef5ff2e2b34c03fc7c0ca76dc0576ab481ed6c7
sha1 cb76b635536cbb8dcd73d85b36f4afb89191d81f
|
| v1.23.0.tar.gz | tar.gz | 388.9 KiB |
blake3-24 dd650ae39885a9f8457ec512d593f58c736ccd5fa1278c78
sha256 9e5593fd4f8daab2a407911eb80ca1e8c523216f02366857a619ac0b3199f9be
sha1 c07c84cd58713b015f1e2db38b96e648cfd53641
|
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.23.0.zip | zip | 449.2 KiB |
blake3-24 72e4b0c60935b2d10cfe2ca3a8aea34a742e3d8b1ce3193f
sha256 06caf313af48322d1fbe466ab6ecfdffa3ec9ac5867808c4c6841bb11d69eb5a
sha1 e829ef4bd00769f9099171cc552ef9ee68e16f5a
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.23.0.tar.gz"],
integrity = "sha256-nlWT/U+NqrKkB5EeuAyh6MUjIW8CNmhXphmsCzGZ+b4=",
strip_prefix = "nats-go-v1.23.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.23.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.23.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.23.0.tar.gz"],
integrity = "sha256-nlWT/U+NqrKkB5EeuAyh6MUjIW8CNmhXphmsCzGZ+b4=",
strip_prefix = "nats-go-v1.23.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.23.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.23.0