Skip to content

Release v2.9.1

Compare
Choose a tag to compare
@NATS-CI NATS-CI released this 22 Sep 20:56
· 2855 commits to main since this release
2363a2c

Changelog

Go Version

  • 1.19.1: Both release executables and Docker images are built with this Go release.

Added

  • JetStream:
    • Ability to remove a server by peer ID instead of server name (#3473)
    • Peer ID in the meta_cluster of statsz or jsz monitoring endpoint (#3476)
    • Ability to apply a discard new policy per subject. A new JSON field in the stream configuration called discard_new_per_subject can now be set (along with discard new policy and max messages per subject > 0) (#3487)

Improved

Updated

Changed

  • JetStream:
    • When filtering a source stream, use the new consumer create API subject (#3478)

Fixed

  • JetStream:
    • Peer randomization when creating consumers group for replicas of 1. Thanks to @goku321 for the contribution (#3470)
    • Added an error if consumer's Name and Durable are not equal when sending to the new $JS.API.CONSUMER.CREATE.%s.%s.%s subject (#3471)
    • Server was not sending a 409 to the client library when a pull request was closed after sending at least a message but could not send more if that would exceed the max_bytes pull request limit (#3474)
    • Possible panic on peer remove on server shutdown (#3477)
    • Filtered consumers may also receive messages on other subjects from the stream. Thanks to @perestoronin for the report (#3486)
  • LeafNode:
    • A server that accepts a leaf connection on the websocket port, and the websocket{} block had a no_auth_user defined, this user was not being used for the account binding for that leaf node connection (#3489)
  • Edge condition handling in {{Split()}} subject mapping function (#3463)

Complete Changes

v2.9.0...v2.9.1