dependabot[bot] opened a new pull request, #36243: URL: https://github.com/apache/beam/pull/36243
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.11.9 to 2.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nats-io/nats-server/releases">github.com/nats-io/nats-server/v2's releases</a>.</em></p> <blockquote> <h2>Release v2.12.0</h2> <h2>Changelog</h2> <p>Refer to the <a href="https://docs.nats.io/release-notes/whats_new/whats_new_212">2.12 Upgrade Guide</a> for backwards compatibility notes with 2.11.x.</p> <h3>Go Version</h3> <ul> <li>1.25.1 (<a href="https://redirect.github.com/nats-io/nats-server/issues/7273">#7273</a>)</li> </ul> <h3>Added</h3> <p>General</p> <ul> <li>Exponential backoff on route/gateway reconnection attempts (<a href="https://redirect.github.com/nats-io/nats-server/issues/7042">#7042</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7048">#7048</a>)</li> <li>Added <code>allow_insecure_cipher_suites</code> configuration option to <code>tls</code> block, as insecure ciphers are now disabled by default (<a href="https://redirect.github.com/nats-io/nats-server/issues/7144">#7144</a>)</li> <li>Added <code>X25519MLKEM768</code> option to the TLS curve preferences (<a href="https://redirect.github.com/nats-io/nats-server/issues/7280">#7280</a>)</li> <li>No responders errors from the server now include the original subject in the <code>Nats-Subject</code> header (<a href="https://redirect.github.com/nats-io/nats-server/issues/5250">#5250</a>)</li> <li>Added <code>exact_match</code> field to the filtering of various monitoring endpoints for server name, host or cluster matching (<a href="https://redirect.github.com/nats-io/nats-server/issues/7260">#7260</a>)</li> </ul> <p>JetStream</p> <ul> <li>Atomic batch publishes (<a href="https://redirect.github.com/nats-io/nats-server/issues/6966">#6966</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7057">#7057</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7060">#7060</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7085">#7085</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7090">#7090</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7091">#7091</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7119">#7119</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7152">#7152</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7175">#7175</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7274">#7274</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7294">#7294</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7313">#7313< /a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7314">#7314</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7311">#7311</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7316">#7316</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7321">#7321</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7322">#7322</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7327">#7327</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7330">#7330</a>) <ul> <li>Stage-and-commit style batches for JetStream message publishes with normal consistency checks</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-50.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-50.md</a></li> </ul> </li> <li>Counter streams (<a href="https://redirect.github.com/nats-io/nats-server/issues/6973">#6973</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/6988">#6988</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7081">#7081</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7118">#7118</a>) <ul> <li>Counters are incremented or decremented by publishing to the stream with <code>Nats-Incr</code> headers, with full aggregate consistency over sources and mirrors</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-49.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-49.md</a></li> </ul> </li> <li>Prioritised mode for consumer priority groups (<a href="https://redirect.github.com/nats-io/nats-server/issues/7113">#7113</a>) <ul> <li>Allows for low-latency switching between clients based on the priority set</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-42.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-42.md</a></li> </ul> </li> <li>Support for trusted proxies (<a href="https://redirect.github.com/nats-io/nats-server/issues/7153">#7153</a>) <ul> <li>Allows enforcing that connections arrive via a NATS protocol-aware proxy</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-55.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-55.md</a></li> </ul> </li> <li>Added the ability to promote mirrors to normal streams by removing the mirror configuration (<a href="https://redirect.github.com/nats-io/nats-server/issues/7171">#7171</a>) <ul> <li>This allows a mirror to take over operation if the original stream is lost, for example in a disaster recovery scenario</li> <li>This operation cannot be undone and also requires configuring the stream subjects to continue operation</li> </ul> </li> <li>Added delayed message scheduling (<a href="https://redirect.github.com/nats-io/nats-server/issues/7170">#7170</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7245">#7245</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7319">#7319</a>) <ul> <li>Implements single schedule messages using the <code>Nats-Schedule-TTL</code> message header</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-51.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-51.md</a></li> </ul> </li> <li>Added support for offline assets (<a href="https://redirect.github.com/nats-io/nats-server/issues/7158">#7158</a>) <ul> <li>Streams and consumers from a higher API version or using unsupported features (i.e. after a downgrade) will be marked as offline to prevent corruption</li> <li>ADR: <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-44.md">https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-44.md</a></li> </ul> </li> <li>Added <code>partition(n)</code> for deterministic hash-based partitioning and <code>random(n)</code> for non-deterministic random partitioning to subject transforms (<a href="https://redirect.github.com/nats-io/nats-server/issues/6950">#6950</a>)</li> <li>Added the ability to specify the required API level in JetStream API requests with the <code>Nats-Required-Api-Level</code> request header (<a href="https://redirect.github.com/nats-io/nats-server/issues/7157">#7157</a>)</li> <li>Added the ability for streams to opt into async writes (<a href="https://redirect.github.com/nats-io/nats-server/issues/7315">#7315</a>, <a href="https://redirect.github.com/nats-io/nats-server/issues/7323">#7323</a>)</li> <li>Add <code>server_metadata</code> block to server config, allowing arbitrary key-pairs to be set on a per-server basis, similar to stream/consumer metadata (<a href="https://redirect.github.com/nats-io/nats-server/issues/6935">#6935</a>)</li> <li>Support for empty votes, which improves how the Raft election logic handles nodes that have lost their stable storage and attempt to rejoin the cluster regardless (<a href="https://redirect.github.com/nats-io/nats-server/issues/7038">#7038</a>)</li> <li>Added <code>"leader_since"</code> to the stream and consumer info responses (<a href="https://redirect.github.com/nats-io/nats-server/issues/7189">#7189</a>)</li> </ul> <p>Leafnodes</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nats-io/nats-server/commit/fc6ec648d806652d282d2f0edb6cb9f22c895572"><code>fc6ec64</code></a> Release v2.12.0</li> <li><a href="https://github.com/nats-io/nats-server/commit/53bf3e1b0d96a4b0f47bab3b2c6325465e89c481"><code>53bf3e1</code></a> (2.12) Filestore fixes (<a href="https://redirect.github.com/nats-io/nats-server/issues/7334">#7334</a>)</li> <li><a href="https://github.com/nats-io/nats-server/commit/4e8adff017dc638521b13ab648b19c282b476a86"><code>4e8adff</code></a> De-flake <code>TestFileStoreExpireMsgsOnStart</code> by temporarily disabling encryption...</li> <li><a href="https://github.com/nats-io/nats-server/commit/b4479b8d626d77a6744645e01584a4e4eba993a3"><code>b4479b8</code></a> De-flake <code>TestFileStoreAgeLimit</code>, <code>TestNoRaceStoreReverseWalkWithDeletesPerf</code></li> <li><a href="https://github.com/nats-io/nats-server/commit/dd855adb046286f781d9c7381927c0442c0c14cd"><code>dd855ad</code></a> Improve reuse & remove partials hangover from <code>indexCacheBuf</code></li> <li><a href="https://github.com/nats-io/nats-server/commit/861607247f5dfc244de88651bf26520e80929749"><code>8616072</code></a> Refactor filestore block pool</li> <li><a href="https://github.com/nats-io/nats-server/commit/28e9650940a11a01338bd154e926042c881a3fb2"><code>28e9650</code></a> Release v2.12.0-RC.6</li> <li><a href="https://github.com/nats-io/nats-server/commit/30827242af6370e26ea7a5a9f7f5874ed2865e56"><code>3082724</code></a> (2.12) [FIXED] Atomic batch: batch timeout advisory (<a href="https://redirect.github.com/nats-io/nats-server/issues/7330">#7330</a>)</li> <li><a href="https://github.com/nats-io/nats-server/commit/f30ba013391f370faa1d36e335dff413a59468b8"><code>f30ba01</code></a> (2.12) Improve filestore cache expiry (<a href="https://redirect.github.com/nats-io/nats-server/issues/7331">#7331</a>)</li> <li><a href="https://github.com/nats-io/nats-server/commit/be5d8e116771e1472a4614980c2c76311881cbb2"><code>be5d8e1</code></a> (2.12) Revert Green Tea GC on goreleaser builds (<a href="https://redirect.github.com/nats-io/nats-server/issues/7332">#7332</a>)</li> <li>Additional commits viewable in <a href="https://github.com/nats-io/nats-server/compare/v2.11.9...v2.12.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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]
