github nats-io/nats-server v2.12.7
Release v2.12.7

10 hours ago

Changelog

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

Go Version

Dependencies

  • github.com/nats-io/nats.go v1.50.0 (#8000)

CVEs

  • TBD

Improved

JetStream

  • Purging subjects from a stream now only loads filestore blocks within the range of where those subjects appear (#8004)
  • Multi-filtered load next or previous message code paths now correctly identify single subject filters or full wildcards and switch to optimized paths (#8012, 8013)
  • The max_mem_store and max_file_store configuration options can now be increased (but not decreased) via config reload (#8014)

Fixed

General

  • no_auth_user is now restricted to client connections only
  • Overlapping wildcard patterns in ACL deny patterns are now enforced correctly
  • Queue subscriptions can no longer incorrectly bypass non-queue ACL deny patterns

Leafnodes

  • Pre-CONNECT guard improvements for leafnode connections, fixing a potential panic
  • ACL permissions are now correctly enforced for inbound leaf messages in all cases
  • Duplicate INFO permissions updates are now only accepted for solicited leaf connections
  • The max_payload limit is now correctly enforced for leafnode connections
  • A panic on leafnode connect when failing to resolve an account has been fixed (#7991)

JetStream

  • Consumer max_ack_pending should no longer become stuck due to deleted messages being left in the consumer pending state (#7984)
  • When scaling up a stream and adding subjects at the same time, the new subject filters are now correctly subscribed (#8003)
  • Filestore caches are no longer expired and evicted from memory too eagerly after a recent write (#8009)
  • Stream leaders can catch up from a snapshot if required (#8021)

MQTT

  • The jwt is now correctly sent to auth callout for MQTT clients, fixing a regression introduced in 2.12.6 (#7997, #7999)

WebSockets

  • The fast-path for connections with no CONNECT block will now use the WebSocket-specific no_auth_user instead of the global one if configured

Complete Changes

v2.12.6...v2.12.7

Don't miss a new nats-server release

NewReleases is sending notifications on new releases.