nats-go @ v1.38.0
integrity
- size
- 740.9 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Added
- Core NATS:
- Added
UserInfoHandlerfor dynamically setting user/password (#1713) - Added
PermissionErrOnSubscribeoption, causingSubscribeSyncto returnnats.ErrPermissionViolationonNextMsg()if there was a permission error (#1728) - Added
Msgs()method onSubscription, returning an iterator (iter.Seq2[*nats.Msg, error]) for the subscription. This method is only available for go version >=1.23 (#1728)
- Added
- KeyValue:
- Added
WatchFilteredmethod to watch for updates with multiple filters (#1739)
Fixed
- Core NATS:
- Fixed closing connections on max subscriptions exceeded (#1709)
- Removed redundant nil checks. Thanks @ramonberrutti for the contribution (#1751)
- Add missing nats prefix to error (#1753)
- JetStream:
- Fixed
PublishAsyncnot closing done and stall channels after failed retries (#1719) - Set valid fetch sequence in ordered consumer's
Fetch()andNext()after timeout (#1705) - Do not overwrite ordered consumer deliver policy if start time is set (#1742)
- Fixed race condition in
MessageBatch(#1743)
- Fixed
- Legacy JetStream:
- Fixed race condition in
MessageBatch(#1743)
- Fixed race condition in
Changed
- Legacy Jetstream:
- Added client retry for jetstream async publish old API. Thanks @pranavmehta94 for the contribution (#1695)
Improved
- Moved CI to github actions (#1623, #1716)
- Use errors.New instead of fmt.Errorf to improve efficiency. Thanks @canack for the contribution (#1707)
- Fixed invalid schemas in Service API documentation (#1720)
- Added mention of TTL reset in
kv.Updatemethod. Thanks @fmontorsi-equinix for the contribution (#1727) - Updated installation commands in
README.md(#1745) - Bump
nkeysto v0.4.9 (#1750)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.37.0...v1.38.0
download
unix · zip
curl -fL -o v1.38.0.zip https://ratatoskr.space/pkg/nats-go/v1.38.0.zip
printf '%s %s\n' '4cf7c4f7cc1f000c6b620fcf8ecee084bb68f3468378c9e8f9bb2f4167ad2bea' 'v1.38.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.38.0.zip"
$out = "v1.38.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4cf7c4f7cc1f000c6b620fcf8ecee084bb68f3468378c9e8f9bb2f4167ad2bea") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.38.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.38.0.tar.gz
printf '%s %s\n' '13282f747298c710e2c0de9e2ae2e4685b5def5a2cb0c92cfbbb2e1e5046e08b' 'v1.38.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.38.0.tar.gz"
$out = "v1.38.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "13282f747298c710e2c0de9e2ae2e4685b5def5a2cb0c92cfbbb2e1e5046e08b") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.38.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.38.0.zip
printf '%s %s\n' '4cf7c4f7cc1f000c6b620fcf8ecee084bb68f3468378c9e8f9bb2f4167ad2bea' 'v1.38.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.38.0.zip"
$out = "v1.38.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "4cf7c4f7cc1f000c6b620fcf8ecee084bb68f3468378c9e8f9bb2f4167ad2bea") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.38.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.38.0.tar.gz
printf '%s %s\n' '13282f747298c710e2c0de9e2ae2e4685b5def5a2cb0c92cfbbb2e1e5046e08b' 'v1.38.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.38.0.tar.gz"
$out = "v1.38.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "13282f747298c710e2c0de9e2ae2e4685b5def5a2cb0c92cfbbb2e1e5046e08b") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.38.0.zip | zip | 742.6 KiB |
blake3-24 0505d02da885240e91c4b0fff0a8dd379b01468079b94dee
sha256 4cf7c4f7cc1f000c6b620fcf8ecee084bb68f3468378c9e8f9bb2f4167ad2bea
sha1 5d2c1f941d430ea3751c51368034104692462c48
|
| v1.38.0.tar.gz | tar.gz | 644.0 KiB |
blake3-24 da59e0ca1010cf426dc7e0023654e7ba0638f49c17c41902
sha256 13282f747298c710e2c0de9e2ae2e4685b5def5a2cb0c92cfbbb2e1e5046e08b
sha1 7de15f15e56001ef569efca84fa6e0ebb368d70f
|
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.38.0.zip | zip | 746.4 KiB |
blake3-24 03d8847a6f340aa64a5ef40247b22930b54c4a28594010ca
sha256 d13538f06a1309d34a1a32e9a3cc42711a64318e56e49b8cac3f6ad122874136
sha1 5b944fed4a352586ba29fae8838a76971f8a4ab2
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.38.0.tar.gz"],
integrity = "sha256-EygvdHKYxxDiwN6eKuLkaFtd71ossMks+7suHlBG4Is=",
strip_prefix = "nats-go-v1.38.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.38.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.38.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.38.0.tar.gz"],
integrity = "sha256-EygvdHKYxxDiwN6eKuLkaFtd71ossMks+7suHlBG4Is=",
strip_prefix = "nats-go-v1.38.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.38.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.38.0