Changelog
Refer to the 2.12 Upgrade Guide for backwards compatibility notes with 2.11.x.
Go Version
- 1.25.3
Dependencies
Added
JetStream
- Added meta_compact, an advanced JetStream config option to control how many log entries must be present in the metalayer log before snapshotting and compaction takes place (#7484)
Monitoring
- Added expvar /debug/varsendpoint to the monitoring port (#7469)
Improved
General
- Binary stream snapshots are now preferred by default for nodes on new route connections (#7479)
JetStream
- Improved the logging for observer mode (#7433)
- Improve interest detection when consumers are created or deleted across different servers (#7440)
- Improved the performance of enforcing max_bytesandmax_msgslimits (#7455)
- Streams and consumers will no longer unnecessarily snapshot when being removed or scaling down (#7495)
- Streams are now loaded in parallel when enabling JetStream, often reducing the time it takes to start up the server (#7482)
Fixed
General
- When using message tracing, header corruption when setting the hop header has been fixed (#7443)
- Fixed a bug when validating leafnode proxies (#7444)
- Fixed a regression where token authentication would not be parsed correctly in leafnode URLs (#7452)
- Gateway subscribe/unsubscribe will no longer block on account fetches (#7449)
JetStream
- Caches will now no longer expire unnecessarily when re-reading the same sequences multiple times in first-matching code paths (#7435)
- Fixed a bug in atomic batching where the incorrect field would be checked when looking for unsupported headers (#7436)
- Fixed a deadlock that could happen when interleaving a direct get request with a batch write (#7458)
- A couple of issues related to header handling have been fixed (#7465)
- No-wait requests now return a 400 No Messages response correctly if the stream is empty (#7466)
- Raft groups will now only report leadership status after a no-op entry on recovery (#7460)
- Fixed a race condition in the filestore that could happen between storing messages and shutting down (#7496)