Changelog
Refer to the 2.12 Upgrade Guide for backwards compatibility notes with 2.11.x.
Go Version
- 1.25.1
Dependencies
Added
General
- The
NewServerFromConfig
function has been added to the embedded server API for parsing an external configuration file whenConfigFile
is supplied (#7364) - WebSocket leafnode connections can now use a HTTP proxy by specifying
proxy
settings in the leafnoderemotes
(#7242, thanks to @danbailey1000)
Improved
JetStream
- Meta snapshots are no longer taken on every stream removal (#7373)
- Filestore cache lookups can now return early for empty blocks (#7381)
- Filestore meta files are now written using temporary staging, avoiding accidental truncation on crashes (#7388)
- Atomic batch publish now supports deduplication with the
Nats-Msg-Id
header (#7391)
Fixed
JetStream
- Race conditions and potential panics fixed in the handling of some JetStream API handlers (#7380)
- The filestore no longer loses tombstones when using secure erase (#7384)
- The filestore no longer loses the last sequence when recovering blocks containing only tombstones (#7384)
- The filestore now correctly cleans up empty blocks when selecting the next first block (#7384)
- The filestore now correctly obeys
sync_always
for writing TTL and scheduling state files (#7385)