nats-go @ v1.28.0
integrity
- size
- 548.1 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Overview
This release focuses on a set of changes and improvements in new JetStream API. With this release, JetStream API is out of preview.
Additionally, with this release support for go version < 1.18.0 is dropped, due to usage of any type in codebase.
Added
- JetStream:
HeadersOnlyfield onOrderedConsumerConfig(#1327)WithStreamListSubject()option to filter results ofListStreams()andStreamNames()by stream name (#1312)
Improved
- Added
devandmainbranches ofnats-serverto tests in CI (#1336) - Core NATS:
- Fixed incorrect test case in
parse_test.go. Thanks @YukiBobier for the contribution (#1334)
- Fixed incorrect test case in
- JetStream:
- Fix typos and doc comments in new JetStream API. Thanks @mdawar for the contribution (#1339)
- Fixed and slightly enhanced the basic example in jetstream package. Thanks to @pwntr for the contribution (#1340)
- Improvements in in
jetstream/README.md(#1347, #1350)
Changed
- Replace
interface{}withanyacross the codebase (#1332) - JetStream:
- [BREAKING CHANGE] Move
NakWithDelayto separate method, instead of it being an option onNak()(#1337) - [BREAKING CHANGE] Simplified API for listing streams and stream names (#1312)
- Add default timeout when
context.Background()orcontext.TODO()is used (#1348)
- [BREAKING CHANGE] Move
Fixed
- JetStream:
- Create consumer when calling
OrderedConsumer()(#1317) - Unset start time for ordered consumer on reset (#1341)
- Fixed
Next()blocking indefinitely after callingStop(). Thanks @mdawar for the contribution (#1344) - Invalid missing heartbeat errors in
Consume()(#1345) - Fixed
PublishAsync()blocking published due toPublishAsyncMaxPendingnot being reset on reconnect (#1346)
- Create consumer when calling
- Legacy JetStream:
- Fixed
PublishAsync()blocking published due toPublishAsyncMaxPendingnot being reset on reconnect (#1346)
- Fixed
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.27.1...v1.28.0
download
unix · zip
curl -fL -o v1.28.0.zip https://ratatoskr.space/pkg/nats-go/v1.28.0.zip
printf '%s %s\n' 'cbd3590f4c76dfcf09724569a99211644c8196dc09d459e1f5e5a6d48d201252' 'v1.28.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.28.0.zip"
$out = "v1.28.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "cbd3590f4c76dfcf09724569a99211644c8196dc09d459e1f5e5a6d48d201252") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.28.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.28.0.tar.gz
printf '%s %s\n' 'f97cf3e15a4e6e8ccea3bc3d5d345ac64785f3db46dcbd148ccb42d60168eb53' 'v1.28.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.28.0.tar.gz"
$out = "v1.28.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "f97cf3e15a4e6e8ccea3bc3d5d345ac64785f3db46dcbd148ccb42d60168eb53") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.28.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.28.0.zip
printf '%s %s\n' 'cbd3590f4c76dfcf09724569a99211644c8196dc09d459e1f5e5a6d48d201252' 'v1.28.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.28.0.zip"
$out = "v1.28.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "cbd3590f4c76dfcf09724569a99211644c8196dc09d459e1f5e5a6d48d201252") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.28.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.28.0.tar.gz
printf '%s %s\n' 'f97cf3e15a4e6e8ccea3bc3d5d345ac64785f3db46dcbd148ccb42d60168eb53' 'v1.28.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.28.0.tar.gz"
$out = "v1.28.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "f97cf3e15a4e6e8ccea3bc3d5d345ac64785f3db46dcbd148ccb42d60168eb53") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.28.0.zip | zip | 549.2 KiB |
blake3-24 0dd6d84f7903ef96f219be7f70093b3c8ed75e6038f41a94
sha256 cbd3590f4c76dfcf09724569a99211644c8196dc09d459e1f5e5a6d48d201252
sha1 d7f7e2e43cec395a99f65b6bf3c1f5ba1267e96c
|
| v1.28.0.tar.gz | tar.gz | 456.7 KiB |
blake3-24 638a59493bde4081104e8dacf25a26730a9f22fb93b17258
sha256 f97cf3e15a4e6e8ccea3bc3d5d345ac64785f3db46dcbd148ccb42d60168eb53
sha1 ed549218063dbfa8f2db205ee9c9a473fb998c64
|
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.28.0.zip | zip | 552.5 KiB |
blake3-24 1e3b3133ce225fcc72a0ce2b07b1f9935288d6d2143c0ad6
sha256 29d5e2e91c20dec71b00015381999aec3f4958a1cd59b280e151fb74bb67d32f
sha1 b2cde83b9c504511722ec9bfc3312815c669132c
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.28.0.tar.gz"],
integrity = "sha256-+Xzz4VpObozOo7w9XTRaxkeF89tG3L0UjMtC1gFo61M=",
strip_prefix = "nats-go-v1.28.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.28.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.28.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.28.0.tar.gz"],
integrity = "sha256-+Xzz4VpObozOo7w9XTRaxkeF89tG3L0UjMtC1gFo61M=",
strip_prefix = "nats-go-v1.28.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.28.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.28.0