Skip to content

Commit 9516495

Browse files
fix(deps): update module github.com/nats-io/nats-server/v2 to v2.12.0 (#537)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/nats-io/nats-server/v2](https://redirect.github.com/nats-io/nats-server) | `v2.11.9` -> `v2.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fnats-io%2fnats-server%2fv2/v2.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fnats-io%2fnats-server%2fv2/v2.11.9/v2.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nats-io/nats-server (github.com/nats-io/nats-server/v2)</summary> ### [`v2.12.0`](https://redirect.github.com/nats-io/nats-server/releases/tag/v2.12.0) [Compare Source](https://redirect.github.com/nats-io/nats-server/compare/v2.11.9...v2.12.0) #### Changelog Refer to the [2.12 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new_212) for backwards compatibility notes with 2.11.x. ##### Go Version - 1.25.1 ([#&#8203;7273](https://redirect.github.com/nats-io/nats-server/issues/7273)) ##### Added General - Exponential backoff on route/gateway reconnection attempts ([#&#8203;7042](https://redirect.github.com/nats-io/nats-server/issues/7042), [#&#8203;7048](https://redirect.github.com/nats-io/nats-server/issues/7048)) - Added `allow_insecure_cipher_suites` configuration option to `tls` block, as insecure ciphers are now disabled by default ([#&#8203;7144](https://redirect.github.com/nats-io/nats-server/issues/7144)) - Added `X25519MLKEM768` option to the TLS curve preferences ([#&#8203;7280](https://redirect.github.com/nats-io/nats-server/issues/7280)) - No responders errors from the server now include the original subject in the `Nats-Subject` header ([#&#8203;5250](https://redirect.github.com/nats-io/nats-server/issues/5250)) - Added `exact_match` field to the filtering of various monitoring endpoints for server name, host or cluster matching ([#&#8203;7260](https://redirect.github.com/nats-io/nats-server/issues/7260)) JetStream - Atomic batch publishes ([#&#8203;6966](https://redirect.github.com/nats-io/nats-server/issues/6966), [#&#8203;7057](https://redirect.github.com/nats-io/nats-server/issues/7057), [#&#8203;7060](https://redirect.github.com/nats-io/nats-server/issues/7060), [#&#8203;7085](https://redirect.github.com/nats-io/nats-server/issues/7085), [#&#8203;7090](https://redirect.github.com/nats-io/nats-server/issues/7090), [#&#8203;7091](https://redirect.github.com/nats-io/nats-server/issues/7091), [#&#8203;7119](https://redirect.github.com/nats-io/nats-server/issues/7119), [#&#8203;7152](https://redirect.github.com/nats-io/nats-server/issues/7152), [#&#8203;7175](https://redirect.github.com/nats-io/nats-server/issues/7175), [#&#8203;7274](https://redirect.github.com/nats-io/nats-server/issues/7274), [#&#8203;7294](https://redirect.github.com/nats-io/nats-server/issues/7294), [#&#8203;7313](https://redirect.github.com/nats-io/nats-server/issues/7313), [#&#8203;7314](https://redirect.github.com/nats-io/nats-server/issues/7314), [#&#8203;7311](https://redirect.github.com/nats-io/nats-server/issues/7311), [#&#8203;7316](https://redirect.github.com/nats-io/nats-server/issues/7316), [#&#8203;7321](https://redirect.github.com/nats-io/nats-server/issues/7321), [#&#8203;7322](https://redirect.github.com/nats-io/nats-server/issues/7322), [#&#8203;7327](https://redirect.github.com/nats-io/nats-server/issues/7327), [#&#8203;7330](https://redirect.github.com/nats-io/nats-server/issues/7330)) - Stage-and-commit style batches for JetStream message publishes with normal consistency checks - ADR: <https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-50.md> - Counter streams ([#&#8203;6973](https://redirect.github.com/nats-io/nats-server/issues/6973), [#&#8203;6988](https://redirect.github.com/nats-io/nats-server/issues/6988), [#&#8203;7081](https://redirect.github.com/nats-io/nats-server/issues/7081), [#&#8203;7118](https://redirect.github.com/nats-io/nats-server/issues/7118)) - Counters are incremented or decremented by publishing to the stream with `Nats-Incr` headers, with full aggregate consistency over sources and mirrors - ADR: <https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-49.md> - Prioritised mode for consumer priority groups ([#&#8203;7113](https://redirect.github.com/nats-io/nats-server/issues/7113)) - Allows for low-latency switching between clients based on the priority set - ADR: <https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-42.md> - Support for trusted proxies ([#&#8203;7153](https://redirect.github.com/nats-io/nats-server/issues/7153)) - Allows enforcing that connections arrive via a NATS protocol-aware proxy - ADR: <https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-55.md> - Added the ability to promote mirrors to normal streams by removing the mirror configuration ([#&#8203;7171](https://redirect.github.com/nats-io/nats-server/issues/7171)) - This allows a mirror to take over operation if the original stream is lost, for example in a disaster recovery scenario - This operation cannot be undone and also requires configuring the stream subjects to continue operation - Added delayed message scheduling ([#&#8203;7170](https://redirect.github.com/nats-io/nats-server/issues/7170), [#&#8203;7245](https://redirect.github.com/nats-io/nats-server/issues/7245), [#&#8203;7319](https://redirect.github.com/nats-io/nats-server/issues/7319)) - Implements single schedule messages using the `Nats-Schedule-TTL` message header - ADR: <https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-51.md> - Added support for offline assets ([#&#8203;7158](https://redirect.github.com/nats-io/nats-server/issues/7158)) - 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 - ADR: <https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-44.md> - Added `partition(n)` for deterministic hash-based partitioning and `random(n)` for non-deterministic random partitioning to subject transforms ([#&#8203;6950](https://redirect.github.com/nats-io/nats-server/issues/6950)) - Added the ability to specify the required API level in JetStream API requests with the `Nats-Required-Api-Level` request header ([#&#8203;7157](https://redirect.github.com/nats-io/nats-server/issues/7157)) - Added the ability for streams to opt into async writes ([#&#8203;7315](https://redirect.github.com/nats-io/nats-server/issues/7315), [#&#8203;7323](https://redirect.github.com/nats-io/nats-server/issues/7323)) - Add `server_metadata` block to server config, allowing arbitrary key-pairs to be set on a per-server basis, similar to stream/consumer metadata ([#&#8203;6935](https://redirect.github.com/nats-io/nats-server/issues/6935)) - 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 ([#&#8203;7038](https://redirect.github.com/nats-io/nats-server/issues/7038)) - Added `"leader_since"` to the stream and consumer info responses ([#&#8203;7189](https://redirect.github.com/nats-io/nats-server/issues/7189)) Leafnodes - Added the ability to isolate leafnode subject interest propagation with the hub-side `isolate_leafnode_interest` configuration option, suppressing east-west traffic and reducing subscription overheads when there are many leafnodes ([#&#8203;7238](https://redirect.github.com/nats-io/nats-server/issues/7238), [#&#8203;7243](https://redirect.github.com/nats-io/nats-server/issues/7243), [#&#8203;7277](https://redirect.github.com/nats-io/nats-server/issues/7277)) - Added `disabled` option for leafnode remotes, with support for reloading from the config at runtime ([#&#8203;7054](https://redirect.github.com/nats-io/nats-server/issues/7054)) ##### Changed General - WebSocket and MQTT clients no longer use TCP keepalives ([#&#8203;7329](https://redirect.github.com/nats-io/nats-server/issues/7329)) JetStream - The JetStream API level has been increased to `2` ([#&#8203;6969](https://redirect.github.com/nats-io/nats-server/issues/6969)) - The API surface is now in strict mode by default, erroring if unknown fields are provided in the request body ([#&#8203;7049](https://redirect.github.com/nats-io/nats-server/issues/7049)) - Replicated streams will now default to async flush as long as `sync: always` is not configured ([#&#8203;7018](https://redirect.github.com/nats-io/nats-server/issues/7018), [#&#8203;7163](https://redirect.github.com/nats-io/nats-server/issues/7163)) - The default value for `max_buffered_msgs` has been increased by 10x to 100,000 messages ([#&#8203;6633](https://redirect.github.com/nats-io/nats-server/issues/6633)) ##### Improved General - When logging closed connections, the remote is now logged if known, making it easier to identify where route/gateway/leafnode connections have dropped ([#&#8203;7077](https://redirect.github.com/nats-io/nats-server/issues/7077)) - Client-specific log lines now include the account and user if known ([#&#8203;7079](https://redirect.github.com/nats-io/nats-server/issues/7079)) JetStream - Raft nodes will no longer respond success to catchup messages and will ignore responses if not leader, fixing some potential stream desync scenarios ([#&#8203;6944](https://redirect.github.com/nats-io/nats-server/issues/6944)) - Replicated streams can now be created even if some of the replica nodes are offline ([#&#8203;7075](https://redirect.github.com/nats-io/nats-server/issues/7075)) - The storage type is now logged when logging resource limits exceeded ([#&#8203;7076](https://redirect.github.com/nats-io/nats-server/issues/7076)) - JetStream API requests are always handled from the worker pool, improving the semantics of the API request queue and logging when requests take too long ([#&#8203;7125](https://redirect.github.com/nats-io/nats-server/issues/7125)) - Filestore in-memory caches now use weak pointers and can respond to garbage collector (GC) pressure, which should help to avoid a number of possible out-of-memory scenarios ([#&#8203;7180](https://redirect.github.com/nats-io/nats-server/issues/7180)) - Filestore buffer reuse has been fixed ([#&#8203;7295](https://redirect.github.com/nats-io/nats-server/issues/7295)) - Raft will no longer send any append entries in a known non-leader state ([#&#8203;7297](https://redirect.github.com/nats-io/nats-server/issues/7297)) - Improved recovery of filestore blocks with unexpected sequence ordering ([#&#8203;7303](https://redirect.github.com/nats-io/nats-server/issues/7303), [#&#8203;7304](https://redirect.github.com/nats-io/nats-server/issues/7304), [#&#8203;7305](https://redirect.github.com/nats-io/nats-server/issues/7305)) - Filestore fixes to improve write correctness, particularly when combined with async mode ([#&#8203;7318](https://redirect.github.com/nats-io/nats-server/issues/7318), [#&#8203;7331](https://redirect.github.com/nats-io/nats-server/issues/7331)) Leafnodes - Leafnode connections without auth no longer unexpectedly connect to the global account ([#&#8203;7116](https://redirect.github.com/nats-io/nats-server/issues/7116)) ##### Fixed JetStream - Improved validation for stream/consumer configs ([#&#8203;7134](https://redirect.github.com/nats-io/nats-server/issues/7134)) - An error will now be correctly surfaced when the `Nats-Expected-Last-Subject-Sequence-Subject` header is supplied but the accompanying `Nats-Expected-Last-Subject-Sequence` header is not ([#&#8203;7196](https://redirect.github.com/nats-io/nats-server/issues/7196)) OCSP - URL encoding of OCSP requests should now be RFC4648-compliant ([#&#8203;7184](https://redirect.github.com/nats-io/nats-server/issues/7184)) ##### Complete Changes </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/infratographer/x). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 7e5b0fc commit 9516495

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require (
2727
github.com/labstack/echo/v4 v4.13.4
2828
github.com/labstack/gommon v0.4.2
2929
github.com/lib/pq v1.10.9
30-
github.com/nats-io/nats-server/v2 v2.11.9
30+
github.com/nats-io/nats-server/v2 v2.12.0
3131
github.com/nats-io/nats.go v1.45.0
3232
github.com/pressly/goose/v3 v3.25.0
3333
github.com/spf13/cobra v1.10.1
@@ -220,7 +220,7 @@ require (
220220
github.com/muesli/termenv v0.16.0 // indirect
221221
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
222222
github.com/nakabonne/nestif v0.3.1 // indirect
223-
github.com/nats-io/jwt/v2 v2.7.4 // indirect
223+
github.com/nats-io/jwt/v2 v2.8.0 // indirect
224224
github.com/nats-io/nkeys v0.4.11 // indirect
225225
github.com/nats-io/nuid v1.0.1 // indirect
226226
github.com/nishanths/exhaustive v0.12.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,10 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
502502
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
503503
github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U=
504504
github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE=
505-
github.com/nats-io/jwt/v2 v2.7.4 h1:jXFuDDxs/GQjGDZGhNgH4tXzSUK6WQi2rsj4xmsNOtI=
506-
github.com/nats-io/jwt/v2 v2.7.4/go.mod h1:me11pOkwObtcBNR8AiMrUbtVOUGkqYjMQZ6jnSdVUIA=
507-
github.com/nats-io/nats-server/v2 v2.11.9 h1:k7nzHZjUf51W1b08xiQih63Rdxh0yr5O4K892Mx5gQA=
508-
github.com/nats-io/nats-server/v2 v2.11.9/go.mod h1:1MQgsAQX1tVjpf3Yzrk3x2pzdsZiNL/TVP3Amhp3CR8=
505+
github.com/nats-io/jwt/v2 v2.8.0 h1:K7uzyz50+yGZDO5o772eRE7atlcSEENpL7P+b74JV1g=
506+
github.com/nats-io/jwt/v2 v2.8.0/go.mod h1:me11pOkwObtcBNR8AiMrUbtVOUGkqYjMQZ6jnSdVUIA=
507+
github.com/nats-io/nats-server/v2 v2.12.0 h1:OIwe8jZUqJFrh+hhiyKu8snNib66qsx806OslqJuo74=
508+
github.com/nats-io/nats-server/v2 v2.12.0/go.mod h1:nr8dhzqkP5E/lDwmn+A2CvQPMd1yDKXQI7iGg3lAvww=
509509
github.com/nats-io/nats.go v1.45.0 h1:/wGPbnYXDM0pLKFjZTX+2JOw9TQPoIgTFrUaH97giwA=
510510
github.com/nats-io/nats.go v1.45.0/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g=
511511
github.com/nats-io/nkeys v0.4.11 h1:q44qGV008kYd9W1b1nEBkNzvnWxtRSQ7A8BoqRrcfa0=

0 commit comments

Comments
 (0)