Update module github.com/nats-io/nats.go to v1.54.0 (master) #12

Merged
meda merged 1 commits from renovate/master-renovate-all into master 2026-09-19 10:46:45 +02:00
Owner

This PR contains the following updates:

Package Change Age Confidence
github.com/nats-io/nats.go v1.53.1 → v1.54.0 age confidence

Release Notes

nats-io/nats.go (github.com/nats-io/nats.go)

v1.54.0

Compare Source

Changelog

This release raises the minimum supported Go version to 1.26 and adds support for nats-server v2.15 stream and consumer info fields.

ADDED
  • Core NATS:
    • nats.MultipathTCP() option to enable or disable MPTCP for outbound connections (#​2145)
    • Conn.ConnectedDomain() to read the JetStream domain advertised by the connected server (#​2139)
  • JetStream:
    • ClusterInfo.Desired, PeerInfo.Peer, PeerInfo.Pending and StreamSourceInfo.Seq in stream and consumer info, reported by nats-server v2.15 (#​2144)
    • Nats-Schedule-Rollup header const and WithScheduleRollup() publish option (#​2142)
FIXED
  • Core NATS:
    • Panic in DecodeHeadersMsg on inline status tokens shorter than 3 characters. Thanks @​nikitha-m for the contribution (#​2101)
    • Data race on Subscription.sid between applyNewSID and removeSub (#​2122)
  • JetStream:
    • Messages() iterator going silent after a reconnect that completes between Next() calls. Thanks @​1995parham for the contribution (#​2135)
    • Legacy ordered consumer silently losing messages when the subscription hits its pending limits (#​2137)
    • Legacy ordered consumer reset resurrecting an unsubscribed or draining subscription (#​2133)
IMPROVED
  • Core NATS:
    • Avoid allocation when parsing header message arguments with a fifth token. Thanks @​0xAozora for the contribution (#​2130)
    • Preallocate reply subject buffers. Thanks @​0xAozora for the contribution (#​2123)
  • JetStream:
    • Prevent doErr closure escaping to the heap in async publish reply handling. Thanks @​0xAozora for the contribution (#​2127)
    • Fix typo in Publisher interface methods comment. Thanks @​sreeram77 for the contribution (#​2120)
  • Minimum Go version is now 1.26 (#​2146)
  • Bump klauspost/compress to v1.20.0 and nkeys to v0.4.16 (#​2117, #​2146)
  • Tests run locally without docker via an in-process ntf tester (#​2131), and CI now runs against nats-server v2.15.0 (#​2146)
  • Fix flaky cluster restart tests (#​2141) and list consumers test against latest server (#​2138)
Complete Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) | `v1.53.1` → `v1.54.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fnats-io%2fnats.go/v1.54.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fnats-io%2fnats.go/v1.53.1/v1.54.0?slim=true) | --- ### Release Notes <details> <summary>nats-io/nats.go (github.com/nats-io/nats.go)</summary> ### [`v1.54.0`](https://github.com/nats-io/nats.go/releases/tag/v1.54.0) [Compare Source](https://github.com/nats-io/nats.go/compare/v1.53.1...v1.54.0) #### Changelog This release raises the minimum supported Go version to 1.26 and adds support for nats-server v2.15 stream and consumer info fields. ##### ADDED - Core NATS: - `nats.MultipathTCP()` option to enable or disable MPTCP for outbound connections ([#&#8203;2145](https://github.com/nats-io/nats.go/issues/2145)) - `Conn.ConnectedDomain()` to read the JetStream domain advertised by the connected server ([#&#8203;2139](https://github.com/nats-io/nats.go/issues/2139)) - JetStream: - `ClusterInfo.Desired`, `PeerInfo.Peer`, `PeerInfo.Pending` and `StreamSourceInfo.Seq` in stream and consumer info, reported by nats-server v2.15 ([#&#8203;2144](https://github.com/nats-io/nats.go/issues/2144)) - `Nats-Schedule-Rollup` header const and `WithScheduleRollup()` publish option ([#&#8203;2142](https://github.com/nats-io/nats.go/issues/2142)) ##### FIXED - Core NATS: - Panic in `DecodeHeadersMsg` on inline status tokens shorter than 3 characters. Thanks [@&#8203;nikitha-m](https://github.com/nikitha-m) for the contribution ([#&#8203;2101](https://github.com/nats-io/nats.go/issues/2101)) - Data race on `Subscription.sid` between `applyNewSID` and `removeSub` ([#&#8203;2122](https://github.com/nats-io/nats.go/issues/2122)) - JetStream: - `Messages()` iterator going silent after a reconnect that completes between `Next()` calls. Thanks [@&#8203;1995parham](https://github.com/1995parham) for the contribution ([#&#8203;2135](https://github.com/nats-io/nats.go/issues/2135)) - Legacy ordered consumer silently losing messages when the subscription hits its pending limits ([#&#8203;2137](https://github.com/nats-io/nats.go/issues/2137)) - Legacy ordered consumer reset resurrecting an unsubscribed or draining subscription ([#&#8203;2133](https://github.com/nats-io/nats.go/issues/2133)) ##### IMPROVED - Core NATS: - Avoid allocation when parsing header message arguments with a fifth token. Thanks [@&#8203;0xAozora](https://github.com/0xAozora) for the contribution ([#&#8203;2130](https://github.com/nats-io/nats.go/issues/2130)) - Preallocate reply subject buffers. Thanks [@&#8203;0xAozora](https://github.com/0xAozora) for the contribution ([#&#8203;2123](https://github.com/nats-io/nats.go/issues/2123)) - JetStream: - Prevent `doErr` closure escaping to the heap in async publish reply handling. Thanks [@&#8203;0xAozora](https://github.com/0xAozora) for the contribution ([#&#8203;2127](https://github.com/nats-io/nats.go/issues/2127)) - Fix typo in `Publisher` interface methods comment. Thanks [@&#8203;sreeram77](https://github.com/sreeram77) for the contribution ([#&#8203;2120](https://github.com/nats-io/nats.go/issues/2120)) - Minimum Go version is now 1.26 ([#&#8203;2146](https://github.com/nats-io/nats.go/issues/2146)) - Bump `klauspost/compress` to v1.20.0 and `nkeys` to v0.4.16 ([#&#8203;2117](https://github.com/nats-io/nats.go/issues/2117), [#&#8203;2146](https://github.com/nats-io/nats.go/issues/2146)) - Tests run locally without docker via an in-process ntf tester ([#&#8203;2131](https://github.com/nats-io/nats.go/issues/2131)), and CI now runs against nats-server v2.15.0 ([#&#8203;2146](https://github.com/nats-io/nats.go/issues/2146)) - Fix flaky cluster restart tests ([#&#8203;2141](https://github.com/nats-io/nats.go/issues/2141)) and list consumers test against latest server ([#&#8203;2138](https://github.com/nats-io/nats.go/issues/2138)) ##### Complete Changes </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC45MC4zIiwidXBkYXRlZEluVmVyIjoiNDQuOTAuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
meda added 1 commit 2026-09-19 02:06:18 +02:00
Author
Owner

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
github.com/klauspost/compress v1.19.1 -> v1.20.0
golang.org/x/crypto v0.54.0 -> v0.57.0
golang.org/x/sys v0.47.0 -> v0.48.0
golang.org/x/text v0.40.0 -> v0.42.0
### ℹ️ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 4 additional dependencies were updated Details: | **Package** | **Change** | | :------------------------------ | :--------------------- | | `github.com/klauspost/compress` | `v1.19.1` -> `v1.20.0` | | `golang.org/x/crypto` | `v0.54.0` -> `v0.57.0` | | `golang.org/x/sys` | `v0.47.0` -> `v0.48.0` | | `golang.org/x/text` | `v0.40.0` -> `v0.42.0` |
meda merged commit b31f7f744b into master 2026-09-19 10:46:45 +02:00
meda deleted branch renovate/master-renovate-all 2026-09-19 10:46:45 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: actions/nats-upload#12