nats-go @ v1.27.0
integrity
- size
- 543.5 KiB
- downloaded
- last checked
- overlays
- go
- detected
- go module github.com/nats-io/nats.go
release notes
Changelog
Overview
This release focuses on improvements to new JetStream API and Service API (micro) preview functionalities.
Added
- JetStream Simplified API:
StreamNameBySubject()method for stream discovery based on provided subject (#1292)
Improved
- JetStream Simplified API:
- Simplified lock handling for
Consume()andMessages()(#1303)
- Simplified lock handling for
Changed
- JetStream Simplified API:
- [BREAKING CHANGE] Renamed
AddConsumertoCreateOrUpdateConsumer. This change is introduced in anticipation for separation of create and update operations innats-server(#1300) - [BREAKING CHANGE] Change default
AckPolicytoAckPolicyExplicit(#1278) - [BREAKING CHANGE] Fixed typo in
PullThresholdBytestype name (#1300) - [BREAKING CHANGE] Removed push consumer only fields from
ConsumerConfig(#1300) - [BREAKING CHANGE] Removed
context.ContextfromPublishAsyncandPublishMsgAsync(#1300)
- [BREAKING CHANGE] Renamed
- Service API (
micro):- [BREAKING CHANGE] More verbose endpoint
INFOschema (#1277)- Endpoint metadata was moved from
STATSresponse toINFOresponse INFOnow returnsendpointsobject, containing subject, name and metatada. This replacessubjectfield.
- Endpoint metadata was moved from
- [BREAKING CHANGE] More verbose endpoint
Fixed
- JetStream Simplified API:
- Fixed data race on
ErrNoHeartbeat. Thanks @alexisvisco for the contibution! (#1291) - Fixed incorrect example in
jetstream/README.md). Thanks @bojanz for the contribution! (#1295)
- Fixed data race on
- Object Store:
- Fixed leaking goroutines after calling
Put()andPutBytes()(#1282)
- Fixed leaking goroutines after calling
- Flaky tests picking the used port for cluster connections (#1284, #1298)
- Division by zero fixes in bechmark tests. Thanks @Zamony fot the contribution! (#1293)
Complete Changes
https://github.com/nats-io/nats.go/compare/v1.26.0...v1.27.0
download
unix · zip
curl -fL -o v1.27.0.zip https://ratatoskr.space/pkg/nats-go/v1.27.0.zip
printf '%s %s\n' '6a54fbb6b7d281eeca71ee735c9549f8721343d847c0ddb364dbfa49e95c7d6e' 'v1.27.0.zip' | sha256sum -c -
windows · zip
$url = "https://ratatoskr.space/pkg/nats-go/v1.27.0.zip"
$out = "v1.27.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6a54fbb6b7d281eeca71ee735c9549f8721343d847c0ddb364dbfa49e95c7d6e") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.27.0.tar.gz https://ratatoskr.space/pkg/nats-go/v1.27.0.tar.gz
printf '%s %s\n' '872f99da7533073017f8ba396226cbfa0e59c342e3f81db5cab6c16211812158' 'v1.27.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "https://ratatoskr.space/pkg/nats-go/v1.27.0.tar.gz"
$out = "v1.27.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "872f99da7533073017f8ba396226cbfa0e59c342e3f81db5cab6c16211812158") { throw "sha256 mismatch" }
download via yggdrasil mesh
unix · zip
curl -fL -o v1.27.0.zip http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.27.0.zip
printf '%s %s\n' '6a54fbb6b7d281eeca71ee735c9549f8721343d847c0ddb364dbfa49e95c7d6e' 'v1.27.0.zip' | sha256sum -c -
windows · zip
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.27.0.zip"
$out = "v1.27.0.zip"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "6a54fbb6b7d281eeca71ee735c9549f8721343d847c0ddb364dbfa49e95c7d6e") { throw "sha256 mismatch" }
unix · tar.gz
curl -fL -o v1.27.0.tar.gz http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.27.0.tar.gz
printf '%s %s\n' '872f99da7533073017f8ba396226cbfa0e59c342e3f81db5cab6c16211812158' 'v1.27.0.tar.gz' | sha256sum -c -
windows · tar.gz
$url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.27.0.tar.gz"
$out = "v1.27.0.tar.gz"
Invoke-WebRequest -Uri $url -OutFile $out
if ((Get-FileHash $out -Algorithm SHA256).Hash.ToLowerInvariant() -ne "872f99da7533073017f8ba396226cbfa0e59c342e3f81db5cab6c16211812158") { throw "sha256 mismatch" }
| artifact | format | size | hashes |
|---|---|---|---|
| v1.27.0.zip | zip | 544.4 KiB |
blake3-24 4f9c070f4131ae5183e2e071fc2a2dd2e73b46f526a6c093
sha256 6a54fbb6b7d281eeca71ee735c9549f8721343d847c0ddb364dbfa49e95c7d6e
sha1 5bf83c21c5a585cd190ce31f30030c251a66698d
|
| v1.27.0.tar.gz | tar.gz | 452.2 KiB |
blake3-24 6e2a0660129f7cfcd013cab5994b79fefee61c4142f66402
sha256 872f99da7533073017f8ba396226cbfa0e59c342e3f81db5cab6c16211812158
sha1 dfbbd53ca463fc1063ccebb074c618417416d3ee
|
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.27.0.zip | zip | 547.8 KiB |
blake3-24 2bef4e9c2999cd22641bed51000019adb31807eacefdd5d7
sha256 86b92dbd4eabd38809d948f401e900eeacac8f44c1fa415b148569b12b997ecf
sha1 bf2e9d32b7d53e887861037f6da514457839061f
|
install
bazel
http_archive(
name = "nats-go",
urls = ["https://ratatoskr.space/pkg/nats-go/v1.27.0.tar.gz"],
integrity = "sha256-hy+Z2nUzBzAX+Lo5YibL+g5Zw0Lj+B21yrbBYhGBIVg=",
strip_prefix = "nats-go-v1.27.0",
)
zig
.url = "https://ratatoskr.space/pkg/nats-go/v1.27.0.tar.gz",
go
GOPROXY=https://ratatoskr.space GOSUMDB=off go get ratatoskr.space/pkg/nats-go@v1.27.0
install via yggdrasil mesh
bazel
http_archive(
name = "nats-go",
urls = ["http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.27.0.tar.gz"],
integrity = "sha256-hy+Z2nUzBzAX+Lo5YibL+g5Zw0Lj+B21yrbBYhGBIVg=",
strip_prefix = "nats-go-v1.27.0",
)
zig
.url = "http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go/v1.27.0.tar.gz",
go
GOPROXY=http://14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg GOSUMDB=off GOINSECURE=14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/* go get 14cc7d57b5e70f679b851fe5b272ce17c70632ff4beb5b35ab64bc706b2485af.pk.ygg/pkg/nats-go@v1.27.0