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` |  |  |
---
### 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 ([#​2145](https://github.com/nats-io/nats.go/issues/2145))
- `Conn.ConnectedDomain()` to read the JetStream domain advertised by the connected server ([#​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 ([#​2144](https://github.com/nats-io/nats.go/issues/2144))
- `Nats-Schedule-Rollup` header const and `WithScheduleRollup()` publish option ([#​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 [@​nikitha-m](https://github.com/nikitha-m) for the contribution ([#​2101](https://github.com/nats-io/nats.go/issues/2101))
- Data race on `Subscription.sid` between `applyNewSID` and `removeSub` ([#​2122](https://github.com/nats-io/nats.go/issues/2122))
- JetStream:
- `Messages()` iterator going silent after a reconnect that completes between `Next()` calls. Thanks [@​1995parham](https://github.com/1995parham) for the contribution ([#​2135](https://github.com/nats-io/nats.go/issues/2135))
- Legacy ordered consumer silently losing messages when the subscription hits its pending limits ([#​2137](https://github.com/nats-io/nats.go/issues/2137))
- Legacy ordered consumer reset resurrecting an unsubscribed or draining subscription ([#​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 [@​0xAozora](https://github.com/0xAozora) for the contribution ([#​2130](https://github.com/nats-io/nats.go/issues/2130))
- Preallocate reply subject buffers. Thanks [@​0xAozora](https://github.com/0xAozora) for the contribution ([#​2123](https://github.com/nats-io/nats.go/issues/2123))
- JetStream:
- Prevent `doErr` closure escaping to the heap in async publish reply handling. Thanks [@​0xAozora](https://github.com/0xAozora) for the contribution ([#​2127](https://github.com/nats-io/nats.go/issues/2127))
- Fix typo in `Publisher` interface methods comment. Thanks [@​sreeram77](https://github.com/sreeram77) for the contribution ([#​2120](https://github.com/nats-io/nats.go/issues/2120))
- Minimum Go version is now 1.26 ([#​2146](https://github.com/nats-io/nats.go/issues/2146))
- Bump `klauspost/compress` to v1.20.0 and `nkeys` to v0.4.16 ([#​2117](https://github.com/nats-io/nats.go/issues/2117), [#​2146](https://github.com/nats-io/nats.go/issues/2146))
- Tests run locally without docker via an in-process ntf tester ([#​2131](https://github.com/nats-io/nats.go/issues/2131)), and CI now runs against nats-server v2.15.0 ([#​2146](https://github.com/nats-io/nats.go/issues/2146))
- Fix flaky cluster restart tests ([#​2141](https://github.com/nats-io/nats.go/issues/2141)) and list consumers test against latest server ([#​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-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.53.1→v1.54.0Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
v1.54.0Compare 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
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)ClusterInfo.Desired,PeerInfo.Peer,PeerInfo.PendingandStreamSourceInfo.Seqin stream and consumer info, reported by nats-server v2.15 (#2144)Nats-Schedule-Rollupheader const andWithScheduleRollup()publish option (#2142)FIXED
DecodeHeadersMsgon inline status tokens shorter than 3 characters. Thanks @nikitha-m for the contribution (#2101)Subscription.sidbetweenapplyNewSIDandremoveSub(#2122)Messages()iterator going silent after a reconnect that completes betweenNext()calls. Thanks @1995parham for the contribution (#2135)IMPROVED
doErrclosure escaping to the heap in async publish reply handling. Thanks @0xAozora for the contribution (#2127)Publisherinterface methods comment. Thanks @sreeram77 for the contribution (#2120)klauspost/compressto v1.20.0 andnkeysto v0.4.16 (#2117, #2146)Complete Changes
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.
ℹ️ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):Details:
github.com/klauspost/compressv1.19.1->v1.20.0golang.org/x/cryptov0.54.0->v0.57.0golang.org/x/sysv0.47.0->v0.48.0golang.org/x/textv0.40.0->v0.42.0