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
ofstatsz
orjsz
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
- JetStream:
- Optimize acknowledgment handling. Thanks to @neilalexander for the report and contribution (#3468, #3472)
Updated
- Dependencies (#3491)
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
andDurable
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 themax_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 ano_auth_user
defined, this user was not being used for the account binding for that leaf node connection (#3489)
- A server that accepts a leaf connection on the websocket port, and the
- Edge condition handling in
{{Split()}}
subject mapping function (#3463)