NATS
v2.14.1Networking & MessagingNATS v2.14.1 is a substantial patch release fixing ~30 bugs across JetStream, clustering, and core messaging — several of them data-integrity and panic-level issues worth deploying promptly.
breakingReview the 2.14 Upgrade Guide before deploying — 2.13.x was skipped
The release notes explicitly reference backwards-compatibility notes against 2.12.x, not 2.13.x, because that minor version was never released. If your team is running 2.12.x and skipped 2.13.x, read the 2.14 upgrade guide carefully before rolling out. Pay attention to JetStream consumer and stream API changes that may affect your clients.
securitygolang.org/x/crypto bumped to v0.51.0 — update now if you embed nats-server
The x/crypto and x/sys dependency updates often carry CVE fixes. If you embed nats-server as a Go library (common in edge/IoT deployments), rebuild and redeploy. For standard deployments, just upgrade the binary. Don't sit on this one — crypto library updates in a messaging server are not optional hygiene.
enhancementUse the new client-traffic /varz metrics for baseline observability
The four new metrics (in/out client msgs/bytes) give you a cleaner split between client traffic and internal cluster/leafnode chatter. Wire these into your Prometheus scrape or monitoring dashboard now to establish baselines. This is especially useful for capacity planning on servers that handle mixed client and cluster traffic, since previously you had to infer client load from total metrics.
Key changes (5)
- 30+ bug fixes across JetStream Raft, consumer state, filestore encryption, and cluster routing
- New /varz metrics (in_client_msgs, in_client_bytes, out_client_msgs, out_client_bytes) for client-only traffic visibility
- Consumer redelivery drift fixed across multiple paths: workqueue streams, max_deliver, purge/compaction scenarios
- Filestore block cache corruption on encryption mode conversion patched (critical data integrity fix)
- TLS handshake timeout logs demoted to debug level, reducing operational noise in busy clusters