nats-go @ v1.32.0
integrity
- size
- 695.9 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Added
- JetStream:
- ObjectStore is now available as part of
jetstreampackage (#1450) Drainmethod forConsumeContextandMessagesContext. UnlikeStop(), in addition to unsubscribing and canceling the existing pull requests it will ensure that all messages already stored in client buffer will be available for processing (#1515)- Return account reservations on
AccountInfo. NOTE: This is only available since nats-server@v2.10.8 (#1511) - Paging
SubjectsonStream.Info()response whenWithSubjectFilter()option is used (#1517)
- ObjectStore is now available as part of
- KeyValue:
Compressionoption onKeyValueConfig(#1451)ListKeysmethod for efficiently iterating over all keys in KV bucket (#1490)ResumeFromRevisionoption for KV watcher. Thanks to @shadow3x3x3 for the contribution (#1489)
Fixed
- Legacy JetStream:
- Fixed and issue where ordered consumer was recreated with different name format than the original (#1449)
- JetStream:
- Fixed an issue where
WithRetryAttempts()andWithRetryWait()options were ignored inPublishAsync()(#1464) - Fixed invalid
PullExpiryvalidation inConsumer.Messages()options (#1468) - Fixed race condition on
Stop()method forConsumeContextandMessagesContext. Thanks to @evanofslack for the contribution (#1454) - Fixed issues with
Next()method for ordered consumers (#1471, #1472) - Fixed ignoring a private inbox prefix in
JetStream.Publish(). Thanks to @oderwat for the contribution (#1474) - Fixed invalid PAF id for
PublishAsync()(#1476) - Fixed race condition when getting pull subscriptions in ordered consumer (#1497)
- Fixed several issues in
checkPendinglogic (#1516)
- Fixed an issue where
- KeyValue:
- Removed
KV_prefix when listing KeyValue store names (#1487)
- Removed
- Service API:
- Fixed race condition when adding endpoints concurrently. Thanks to @actatum for the contribution (#1484)
Improved
- Bumped
nkeysandcompressdependencies to latest versions (#1458, #1514) - Fixed broken link in
jetstream/README.md. Thanks to @sebbbastien for the contribution (#1448) - Improvements for code quality across the library. Thanks to @sashamelentyev for the contribution (#1498, #1500)
- Legacy JetStream:
- Library now attempts to delete ordered consumer before creating new one to avoid piling up consumers on reset (#1449)
- Service API:
- Added compatibility tests for Service API (#1443)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.31.0...v1.32.0
download
unix · zip
curl -fL -o v1.32.0.zip https://ratatoskr.space/pkg/nats-go/v1.32.0.zip
printf '%s %s\n' '49319c45219a4512557fea037209b4bf74d3e778ffe8dc07edc5fcb21e76cceb' 'v1.32.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.32.0.zip"
$out = "v1.32.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "49319c45219a4512557fea037209b4bf74d3e778ffe8dc07edc5fcb21e76cceb") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.32.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.32.0.tar.gz
printf '%s %s\n' '9b13a38e665197b235c5c582deb6684fe540231e30797241c4fd0790b0605c7d' 'v1.32.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.32.0.tar.gz"
$out = "v1.32.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9b13a38e665197b235c5c582deb6684fe540231e30797241c4fd0790b0605c7d") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.32.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.32.0.zip
printf '%s %s\n' '49319c45219a4512557fea037209b4bf74d3e778ffe8dc07edc5fcb21e76cceb' 'v1.32.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.32.0.zip"
$out = "v1.32.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "49319c45219a4512557fea037209b4bf74d3e778ffe8dc07edc5fcb21e76cceb") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.32.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.32.0.tar.gz
printf '%s %s\n' '9b13a38e665197b235c5c582deb6684fe540231e30797241c4fd0790b0605c7d' 'v1.32.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.32.0.tar.gz"
$out = "v1.32.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "9b13a38e665197b235c5c582deb6684fe540231e30797241c4fd0790b0605c7d") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.32.0.zip | zip | 697.4 KiB |
blake3-24 3fc50a772ea1678d6d0ba613f99cefb4410b0a0609fa6a10
sha256 49319c45219a4512557fea037209b4bf74d3e778ffe8dc07edc5fcb21e76cceb
sha1 b9a2fb6db2fefd364c4b94ebd2eab7e8a9b98820
|
| v1.32.0.tar.gz | tar.gz | 601.8 KiB |
blake3-24 044756f58c3daefc374ce4c11838575e6f089b654dd41274
sha256 9b13a38e665197b235c5c582deb6684fe540231e30797241c4fd0790b0605c7d
sha1 4afb006ed4a37077bd75686cf28590d6e8e991d5
|
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.32.0.zip | zip | 701.1 KiB |
blake3-24 b3837feb271b9b586ffffce7b1d836423330526b5f58e89d
sha256 ee24b525f2094320a70a7a7b5fb384b5749d1e817eb3e268f44dfa81c604c3b1
sha1 0ca40430017867b6ececbb420683301bc82c808a
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.32.0.tar.gz"],
integrity = "sha256-mxOjjmZRl7I1xcWC3rZoT+VAIx4weXJBxP0HkLBgXH0=",
strip_prefix = "nats-go-v1.32.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.32.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.32.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.32.0.tar.gz"],
integrity = "sha256-mxOjjmZRl7I1xcWC3rZoT+VAIx4weXJBxP0HkLBgXH0=",
strip_prefix = "nats-go-v1.32.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.32.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.32.0