nats-go @ v1.3.0
integrity
- size
- 110.2 KiB
- downloaded
- last checked
release notes
Changelog
Added
FlusherTimeoutoption to limit the time the flusher can block (#252)DiscoveredServersCBconnection handler invoked when a server joins the cluster (#282)- context.Context support with new APIs:
RequestWithContext,NextMsgWithContext(#275) GetDefaultOptions()produces new default Options. Should be used instead of DefaultOptions. Thanks to @nogoegst (#308)
Improved
- Performance when connection publishes to itself and reduces risk of getting slow consumer (#285)
- Less chatty request protocol (#295, #299)
- Use of pool for timers in Request/NextMsg/FlushTimeout calls (#297)
Changed
- Repo name (now go-nats) (#239)
- Authorization errors now trigger the async error callback and do not close the connection (#300)
Fixed
- Server pool shuffling when adding new URLs when servers join the cluster (#260)
- Very rare panic in WaitGroup.Wait() (#268)
- Locking in handling permission violation error from server (#289)
Deprecated
DefaultOptions. You should useGetDefaultOptions()instead. See #308
Complete Changes
download
unix · zip
curl -fL -o v1.3.0.zip https://ratatoskr.space/pkg/nats-go/v1.3.0.zip
printf '%s %s\n' '83ce4d691e67bf38d4b09299ff0f45245680c662093bd1b03f2d1436652f27ea' 'v1.3.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.3.0.zip"
$out = "v1.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "83ce4d691e67bf38d4b09299ff0f45245680c662093bd1b03f2d1436652f27ea") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.3.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.3.0.tar.gz
printf '%s %s\n' 'abbeb6bb3de0708a925a93f811937a1b7994ee60dffcb8c4e45ce7e9507f13dd' 'v1.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.3.0.tar.gz"
$out = "v1.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "abbeb6bb3de0708a925a93f811937a1b7994ee60dffcb8c4e45ce7e9507f13dd") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.3.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.3.0.zip
printf '%s %s\n' '83ce4d691e67bf38d4b09299ff0f45245680c662093bd1b03f2d1436652f27ea' 'v1.3.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.3.0.zip"
$out = "v1.3.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "83ce4d691e67bf38d4b09299ff0f45245680c662093bd1b03f2d1436652f27ea") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.3.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.3.0.tar.gz
printf '%s %s\n' 'abbeb6bb3de0708a925a93f811937a1b7994ee60dffcb8c4e45ce7e9507f13dd' 'v1.3.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.3.0.tar.gz"
$out = "v1.3.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "abbeb6bb3de0708a925a93f811937a1b7994ee60dffcb8c4e45ce7e9507f13dd") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.3.0.zip | zip | 110.3 KiB |
blake3-24 d08ee4920deece0eb5482c76d23795bb335ede500bfcb93f
sha256 83ce4d691e67bf38d4b09299ff0f45245680c662093bd1b03f2d1436652f27ea
sha1 66343235601475d25df7e9b2bb83597fe39c3a9c
|
| v1.3.0.tar.gz | tar.gz | 87.3 KiB |
blake3-24 b59fd7d189143c3b05e854be7fe5a6e169d74ae8bb415808
sha256 abbeb6bb3de0708a925a93f811937a1b7994ee60dffcb8c4e45ce7e9507f13dd
sha1 9a210663b11f9bc59e230eb37e209d434444e34e
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.3.0.tar.gz"],
integrity = "sha256-q762uz3gcIqSWpP4EZN6G3mU7mDf/LjE5Fzn6VB/E90=",
strip_prefix = "nats-go-v1.3.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.3.0.tar.gz",
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.3.0.tar.gz"],
integrity = "sha256-q762uz3gcIqSWpP4EZN6G3mU7mDf/LjE5Fzn6VB/E90=",
strip_prefix = "nats-go-v1.3.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.3.0.tar.gz",