dependabot[bot] opened a new pull request, #40217: URL: https://github.com/apache/beam/pull/40217
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.53.1 to 1.54.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nats-io/nats.go/releases">github.com/nats-io/nats.go's releases</a>.</em></p> <blockquote> <h2>Release v1.54.0</h2> <h2>Changelog</h2> <p>This release raises the minimum supported Go version to 1.26 and adds support for nats-server v2.15 stream and consumer info fields.</p> <h3>ADDED</h3> <ul> <li>Core NATS: <ul> <li><code>nats.MultipathTCP()</code> option to enable or disable MPTCP for outbound connections (<a href="https://redirect.github.com/nats-io/nats.go/issues/2145">#2145</a>)</li> <li><code>Conn.ConnectedDomain()</code> to read the JetStream domain advertised by the connected server (<a href="https://redirect.github.com/nats-io/nats.go/issues/2139">#2139</a>)</li> </ul> </li> <li>JetStream: <ul> <li><code>ClusterInfo.Desired</code>, <code>PeerInfo.Peer</code>, <code>PeerInfo.Pending</code> and <code>StreamSourceInfo.Seq</code> in stream and consumer info, reported by nats-server v2.15 (<a href="https://redirect.github.com/nats-io/nats.go/issues/2144">#2144</a>)</li> <li><code>Nats-Schedule-Rollup</code> header const and <code>WithScheduleRollup()</code> publish option (<a href="https://redirect.github.com/nats-io/nats.go/issues/2142">#2142</a>)</li> </ul> </li> </ul> <h3>FIXED</h3> <ul> <li>Core NATS: <ul> <li>Panic in <code>DecodeHeadersMsg</code> on inline status tokens shorter than 3 characters. Thanks <a href="https://github.com/nikitha-m"><code>@nikitha-m</code></a> for the contribution (<a href="https://redirect.github.com/nats-io/nats.go/issues/2101">#2101</a>)</li> <li>Data race on <code>Subscription.sid</code> between <code>applyNewSID</code> and <code>removeSub</code> (<a href="https://redirect.github.com/nats-io/nats.go/issues/2122">#2122</a>)</li> </ul> </li> <li>JetStream: <ul> <li><code>Messages()</code> iterator going silent after a reconnect that completes between <code>Next()</code> calls. Thanks <a href="https://github.com/1995parham"><code>@1995parham</code></a> for the contribution (<a href="https://redirect.github.com/nats-io/nats.go/issues/2135">#2135</a>)</li> <li>Legacy ordered consumer silently losing messages when the subscription hits its pending limits (<a href="https://redirect.github.com/nats-io/nats.go/issues/2137">#2137</a>)</li> <li>Legacy ordered consumer reset resurrecting an unsubscribed or draining subscription (<a href="https://redirect.github.com/nats-io/nats.go/issues/2133">#2133</a>)</li> </ul> </li> </ul> <h3>IMPROVED</h3> <ul> <li>Core NATS: <ul> <li>Avoid allocation when parsing header message arguments with a fifth token. Thanks <a href="https://github.com/0xAozora"><code>@0xAozora</code></a> for the contribution (<a href="https://redirect.github.com/nats-io/nats.go/issues/2130">#2130</a>)</li> <li>Preallocate reply subject buffers. Thanks <a href="https://github.com/0xAozora"><code>@0xAozora</code></a> for the contribution (<a href="https://redirect.github.com/nats-io/nats.go/issues/2123">#2123</a>)</li> </ul> </li> <li>JetStream: <ul> <li>Prevent <code>doErr</code> closure escaping to the heap in async publish reply handling. Thanks <a href="https://github.com/0xAozora"><code>@0xAozora</code></a> for the contribution (<a href="https://redirect.github.com/nats-io/nats.go/issues/2127">#2127</a>)</li> <li>Fix typo in <code>Publisher</code> interface methods comment. Thanks <a href="https://github.com/sreeram77"><code>@sreeram77</code></a> for the contribution (<a href="https://redirect.github.com/nats-io/nats.go/issues/2120">#2120</a>)</li> </ul> </li> <li>Minimum Go version is now 1.26 (<a href="https://redirect.github.com/nats-io/nats.go/issues/2146">#2146</a>)</li> <li>Bump <code>klauspost/compress</code> to v1.20.0 and <code>nkeys</code> to v0.4.16 (<a href="https://redirect.github.com/nats-io/nats.go/issues/2117">#2117</a>, <a href="https://redirect.github.com/nats-io/nats.go/issues/2146">#2146</a>)</li> <li>Tests run locally without docker via an in-process ntf tester (<a href="https://redirect.github.com/nats-io/nats.go/issues/2131">#2131</a>), and CI now runs against nats-server v2.15.0 (<a href="https://redirect.github.com/nats-io/nats.go/issues/2146">#2146</a>)</li> <li>Fix flaky cluster restart tests (<a href="https://redirect.github.com/nats-io/nats.go/issues/2141">#2141</a>) and list consumers test against latest server (<a href="https://redirect.github.com/nats-io/nats.go/issues/2138">#2138</a>)</li> </ul> <h3>Complete Changes</h3> <p><a href="https://github.com/nats-io/nats.go/compare/v1.53.1...v1.54.0">https://github.com/nats-io/nats.go/compare/v1.53.1...v1.54.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nats-io/nats.go/commit/7a8404ab9b1721cf1eddf3a26474e6925c322d73"><code>7a8404a</code></a> Release v1.54.0 (<a href="https://redirect.github.com/nats-io/nats.go/issues/2148">#2148</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/240fb1f70e767827b452d6a84c7fd91154087abc"><code>240fb1f</code></a> [IMPROVED] Bump dependencies and update server version in CI (<a href="https://redirect.github.com/nats-io/nats.go/issues/2146">#2146</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/203d828938c8fca0c4fb237827bfe5442c70b955"><code>203d828</code></a> [FIXED] Panic in DecodeHeadersMsg on status tokens shorter than 3 characters ...</li> <li><a href="https://github.com/nats-io/nats.go/commit/dc92fca74760375f8b39af7d876f20db822e115f"><code>dc92fca</code></a> [FIXED] Ordered consumer silently losing messages on slow consumer (<a href="https://redirect.github.com/nats-io/nats.go/issues/2137">#2137</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/e18cea8856fac7a4edf0771e0ec21a449400d266"><code>e18cea8</code></a> [IMPROVED] Prevent doErr closure escaping to heap (<a href="https://redirect.github.com/nats-io/nats.go/issues/2127">#2127</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/d8d8c09b40bc5aec7220cee84a83f4bcab1e6dd0"><code>d8d8c09</code></a> [ADDED] <code>nats.MultipathTCP()</code> for enabling or disabling MPTCP (<a href="https://redirect.github.com/nats-io/nats.go/issues/2145">#2145</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/e95c424b2c8d91fe16fd3426b80c88f13261761a"><code>e95c424</code></a> [FIXED] Flaky cluster restart tests: waitForStream must see a stream leader (...</li> <li><a href="https://github.com/nats-io/nats.go/commit/e3abbf43eccdb37ef7c4bd2d777d57bc44e09955"><code>e3abbf4</code></a> [ADDED] Nats-Schedule-Rollup header const and publish options (<a href="https://redirect.github.com/nats-io/nats.go/issues/2142">#2142</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/f1289db0bb7a5a560b26ddc7c8f29665b6341c90"><code>f1289db</code></a> [ADDED] Desired state, peer ID/pending and source seq in stream and consumer ...</li> <li><a href="https://github.com/nats-io/nats.go/commit/b84f783a7b99e1c54e5a5ebc83936a3a72dc2fd8"><code>b84f783</code></a> Ignore Claude Code local files and .worktrees (<a href="https://redirect.github.com/nats-io/nats.go/issues/2140">#2140</a>)</li> <li>Additional commits viewable in <a href="https://github.com/nats-io/nats.go/compare/v1.53.1...v1.54.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
