github nats-io/nats-server v2.12.0-preview.2
Release v2.12.0-preview.2

pre-releaseone day ago

Changelog

Important

This is a preview release for the upcoming 2.12 series. This is not a final build.

This release also contains all changes up to and including v2.11.8.

Go Version

Added

General

  • Exponential backoff on route/gateway reconnection attempts (#7042, #7048)
  • Added allow_insecure_cipher_suites configuration option to tls block, as insecure ciphers are now disabled by default (#7144)
  • No responders errors from the server now include the original subject in the Nats-Subject header (#5250)

JetStream

Leafnodes

  • Added the ability to isolate leafnode subject interest propagation with the hub-side isolate_leafnode_interest configuration option, suppressing east-west traffic and reducing subscription overheads when there are many leafnodes (#7238)
  • Added disabled option for leafnode remotes, with support for reloading from the config at runtime (#7054)

Changed

JetStream

  • The JetStream API level has been increased to 2 (#6969)
  • The API surface is now in strict mode by default, erroring if unknown fields are provided in the request body (#7049)
  • Replicated streams will now default to async flush as long as sync: always is not configured (#7163)
  • The default value for max_buffered_msgs has been increased by 10x to 100,000 messages (#6633)

Improved

General

  • When logging closed connections, the remote is now logged if known, making it easier to identify where route/gateway/leafnode connections have dropped (#7077)
  • Client-specific log lines now include the account and user if known (#7079)

JetStream

  • Raft nodes will no longer respond success to catchup messages and will ignore responses if not leader, fixing some potential stream desync scenarios (#6944)
  • The stream leader is now responsible for remapping consumer assignments on scaling/moves, fixing some potential placement races (#7071, #7112, #7083)
  • Replicated streams can now be created even if some of the replica nodes are offline (#7075)
  • The storage type is now logged when logging resource limits exceeded (#7076)
  • JetStream API requests are always handled from the worker pool, improving the semantics of the API request queue and logging when requests take too long (#7125)
  • Filestore in-memory caches now use weak pointers and can respond to garbage collector (GC) pressure, which should help to avoid a number of possible out-of-memory scenarios (#7180)

Leafnodes

  • Leafnode connections without auth no longer unexpectedly connect to the global account (#7116)

Fixed

JetStream

  • Improved validation for stream/consumer configs (#7134)
  • An error will now be correctly surfaced when the Nats-Expected-Last-Subject-Sequence-Subject header is supplied but the accompanying Nats-Expected-Last-Subject-Sequence header is not (#7196)

Complete Changes

v2.12.0-preview.1...v2.12.0-preview.2

Don't miss a new nats-server release

NewReleases is sending notifications on new releases.