Repository navigation
Releases
Release v2.15.4-RC.1
Changelog
Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.
Go Version
- 1.27.4
Improved
General
- Account connection-count updates now allow concurrent client connects and disconnects without an exclusive server lock (#8905, contributed by @cfedersp)
JetStream
- Durable consumers used for mirrors and sources now support heartbeat intervals from 1 second to 1 minute, with stall detection adjusted to the interval and prompt flow control after the last delivery (#8723)
- JetStream account usage accounting now reduces contention between streams in the same account (#8893, contributed by @jnmoyne)
- Direct get requests for messages with headers now build response headers with fewer allocations (#8879, contributed by @no-hup)
- Consumer acknowledgement updates now avoid scanning large sequence gaps when few messages are pending (#8938)
- Consumer lookups no longer wait on stream storage operations, preventing consumer info requests from exhausting API workers and delaying metadata snapshot processing (#8939, contributed by @wallyqs)
- Filestore expiration, compaction and block removal now update per-subject message counts in bulk (#8950)
Fixed
General
- Subscription interest counts now include all overlapping wildcard matches, avoiding incorrect counts and false reports of insufficient Raft interest (#8896, contributed by @Ashuuu2606)
- Embedded servers now stop service export response timers during shutdown, allowing server memory to be released promptly (#8729, contributed by @clwluvw)
- Messages forwarded over routes and leafnodes are no longer dropped when a selected subscription closes while other matching subscriptions remain (#8915)
- Replies to concurrent service import requests on a fresh server are no longer lost while the reply subscription is being initialized (#8929, contributed by @ansh0014)
- Reloading
max_control_lineno longer races with protocol parsing (#8932, contributed by @huynguyen7)
JetStream
- Account info now includes stream replicas when reporting reserved storage for accounts without tiered limits (#8886)
- Filestore metadata updates and encryption conversions now recover safely after an interrupted write, and stream or consumer creation repairs missing or mismatched metadata checksums (#8887)
- Consumer recovery now verifies metadata checksums, and
sync_alwaysnow syncs newly created directories and message blocks so their directory entries survive power loss (#8887) - Filtered consumers now correctly release interest in messages outside their filters, retain interest when state or messages cannot be read, and clean up dangling WorkQueue messages on restart (#8890)
- Consumer info requests no longer incorrectly report an existing consumer as missing while its Raft node is being recreated (#8894, contributed by @nberlee)
- Memory stores now reject message sequence skips that would overflow or leave no sequence available for the next message (#8900)
- Consumer storage initialization and encryption operations no longer race with stream configuration updates (#8901)
- Counter increments and atomic batches now enforce account limits on the complete stored data, and R1 atomic batches no longer partially commit when reaching a limit (#8907)
- R1 fast batches now finish promptly after a storage error, and maximum record size checks account for rewritten headers before proposing messages (#8907)
- Batch publishing no longer stores trace-only messages or leaves R1 fast batches stalled by them (#8907)
- Removing deleted pending messages no longer acknowledges lower unacknowledged messages under
AckAll, preserving their redelivery (#8659, contributed by @goingforstudying-ctrl) - Consumers now send the maximum-delivery advisory and clear the pending acknowledgement when the final
AckWaitexpires, without waiting for another pull request (#8918, contributed by @huynguyen7) - Truncation and filtered state queries now report consistent first and last sequences across file and memory stores, including empty streams (#8919)
- Filestore recovery now restores block compression correctly and avoids appending to compressed blocks after recovery or truncation (#8920)
- Filestore compaction, truncation and recovery now handle empty blocks and per-subject state correctly, avoiding incorrect sequence reports, encryption conversion failures and stalls enforcing per-subject message limits (#8920)
- Consumer file stores no longer lose concurrent state updates while writing acknowledgement state (#8920)
- Filestore truncation, compaction and recovery now preserve deletion tombstones around empty blocks, preventing removed messages from reappearing or retained messages from being incorrectly deleted (#8922)
- Stream updates now reject invalid source
FilterSubjectvalues before committing the configuration (#8923, contributed by @sohailshk) - Direct get requests and stream creation no longer race with configuration reloads (#8927, contributed by @Zitniks)
- Consumers now resume delivery when stream catchup completes (#8930)
- Replicated pull consumers now send terminal statuses after queued messages, and lowering
MaxAckPendingpreserves in-flight deliveries and their statuses (#8925, contributed by @sansynx) - Pull requests sharing a reply subject no longer lose deferred statuses, preventing client refill stalls caused by incorrect pending counts (#8935)
- Metadata recovery and catchup no longer discard a recreated consumer when processing a stale deletion of an earlier consumer with the same name (#8954)
Leafnodes
- Solicited leafnode connections now reconnect after a write error during compression negotiation (#8899)
- Fixed a regression that prevented leafnodes running versions before 2.15 from connecting to hubs with
leafnodes { no_advertise: true }when no cluster member advertises a leafnode URL (#8949)
Routes
- Solicited routes now reconnect after a write error during compression negotiation (#8899)
MQTT
- MQTT JetStream requests no longer stall behind unflushed route messages (#8902)
- Retained QoS1 and QoS2 publishes now store messages asynchronously, avoiding read-loop stalls and keepalive disconnects when JetStream is remote (#8801, contributed by @ansh0014)
Complete Changes
Release v2.14.11-RC.1
Changelog
Refer to the 2.14 Upgrade Guide for backwards compatibility notes with 2.12.x. Please note that the 2.13.x version was skipped.
Go Version
- 1.26.11
Improved
General
- Account connection-count updates now allow concurrent client connects and disconnects without an exclusive server lock (#8905, contributed by @cfedersp)
JetStream
- Durable consumers used for mirrors and sources now support heartbeat intervals from 1 second to 1 minute, with stall detection adjusted to the interval and prompt flow control after the last delivery (#8723)
- JetStream account usage accounting now reduces contention between streams in the same account (#8893, contributed by @jnmoyne)
- Direct get requests for messages with headers now build response headers with fewer allocations (#8879, contributed by @no-hup)
- Consumer acknowledgement updates now avoid scanning large sequence gaps when few messages are pending (#8938)
- Consumer lookups no longer wait on stream storage operations, preventing consumer info requests from exhausting API workers and delaying metadata snapshot processing (#8939, contributed by @wallyqs)
- Filestore expiration, compaction and block removal now update per-subject message counts in bulk (#8950)
Fixed
General
- Subscription interest counts now include all overlapping wildcard matches, avoiding incorrect counts and false reports of insufficient Raft interest (#8896, contributed by @Ashuuu2606)
- Embedded servers now stop service export response timers during shutdown, allowing server memory to be released promptly (#8729, contributed by @clwluvw)
- Messages forwarded over routes and leafnodes are no longer dropped when a selected subscription closes while other matching subscriptions remain (#8915)
- Replies to concurrent service import requests on a fresh server are no longer lost while the reply subscription is being initialized (#8929, contributed by @ansh0014)
- Reloading
max_control_lineno longer races with protocol parsing (#8932, contributed by @huynguyen7)
JetStream
- Account info now includes stream replicas when reporting reserved storage for accounts without tiered limits (#8886)
- Filestore metadata updates and encryption conversions now recover safely after an interrupted write, and stream or consumer creation repairs missing or mismatched metadata checksums (#8887)
- Consumer recovery now verifies metadata checksums, and
sync_alwaysnow syncs newly created directories and message blocks so their directory entries survive power loss (#8887) - Filtered consumers now correctly release interest in messages outside their filters, retain interest when state or messages cannot be read, and clean up dangling WorkQueue messages on restart (#8890)
- Consumer info requests no longer incorrectly report an existing consumer as missing while its Raft node is being recreated (#8894, contributed by @nberlee)
- Memory stores now reject message sequence skips that would overflow or leave no sequence available for the next message (#8900)
- Consumer storage initialization and encryption operations no longer race with stream configuration updates (#8901)
- Counter increments and atomic batches now enforce account limits on the complete stored data, and R1 atomic batches no longer partially commit when reaching a limit (#8907)
- R1 fast batches now finish promptly after a storage error, and maximum record size checks account for rewritten headers before proposing messages (#8907)
- Batch publishing no longer stores trace-only messages or leaves R1 fast batches stalled by them (#8907)
- Removing deleted pending messages no longer acknowledges lower unacknowledged messages under
AckAll, preserving their redelivery (#8659, contributed by @goingforstudying-ctrl) - Consumers now send the maximum-delivery advisory and clear the pending acknowledgement when the final
AckWaitexpires, without waiting for another pull request (#8918, contributed by @huynguyen7) - Truncation and filtered state queries now report consistent first and last sequences across file and memory stores, including empty streams (#8919)
- Filestore recovery now restores block compression correctly and avoids appending to compressed blocks after recovery or truncation (#8920)
- Filestore compaction, truncation and recovery now handle empty blocks and per-subject state correctly, avoiding incorrect sequence reports, encryption conversion failures and stalls enforcing per-subject message limits (#8920)
- Consumer file stores no longer lose concurrent state updates while writing acknowledgement state (#8920)
- Filestore truncation, compaction and recovery now preserve deletion tombstones around empty blocks, preventing removed messages from reappearing or retained messages from being incorrectly deleted (#8922)
- Stream updates now reject invalid source
FilterSubjectvalues before committing the configuration (#8923, contributed by @sohailshk) - Direct get requests and stream creation no longer race with configuration reloads (#8927, contributed by @Zitniks)
- Consumers now resume delivery when stream catchup completes (#8930)
- Replicated pull consumers now send terminal statuses after queued messages, and lowering
MaxAckPendingpreserves in-flight deliveries and their statuses (#8925, contributed by @sansynx) - Pull requests sharing a reply subject no longer lose deferred statuses, preventing client refill stalls caused by incorrect pending counts (#8935)
- Metadata recovery and catchup no longer discard a recreated consumer when processing a stale deletion of an earlier consumer with the same name (#8954)
Leafnodes
- Solicited leafnode connections now reconnect after a write error during compression negotiation (#8899)
Routes
- Solicited routes now reconnect after a write error during compression negotiation (#8899)
MQTT
- MQTT JetStream requests no longer stall behind unflushed route messages (#8902)
Complete Changes
Release v2.15.3
Changelog
Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.
Go Version
- 1.27.4
Dependencies
- github.com/nats-io/jwt/v2 v2.8.3 (#8861)
- github.com/nats-io/nkeys v0.4.17 (#8861)
- github.com/antithesishq/antithesis-sdk-go v0.9.0-default-no-op (#8885)
- github.com/klauspost/compress v1.20.4 (#8885)
- golang.org/x/sys v0.50.0 (#8885)
Added
General
- Account subject mappings, imports, exports and leafnode remote permissions now support the
{{account-hash()}},{{account-hash-import()}}and{{account-hash-leaf-remote()}}subject mapping functions (#8670) - TLS configuration now supports
verify: optional, and the command line supports--tlsverify=optional, verifying client certificates when provided while allowing clients without certificates (#8812, contributed by @macphersonjamie) - Leafnode connections now support a configurable
ping_interval(#8718, contributed by @stackedbyaradhya) - Gateway connections now support a configurable
ping_interval(#8717, contributed by @stackedbyaradhya) - The command line now supports
-t --test_reload <file>to check whether a configuration change can be reloaded or requires a restart, returning exit code 3 when a restart is required; embedded servers can useCheckReloadandCheckReloadOptions(#8829)
Monitoring
- Healthz now supports
leaf-remotes-connected=true, returning an unavailable status until every enabled solicited leafnode remote is connected (#8735, contributed by @edjeffreys)
Improved
General
- Route, gateway and leafnode connection logs now include remote destinations (#8755)
- Account import failures now log their reasons at error level (#8771)
- Gateway connections now validate protocol operations consistently with route connections (#8780)
- Clients authorized by auth callout can no longer publish or subscribe to the auth callout request subject or the server's auth callout reply inboxes
JetStream
- Filestore subject matching and pending message calculations now avoid unnecessary scans and stop earlier when matches are found (#8784, #8803, #8806, #8808, #8813)
- Looking up the last sequence for a subject no longer requires loading the message, reducing work for stream operations and fast batch publishing (#8807)
- Filestore scans with single or multiple subject filters now avoid copying messages that do not match (#8854, #8855)
- Consumer redelivery queues no longer copy all remaining entries on each dequeue, reducing delays to delivery and acknowledgement processing with large redelivery backlogs (#8635, contributed by @as-clearview)
- Filestore scans with multiple subject filters now handle message blocks with many deleted messages more efficiently (#8864)
- Filestore subject scans and filtered pending-message counts now skip contiguous ranges of deleted messages (#8875, #8877)
- Loading filestore message blocks now avoids fully parsing messages when checking for
Nats-TTLandNats-Scheduleheaders (#8870, contributed by @adios-404)
Fixed
General
- Lame duck mode is no longer skipped when
SIGTERMfollowsSIGUSR2immediately, and servers continue to deliver their own replies after the lame duck event (#8750) - Configuration reloads no longer disconnect clients authorized by auth callout when their permissions have not changed (#8759)
- Auth callout user JWT names and tags are now propagated to client information (#8720, contributed by @steve-weiland)
- Configuration reloads now wait for server startup to finish (#8728, contributed by @edelmanjm)
- Connz totals now correctly reflect user, MQTT client and subject filters (#8753, contributed by @NitinKumar004)
- Connz and Subsz pagination no longer repeats or skips entries, including connections with equal sort values (#8770)
- Windows PDH queries are now released if performance counter initialization fails (#8777, contributed by @cvas22)
- Auth callout requests are now rejected safely when system account eventing has already shut down (#8804, contributed by @davidfarah2003)
- Wildcard characters inside a subject token are no longer treated as wildcard tokens or allowed to cause subject matching collisions (#8765)
- Account updates no longer unnecessarily recheck importers when export revocations have not changed (#8851)
- Configuration checks with
-tnow apply command line flags and validate options consistently with server startup (#8829) - Duplicate non-queue subscriptions received over routes no longer leak interest to leafnodes and gateways (#8846)
- Gateway accounts in interest-only mode no longer stop receiving messages when an in-flight message races with removal of the last subscription (#8853, contributed by @paulwe)
- Encrypted auth callouts are now rejected when the server has no XKey available (#8878)
- The auth callout account now defaults to
$Gwhen auth callout is configured through programmatic options, consistently with the configuration file - Auth callout subject denies are no longer dropped when default permissions are updated
- User JWT payload and subscription limits are now enforced for clients authorized by auth callout and for MQTT clients
- Duplicate auth callout replies no longer block the sender's read loop
- Auth callout now enforces the
srcrestriction of the returned user JWT
JetStream
- Consumer info requests no longer report success for assignments that have not been committed (#8741)
- Push consumers with a
RateLimitno longer stall indefinitely when a message exceeds the rate limiter burst size (#8748) - Stream scale-up from R1 can now make progress under continuous writes, and scale-down no longer stalls on peers that were never added as members (#8762)
- Stalled stream restores now report failure through the restore completion advisory, consistently with other failed restores (#8691, contributed by @akarazhev)
- JetStream no longer shuts down prematurely during server shutdown or lame duck mode (#8708, contributed by @yousefissa)
- Raft meta-group setup failures now stop the write-ahead log instead of leaking it (#8722, contributed by @clwluvw)
- Leader transfers now retry promptly when the selected successor is slow, prefer caught-up peers and avoid persisting the same term and vote twice (#8751)
- Interest retention cleanup no longer purges a stream when a consumer has a zero check floor, and compaction is bounded by the stream's last sequence (#8757, contributed by @tsite)
- Filestore
MultiLastSeqsno longer skips matching subjects (#8769) - Fixed a directory creation race when enabling account storage concurrently with stream creation (#8767, contributed by @ansh0014)
- Deleting a stream no longer races with account directory cleanup (#8774, contributed by @ansh0014)
- Sources no longer discard the remainder of a batch when one sourced message is rejected (#8772)
- Pull requests made through service imports are now removed when the requester loses interest, even while response wildcard interest remains (#8797)
- Consumers no longer deliver while a reset is in flight or report later deliveries in reset responses, and durable mirrors and sources no longer skip messages after a reset or stale delivery (#8802)
- Memory store purge and last-sequence scans are now bounded by the possible sequence range (#8815)
- Raft health checks now wait for the leader's initial data to be applied, remain stable between heartbeats and during leader changes, and allow newly assigned replicated streams and consumers time to start (#8817)
- Resuming a paused consumer now wakes its delivery loop immediately, allowing pending pull requests and push deliveries to proceed (#8791)
AckAllacknowledgements are no longer ignored after acknowledging a redelivered message (#8839)- Filestore recovery failures now return the original error instead of panicking, preserve existing stream data and avoid incorrect storage accounting (#8844, contributed by @rleungx)
- Streams and consumers with unsupported configuration values are now correctly marked offline, updates are rejected by meta leaders that cannot support them, and internal proposals preserve their stored configurations (#8843)
- Paused Raft followers can now request newer snapshots and compact their logs while catching up, preventing unbounded log growth and excessive memory use when replay resumes (#8842)
- Filestore recovery scans now persist per-message state indexes even if no new messages are published, and backward subject scans skip irrelevant blocks (#8849)
- Clustered health checks now report write errors on R1 streams (#8850)
- Removed peers in unmanaged Raft groups can no longer rejoin as leader (#8847)
- Scaling streams and consumers to or from R1 no longer loses writes or acknowledgements during the transition or violates atomic batch guarantees (#8766)
- Resetting consumers with the
last_per_subjectdelivery policy now rebuilds the last-message-per-subject selection, preserves the correct delivery position after leader changes, and reports lookup errors instead of ignoring them (#8862) - Filestore encryption key creation failures no longer leak file descriptors (#8873)
- The filestore access-time worker now shuts down reliably when the last store closes, preventing worker leaks or stopped timestamp updates when stores are reopened (#8794, contributed by @ajaykr0905)
- Rebuilding message deduplication state now skips deleted messages and expires restored entries at the end of their original duplicate window (#8874)
- Restoring a stream from a V2 snapshot now rebuilds message deduplication state, restoring duplicate detection and
Nats-Expected-Last-Msg-Idchecks without a server restart (#8871, contributed by @muhadyan) - Reply subjects, deliver subjects and service import aliases can no longer be used to make the server issue JetStream requests on a user's behal...
Release v2.14.10
Changelog
Refer to the 2.14 Upgrade Guide for backwards compatibility notes with 2.12.x. Please note that the 2.13.x version was skipped.
Go Version
- 1.26.11
Dependencies
- github.com/nats-io/jwt/v2 v2.8.3 (#8861)
- github.com/nats-io/nkeys v0.4.17 (#8861)
- github.com/antithesishq/antithesis-sdk-go v0.9.0-default-no-op (#8885)
- github.com/klauspost/compress v1.20.4 (#8885)
- golang.org/x/sys v0.50.0 (#8885)
Added
General
- Account subject mappings, imports, exports and leafnode remote permissions now support the
{{account-hash()}},{{account-hash-import()}}and{{account-hash-leaf-remote()}}subject mapping functions (#8670) - TLS configuration now supports
verify: optional, and the command line supports--tlsverify=optional, verifying client certificates when provided while allowing clients without certificates (#8812, contributed by @macphersonjamie) - Leafnode connections now support a configurable
ping_interval(#8718, contributed by @stackedbyaradhya) - Gateway connections now support a configurable
ping_interval(#8717, contributed by @stackedbyaradhya)
Monitoring
- Healthz now supports
leaf-remotes-connected=true, returning an unavailable status until every enabled solicited leafnode remote is connected (#8735, contributed by @edjeffreys)
Improved
General
- Route, gateway and leafnode connection logs now include remote destinations (#8755)
- Account import failures now log their reasons at error level (#8771)
- Gateway connections now validate protocol operations consistently with route connections (#8780)
- Clients authorized by auth callout can no longer publish or subscribe to the auth callout request subject or the server's auth callout reply inboxes
JetStream
- Filestore subject matching and pending message calculations now avoid unnecessary scans and stop earlier when matches are found (#8784, #8803, #8806, #8808, #8813)
- Looking up the last sequence for a subject no longer requires loading the message, reducing work for stream operations and fast batch publishing (#8807)
- Filestore scans with single or multiple subject filters now avoid copying messages that do not match (#8854, #8855)
- Consumer redelivery queues no longer copy all remaining entries on each dequeue, reducing delays to delivery and acknowledgement processing with large redelivery backlogs (#8635, contributed by @as-clearview)
Fixed
General
- Lame duck mode is no longer skipped when
SIGTERMfollowsSIGUSR2immediately, and servers continue to deliver their own replies after the lame duck event (#8750) - Configuration reloads no longer disconnect clients authorized by auth callout when their permissions have not changed (#8759)
- Auth callout user JWT names and tags are now propagated to client information (#8720, contributed by @steve-weiland)
- Configuration reloads now wait for server startup to finish (#8728, contributed by @edelmanjm)
- Connz totals now correctly reflect user, MQTT client and subject filters (#8753, contributed by @NitinKumar004)
- Connz and Subsz pagination no longer repeats or skips entries, including connections with equal sort values (#8770)
- Windows PDH queries are now released if performance counter initialization fails (#8777, contributed by @cvas22)
- Auth callout requests are now rejected safely when system account eventing has already shut down (#8804, contributed by @davidfarah2003)
- Wildcard characters inside a subject token are no longer treated as wildcard tokens or allowed to cause subject matching collisions (#8765)
- Account updates no longer unnecessarily recheck importers when export revocations have not changed (#8851)
- Duplicate non-queue subscriptions received over routes no longer leak interest to leafnodes and gateways (#8846)
- Gateway accounts in interest-only mode no longer stop receiving messages when an in-flight message races with removal of the last subscription (#8853, contributed by @paulwe)
- The auth callout account now defaults to
$Gwhen auth callout is configured through programmatic options, consistently with the configuration file - Auth callout subject denies are no longer dropped when default permissions are updated
- User JWT payload and subscription limits are now enforced for clients authorized by auth callout and for MQTT clients
- Duplicate auth callout replies no longer block the sender's read loop
- Auth callout now enforces the
srcrestriction of the returned user JWT
JetStream
- Consumer info requests no longer report success for assignments that have not been committed (#8741)
- Push consumers with a
RateLimitno longer stall indefinitely when a message exceeds the rate limiter burst size (#8748) - Stalled stream restores now report failure through the restore completion advisory, consistently with other failed restores (#8691, contributed by @akarazhev)
- JetStream no longer shuts down prematurely during server shutdown or lame duck mode (#8708, contributed by @yousefissa)
- Raft meta-group setup failures now stop the write-ahead log instead of leaking it (#8722, contributed by @clwluvw)
- Leader transfers now retry promptly when the selected successor is slow, prefer caught-up peers and avoid persisting the same term and vote twice (#8751)
- Interest retention cleanup no longer purges a stream when a consumer has a zero check floor, and compaction is bounded by the stream's last sequence (#8757, contributed by @tsite)
- Filestore
MultiLastSeqsno longer skips matching subjects (#8769) - Fixed a directory creation race when enabling account storage concurrently with stream creation (#8767, contributed by @ansh0014)
- Deleting a stream no longer races with account directory cleanup (#8774, contributed by @ansh0014)
- Sources no longer discard the remainder of a batch when one sourced message is rejected (#8772)
- Pull requests made through service imports are now removed when the requester loses interest, even while response wildcard interest remains (#8797)
- Consumers no longer deliver while a reset is in flight or report later deliveries in reset responses, and durable mirrors and sources no longer skip messages after a reset or stale delivery (#8802)
- Memory store purge and last-sequence scans are now bounded by the possible sequence range (#8815)
- Raft health checks now wait for the leader's initial data to be applied, remain stable between heartbeats and during leader changes, and allow newly assigned replicated streams and consumers time to start (#8817)
- Resuming a paused consumer now wakes its delivery loop immediately, allowing pending pull requests and push deliveries to proceed (#8791)
AckAllacknowledgements are no longer ignored after acknowledging a redelivered message (#8839)- Filestore recovery failures now return the original error instead of panicking, preserve existing stream data and avoid incorrect storage accounting (#8844, contributed by @rleungx)
- Streams and consumers with unsupported configuration values are now correctly marked offline, updates are rejected by meta leaders that cannot support them, and internal proposals preserve their stored configurations (#8843)
- Paused Raft followers can now request newer snapshots and compact their logs while catching up, preventing unbounded log growth and excessive memory use when replay resumes (#8842)
- Filestore recovery scans now persist per-message state indexes even if no new messages are published, and backward subject scans skip irrelevant blocks (#8849)
- Clustered health checks now report write errors on R1 streams (#8850)
- Reply subjects, deliver subjects and service import aliases can no longer be used to make the server issue JetStream requests on a user's behalf
- JetStream domain names
ACK,FC,SNAPSHOTandEVENTare now rejected, since they clash with other JetStream subjects
Leafnodes
- Leafnode interest is now withdrawn correctly when an outbound gateway connection closes (#8758)
- Leafnode
deny_importsno longer drops replies to hub requests, and account JWT or default permission updates no longer lose leafnode interest or reset permissions incorrectly (#8800) - Leafnode connections no longer become stale when a hub sends many subscriptions during connection setup (#8811)
- Leafnode connections closed during acceptance are now removed from the server's connection list, preventing inflated leafnode counts and stale Leafz entries (#8838, contributed by @rnikhori)
- Inbound leafnode messages on JetStream ack subjects are no longer exempt from leafnode permission checks
- Hub leafnode connections now keep their own copy of the import and export permissions advertised to the remote, instead of sharing them with the user's permissions
Routes
- Routes without pooling now validate the route pool index correctly (#8782)
Complete Changes
Release v2.15.3-RC.2
Changelog
Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.
Go Version
- 1.27.3
Dependencies
Added
General
- The command line now supports
-t --test_reload <file>to check whether a configuration change can be reloaded or requires a restart, returning exit code 3 when a restart is required; embedded servers can useCheckReloadandCheckReloadOptions(#8829)
Improved
JetStream
- Filestore scans with single or multiple subject filters now avoid copying messages that do not match (#8854, #8855)
- Consumer redelivery queues no longer copy all remaining entries on each dequeue, reducing delays to delivery and acknowledgement processing with large redelivery backlogs (#8635, contributed by @as-clearview)
Fixed
General
- Account updates no longer unnecessarily recheck importers when export revocations have not changed (#8851)
- Configuration checks with
-tnow apply command line flags and validate options consistently with server startup (#8829) - Duplicate non-queue subscriptions received over routes no longer leak interest to leafnodes and gateways (#8846)
- Gateway accounts in interest-only mode no longer stop receiving messages when an in-flight message races with removal of the last subscription (#8853, contributed by @paulwe)
JetStream
AckAllacknowledgements are no longer ignored after acknowledging a redelivered message (#8839)- Filestore recovery failures now return the original error instead of panicking, preserve existing stream data and avoid incorrect storage accounting (#8844, contributed by @rleungx)
- Streams and consumers with unsupported configuration values are now correctly marked offline, updates are rejected by meta leaders that cannot support them, and internal proposals preserve their stored configurations (#8843)
- Paused Raft followers can now request newer snapshots and compact their logs while catching up, preventing unbounded log growth and excessive memory use when replay resumes (#8842)
- Filestore recovery scans now persist per-message state indexes even if no new messages are published, and backward subject scans skip irrelevant blocks (#8849)
- Clustered health checks now report write errors on R1 streams (#8850)
- Removed peers in unmanaged Raft groups can no longer rejoin as leader (#8847)
- Scaling streams and consumers to or from R1 no longer loses writes or acknowledgements during the transition or violates atomic batch guarantees (#8766)
Leafnodes
- Leafnode connections closed during acceptance are now removed from the server's connection list, preventing inflated leafnode counts and stale Leafz entries (#8838, contributed by @rnikhori)
Complete Changes
Release v2.14.10-RC.2
Changelog
Refer to the 2.14 Upgrade Guide for backwards compatibility notes with 2.12.x. Please note that the 2.13.x version was skipped.
Go Version
- 1.26.10
Dependencies
Improved
JetStream
- Filestore scans with single or multiple subject filters now avoid copying messages that do not match (#8854, #8855)
- Consumer redelivery queues no longer copy all remaining entries on each dequeue, reducing delays to delivery and acknowledgement processing with large redelivery backlogs (#8635, contributed by @as-clearview)
Fixed
General
- Account updates no longer unnecessarily recheck importers when export revocations have not changed (#8851)
- Duplicate non-queue subscriptions received over routes no longer leak interest to leafnodes and gateways (#8846)
- Gateway accounts in interest-only mode no longer stop receiving messages when an in-flight message races with removal of the last subscription (#8853, contributed by @paulwe)
JetStream
AckAllacknowledgements are no longer ignored after acknowledging a redelivered message (#8839)- Filestore recovery failures now return the original error instead of panicking, preserve existing stream data and avoid incorrect storage accounting (#8844, contributed by @rleungx)
- Streams and consumers with unsupported configuration values are now correctly marked offline, updates are rejected by meta leaders that cannot support them, and internal proposals preserve their stored configurations (#8843)
- Paused Raft followers can now request newer snapshots and compact their logs while catching up, preventing unbounded log growth and excessive memory use when replay resumes (#8842)
- Filestore recovery scans now persist per-message state indexes even if no new messages are published, and backward subject scans skip irrelevant blocks (#8849)
- Clustered health checks now report write errors on R1 streams (#8850)
Leafnodes
- Leafnode connections closed during acceptance are now removed from the server's connection list, preventing inflated leafnode counts and stale Leafz entries (#8838, contributed by @rnikhori)
Complete Changes
Release v2.15.3-RC.1
Changelog
Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.
Go Version
- 1.27.3
Added
General
- Account subject mappings, imports, exports and leafnode remote permissions now support the
{{account-hash()}},{{account-hash-import()}}and{{account-hash-leaf-remote()}}subject mapping functions (#8670) - TLS configuration now supports
verify: optional, and the command line supports--tlsverify=optional, verifying client certificates when provided while allowing clients without certificates (#8812, contributed by @macphersonjamie) - Leafnode connections now support a configurable
ping_interval(#8718, contributed by @stackedbyaradhya) - Gateway connections now support a configurable
ping_interval(#8717, contributed by @stackedbyaradhya)
Monitoring
- Healthz now supports
leaf-remotes-connected=true, returning an unavailable status until every enabled solicited leafnode remote is connected (#8735, contributed by @edjeffreys)
Improved
General
- Route, gateway and leafnode connection logs now include remote destinations (#8755)
- Account import failures now log their reasons at error level (#8771)
- Gateway connections now validate protocol operations consistently with route connections (#8780)
JetStream
- Filestore subject matching and pending message calculations now avoid unnecessary scans and stop earlier when matches are found (#8784, #8803, #8806, #8808, #8813)
- Looking up the last sequence for a subject no longer requires loading the message, reducing work for stream operations and fast batch publishing (#8807)
Fixed
General
- Lame duck mode is no longer skipped when
SIGTERMfollowsSIGUSR2immediately, and servers continue to deliver their own replies after the lame duck event (#8750) - Configuration reloads no longer disconnect clients authorized by auth callout when their permissions have not changed (#8759)
- Auth callout user JWT names and tags are now propagated to client information (#8720, contributed by @steve-weiland)
- Configuration reloads now wait for server startup to finish (#8728, contributed by @edelmanjm)
- Connz totals now correctly reflect user, MQTT client and subject filters (#8753, contributed by @NitinKumar004)
- Connz and Subsz pagination no longer repeats or skips entries, including connections with equal sort values (#8770)
- Windows PDH queries are now released if performance counter initialization fails (#8777, contributed by @cvas22)
- Auth callout requests are now rejected safely when system account eventing has already shut down (#8804, contributed by @davidfarah2003)
- Wildcard characters inside a subject token are no longer treated as wildcard tokens or allowed to cause subject matching collisions (#8765)
JetStream
- Consumer info requests no longer report success for assignments that have not been committed (#8741)
- Push consumers with a
RateLimitno longer stall indefinitely when a message exceeds the rate limiter burst size (#8748) - Stream scale-up from R1 can now make progress under continuous writes, and scale-down no longer stalls on peers that were never added as members (#8762)
- Stalled stream restores now report failure through the restore completion advisory, consistently with other failed restores (#8691, contributed by @akarazhev)
- JetStream no longer shuts down prematurely during server shutdown or lame duck mode (#8708, contributed by @yousefissa)
- Raft meta-group setup failures now stop the write-ahead log instead of leaking it (#8722, contributed by @clwluvw)
- Leader transfers now retry promptly when the selected successor is slow, prefer caught-up peers and avoid persisting the same term and vote twice (#8751)
- Interest retention cleanup no longer purges a stream when a consumer has a zero check floor, and compaction is bounded by the stream's last sequence (#8757, contributed by @tsite)
- Filestore
MultiLastSeqsno longer skips matching subjects (#8769) - Fixed a directory creation race when enabling account storage concurrently with stream creation (#8767, contributed by @ansh0014)
- Deleting a stream no longer races with account directory cleanup (#8774, contributed by @ansh0014)
- Sources no longer discard the remainder of a batch when one sourced message is rejected (#8772)
- Pull requests made through service imports are now removed when the requester loses interest, even while response wildcard interest remains (#8797)
- Consumers no longer deliver while a reset is in flight or report later deliveries in reset responses, and durable mirrors and sources no longer skip messages after a reset or stale delivery (#8802)
- Memory store purge and last-sequence scans are now bounded by the possible sequence range (#8815)
- Raft health checks now wait for the leader's initial data to be applied, remain stable between heartbeats and during leader changes, and allow newly assigned replicated streams and consumers time to start (#8817)
- Resuming a paused consumer now wakes its delivery loop immediately, allowing pending pull requests and push deliveries to proceed (#8791)
Leafnodes
- Isolated spoke leafnodes no longer forward downstream leafnode interest to their hubs, and avoid collecting interest that cannot be forwarded (#8749)
- Leafnode interest is now withdrawn correctly when an outbound gateway connection closes (#8758)
- Fixed a data race when reading route leafnode origin support (#8779)
- Leafnode
deny_importsno longer drops replies to hub requests, and account JWT or default permission updates no longer lose leafnode interest or reset permissions incorrectly (#8800) - Leafnode connections no longer become stale when a hub sends many subscriptions during connection setup (#8811)
Routes
- Routes without pooling now validate the route pool index correctly (#8782)
Complete Changes
Release v2.14.10-RC.1
Changelog
Refer to the 2.14 Upgrade Guide for backwards compatibility notes with 2.12.x. Please note that the 2.13.x version was skipped.
Go Version
- 1.26.10
Added
General
- Account subject mappings, imports, exports and leafnode remote permissions now support the
{{account-hash()}},{{account-hash-import()}}and{{account-hash-leaf-remote()}}subject mapping functions (#8670) - TLS configuration now supports
verify: optional, and the command line supports--tlsverify=optional, verifying client certificates when provided while allowing clients without certificates (#8812, contributed by @macphersonjamie) - Leafnode connections now support a configurable
ping_interval(#8718, contributed by @stackedbyaradhya) - Gateway connections now support a configurable
ping_interval(#8717, contributed by @stackedbyaradhya)
Monitoring
- Healthz now supports
leaf-remotes-connected=true, returning an unavailable status until every enabled solicited leafnode remote is connected (#8735, contributed by @edjeffreys)
Improved
General
- Route, gateway and leafnode connection logs now include remote destinations (#8755)
- Account import failures now log their reasons at error level (#8771)
- Gateway connections now validate protocol operations consistently with route connections (#8780)
JetStream
- Filestore subject matching and pending message calculations now avoid unnecessary scans and stop earlier when matches are found (#8784, #8803, #8806, #8808, #8813)
- Looking up the last sequence for a subject no longer requires loading the message, reducing work for stream operations and fast batch publishing (#8807)
Fixed
General
- Lame duck mode is no longer skipped when
SIGTERMfollowsSIGUSR2immediately, and servers continue to deliver their own replies after the lame duck event (#8750) - Configuration reloads no longer disconnect clients authorized by auth callout when their permissions have not changed (#8759)
- Auth callout user JWT names and tags are now propagated to client information (#8720, contributed by @steve-weiland)
- Configuration reloads now wait for server startup to finish (#8728, contributed by @edelmanjm)
- Connz totals now correctly reflect user, MQTT client and subject filters (#8753, contributed by @NitinKumar004)
- Connz and Subsz pagination no longer repeats or skips entries, including connections with equal sort values (#8770)
- Windows PDH queries are now released if performance counter initialization fails (#8777, contributed by @cvas22)
- Auth callout requests are now rejected safely when system account eventing has already shut down (#8804, contributed by @davidfarah2003)
- Wildcard characters inside a subject token are no longer treated as wildcard tokens or allowed to cause subject matching collisions (#8765)
JetStream
- Consumer info requests no longer report success for assignments that have not been committed (#8741)
- Push consumers with a
RateLimitno longer stall indefinitely when a message exceeds the rate limiter burst size (#8748) - Stalled stream restores now report failure through the restore completion advisory, consistently with other failed restores (#8691, contributed by @akarazhev)
- JetStream no longer shuts down prematurely during server shutdown or lame duck mode (#8708, contributed by @yousefissa)
- Raft meta-group setup failures now stop the write-ahead log instead of leaking it (#8722, contributed by @clwluvw)
- Leader transfers now retry promptly when the selected successor is slow, prefer caught-up peers and avoid persisting the same term and vote twice (#8751)
- Interest retention cleanup no longer purges a stream when a consumer has a zero check floor, and compaction is bounded by the stream's last sequence (#8757, contributed by @tsite)
- Filestore
MultiLastSeqsno longer skips matching subjects (#8769) - Fixed a directory creation race when enabling account storage concurrently with stream creation (#8767, contributed by @ansh0014)
- Deleting a stream no longer races with account directory cleanup (#8774, contributed by @ansh0014)
- Sources no longer discard the remainder of a batch when one sourced message is rejected (#8772)
- Pull requests made through service imports are now removed when the requester loses interest, even while response wildcard interest remains (#8797)
- Consumers no longer deliver while a reset is in flight or report later deliveries in reset responses, and durable mirrors and sources no longer skip messages after a reset or stale delivery (#8802)
- Memory store purge and last-sequence scans are now bounded by the possible sequence range (#8815)
- Raft health checks now wait for the leader's initial data to be applied, remain stable between heartbeats and during leader changes, and allow newly assigned replicated streams and consumers time to start (#8817)
- Resuming a paused consumer now wakes its delivery loop immediately, allowing pending pull requests and push deliveries to proceed (#8791)
Leafnodes
- Leafnode interest is now withdrawn correctly when an outbound gateway connection closes (#8758)
- Leafnode
deny_importsno longer drops replies to hub requests, and account JWT or default permission updates no longer lose leafnode interest or reset permissions incorrectly (#8800) - Leafnode connections no longer become stale when a hub sends many subscriptions during connection setup (#8811)
Routes
- Routes without pooling now validate the route pool index correctly (#8782)
Complete Changes
Release v2.15.2
Changelog
Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.
Go Version
- 1.27.3, which contains mitigations for CVE-2026-111943 by distrusting eMudhra intermediate certificates (#8798)
Dependencies
- github.com/klauspost/compress v1.20.3 (#8798)
- golang.org/x/crypto v0.58.0 (#8798)
- golang.org/x/sys v0.49.0 (#8798)
Fixed
General
- Allowed connection types are now correctly respected in auth callout setups
- Fixed a potential queue sub weight amplification in the sublist
- OCSP responses are now correctly bound to the certificate serial number
JetStream
- Restored v1 stream snapshots now correctly guard against excessive subject lengths, subject counts or block counts
Leafnodes
- ACLs on leafnode connections no longer override allow/deny lists to implicitly allow
$MQTT.>permissions
MQTT
- OCSP verification for MQTT connections now correctly obeys the
ocsp_peeroption in themqttblock
Complete Changes
Release v2.14.9
Changelog
Refer to the 2.14 Upgrade Guide for backwards compatibility notes with 2.12.x. Please note that the 2.13.x version was skipped.
Go Version
- 1.26.10, which contains mitigations for CVE-2026-111943 by distrusting eMudhra intermediate certificates (#8798)
Dependencies
- github.com/klauspost/compress v1.20.3 (#8798)
- golang.org/x/crypto v0.58.0 (#8798)
- golang.org/x/sys v0.49.0 (#8798)
Fixed
General
- Allowed connection types are now correctly respected in auth callout setups
- Fixed a potential queue sub weight amplification in the sublist
- OCSP responses are now correctly bound to the certificate serial number
JetStream
- Restored v1 stream snapshots now correctly guard against excessive subject lengths, subject counts or block counts
Leafnodes
- ACLs on leafnode connections no longer override allow/deny lists to implicitly allow
$MQTT.>permissions
MQTT
- OCSP verification for MQTT connections now correctly obeys the
ocsp_peeroption in themqttblock