github nats-io/nats-server v2.12.5-RC.2
Release v2.12.5-RC.2

pre-release15 hours ago

Changelog

Refer to the 2.12 Upgrade Guide for backwards compatibility notes with 2.11.x.

Go Version

  • 1.25.7

Added

JetStream

  • The stream snapshot/backup endpoint now accepts the window_size parameter, to allow improving flow control over slow or unreliable connections (#7839)

Improved

JetStream

  • Orphaned stream and consumer checks are now aligned with the metalayer snapshot logic (#7826)
  • Wildcard filtering when loading messages is now considerably faster in the memory store (#7840, #7855)
  • Metalayer snapshots now take place asynchronously when possible, such that JS API operations are not blocked while the snapshot is taking place (#7827, #7846)
    • This behaviour can be disabled by setting meta_compact_sync: true in the jetstream configuration block
  • Consumers with a single subject filter no longer incorrectly use the multi-filter message lookups (#7856)

Fixed

Leafnodes

  • A crash when leafnodes with bad credentials performs an auth callout has been fixed (#7844)

JetStream

  • Recovered streams and consumers are now correctly handled when not present in a metalayer catchup snapshot (#7824)
  • Ensure that messages that have reached the max deliver state are preserved with the WorkQueue retention policy (#7845)
  • An inconsistency with consumer naming between the current and legacy consumer create endpoints has been fixed (#7848)
  • The Raft layer no longer incorrectly reverts the last snapshot applied sequence when truncating uncommitted entries after a catchup snapshot (#7849)
  • The Raft layer no longer incorrectly restores the cluster size to 1 at startup, which could result in an isolated node incorrectly winning a single-node election (#7850)

Complete Changes

v2.12.5-RC.1...v2.12.5-RC.2

Don't miss a new nats-server release

NewReleases is sending notifications on new releases.