Commit d375525
authored
fix(deps): update module github.com/nats-io/nats-server/v2 to v2.12.1 (#554)
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.12.0` -> `v2.12.1` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>nats-io/nats-server
(github.com/nats-io/nats-server/v2)</summary>
###
[`v2.12.1`](https://redirect.github.com/nats-io/nats-server/releases/tag/v2.12.1)
[Compare
Source](https://redirect.github.com/nats-io/nats-server/compare/v2.12.0...v2.12.1)
#### 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.3
([#​7428](https://redirect.github.com/nats-io/nats-server/issues/7428))
##### Dependencies
- github.com/google/go-tpm v0.9.6
([#​7374](https://redirect.github.com/nats-io/nats-server/issues/7374))
- github.com/nats-io/nats.go v1.46.0
([#​7374](https://redirect.github.com/nats-io/nats-server/issues/7374))
- golang.org/x/crypto v0.43.0
([#​7423](https://redirect.github.com/nats-io/nats-server/issues/7423))
- golang.org/x/sys v0.37.0
([#​7423](https://redirect.github.com/nats-io/nats-server/issues/7423))
- golang.org/x/time v0.14.0
([#​7423](https://redirect.github.com/nats-io/nats-server/issues/7423))
##### Added
General
- The `NewServerFromConfig` function has been added to the embedded
server API for parsing an external configuration file when `ConfigFile`
is supplied
([#​7364](https://redirect.github.com/nats-io/nats-server/issues/7364))
- WebSocket leafnode connections can now use a HTTP proxy by specifying
`proxy` settings in the leafnode `remotes`
([#​7242](https://redirect.github.com/nats-io/nats-server/issues/7242))
- The `write_deadline` option in the `cluster`, `leafnode` and `gateway`
config blocks allows configuring write deadlines on a finger-grained
basis
([#​7405](https://redirect.github.com/nats-io/nats-server/issues/7405))
##### Improved
Monitoring
- The `jsz` monitoring endpoint can now report leader counts
([#​7429](https://redirect.github.com/nats-io/nats-server/issues/7429))
JetStream
- The store lock is no longer held while searching for TTL expiry tasks,
improving performance
([#​7344](https://redirect.github.com/nats-io/nats-server/issues/7344))
- Removing a message from the TTL state is now faster
([#​7344](https://redirect.github.com/nats-io/nats-server/issues/7344))
- The filestore no longer performs heap allocations for hash checks
([#​7345](https://redirect.github.com/nats-io/nats-server/issues/7345))
- The filestore now reuses pooled write cache allocations more
efficiently
([#​7346](https://redirect.github.com/nats-io/nats-server/issues/7346))
- Meta snapshot performance for a very large number of assets has been
improved after a regression in v2.11.9
([#​7350](https://redirect.github.com/nats-io/nats-server/issues/7350))
- Sequence-from-timestamp lookups, such as those using `opt_start_time`
on consumers or `start_time` on message get requests, now use a binary
search for improved lookup performance
([#​7357](https://redirect.github.com/nats-io/nats-server/issues/7357))
- Scheduled messages are now deactivated properly when followed up with
another message on the same subject without a schedule
([#​7366](https://redirect.github.com/nats-io/nats-server/issues/7366))
- Meta snapshots are no longer taken on every stream removal
([#​7373](https://redirect.github.com/nats-io/nats-server/issues/7373))
- Filestore cache lookups can now return early for empty blocks
([#​7381](https://redirect.github.com/nats-io/nats-server/issues/7381))
- Filestore meta files are now written using temporary staging, avoiding
accidental truncation on crashes
([#​7388](https://redirect.github.com/nats-io/nats-server/issues/7388))
- Atomic batch publish now supports deduplication with the `Nats-Msg-Id`
header
([#​7391](https://redirect.github.com/nats-io/nats-server/issues/7391))
- Cache-specific log lines in the filestore have been improved
([#​7396](https://redirect.github.com/nats-io/nats-server/issues/7396))
- Log lines and errors related to offline/unsupported assets are now
clearer
([#​7416](https://redirect.github.com/nats-io/nats-server/issues/7416),
[#​7425](https://redirect.github.com/nats-io/nats-server/issues/7425))
##### Fixed
General
- Fixed the exit code when receiving a `SIGTERM` signal immediately
after startup
([#​7367](https://redirect.github.com/nats-io/nats-server/issues/7367))
- The `$SYS.REQ.CLAIMS.DELETE` endpoint now correctly strips headers,
like the `$SYS.REQ.CLAIMS.UPDATE` endpoint already does
([#​7413](https://redirect.github.com/nats-io/nats-server/issues/7413))
- Log lines generated when reloading trusted proxies now report the
correct keys
([#​7427](https://redirect.github.com/nats-io/nats-server/issues/7427))
JetStream
- Batch check now uses the correct subject instead of the last subject
that does the commit
([#​7342](https://redirect.github.com/nats-io/nats-server/issues/7342))
- Removed messages with a per-message TTL are now removed from the TTL
state immediately
([#​7344](https://redirect.github.com/nats-io/nats-server/issues/7344))
- Fixed a bug where TTL state was recovered on startup with subject
delete markers enabled, that message expiry would not start as expected
([#​7344](https://redirect.github.com/nats-io/nats-server/issues/7344))
- Expiring messages from the filestore no longer leaks timers and
expires at the correct time
([#​7344](https://redirect.github.com/nats-io/nats-server/issues/7344))
- Fixed a bug where scheduled messages would not trigger correctly after
recovery
([#​7347](https://redirect.github.com/nats-io/nats-server/issues/7347))
- Deleting a non-existent sequence on a stream no longer results in a
cluster reset and leadership election
([#​7348](https://redirect.github.com/nats-io/nats-server/issues/7348))
- Subject tree intersection now correctly handles overlapping literals
and partial wildcards, i.e. `stream.A` and `stream.*.A`, fixing some
consumer or message get filters
([#​7349](https://redirect.github.com/nats-io/nats-server/issues/7349))
- A data race when checking all JetStream limits has been fixed
([#​7356](https://redirect.github.com/nats-io/nats-server/issues/7356))
- Raft will no longer trigger a reset of the clustered state due to a
stream snapshot timeout
([#​7293](https://redirect.github.com/nats-io/nats-server/issues/7293))
- Atomic batches now reject unsupported commits
([#​7368](https://redirect.github.com/nats-io/nats-server/issues/7368))
- Race conditions and potential panics fixed in the handling of some
JetStream API handlers
([#​7380](https://redirect.github.com/nats-io/nats-server/issues/7380))
- The filestore no longer loses tombstones when using secure erase
([#​7384](https://redirect.github.com/nats-io/nats-server/issues/7384))
- The filestore no longer loses the last sequence when recovering blocks
containing only tombstones
([#​7384](https://redirect.github.com/nats-io/nats-server/issues/7384))
- The filestore now correctly cleans up empty blocks when selecting the
next first block
([#​7384](https://redirect.github.com/nats-io/nats-server/issues/7384))
- The filestore now correctly obeys `sync_always` for writing TTL and
scheduling state files
([#​7385](https://redirect.github.com/nats-io/nats-server/issues/7385))
- The filestore will now correctly expire a cache when the wrong
sequence is found
([#​7396](https://redirect.github.com/nats-io/nats-server/issues/7396))
- Fixed a data race on a wait group when mirroring streams
([#​7395](https://redirect.github.com/nats-io/nats-server/issues/7395))
- Skipped message sequences are now checked for ordering before apply,
fixing a potential stream desync on catchups
([#​7400](https://redirect.github.com/nats-io/nats-server/issues/7400))
- Skipped message sequences now correctly detect gaps from erased
message slots, fixing potential cache issues, slow reads and issues with
catchups
([#​7399](https://redirect.github.com/nats-io/nats-server/issues/7399),
[#​7401](https://redirect.github.com/nats-io/nats-server/issues/7401))
- Raft groups now report peer activity more consistently, fixing some
cases where asset info and monitoring endpoints may report misleading
values after leader changes
([#​7402](https://redirect.github.com/nats-io/nats-server/issues/7402))
- Raft groups will no longer permit truncations from unexpected catchup
entries if the catchup is completed
([#​7424](https://redirect.github.com/nats-io/nats-server/issues/7424))
- The filestore will now correctly release locks when erasing messages
returns an error
([#​7431](https://redirect.github.com/nats-io/nats-server/issues/7431))
##### 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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 1b39548 commit d375525
2 files changed
+20
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
508 | | - | |
| 507 | + | |
| 508 | + | |
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
788 | | - | |
| 787 | + | |
| 788 | + | |
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
| |||
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
819 | | - | |
820 | | - | |
| 819 | + | |
| 820 | + | |
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
860 | | - | |
| 859 | + | |
| 860 | + | |
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
868 | | - | |
869 | | - | |
| 868 | + | |
| 869 | + | |
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
| |||
0 commit comments