Changelog
This release raises the minimum supported Go version to 1.26 and adds support for nats-server v2.15 stream and consumer info fields.
ADDED
- Core NATS:
- JetStream:
FIXED
- Core NATS:
- Panic in
DecodeHeadersMsgon inline status tokens shorter than 3 characters. Thanks @nikitha-m for the contribution (#2101) - Data race on
Subscription.sidbetweenapplyNewSIDandremoveSub(#2122)
- Panic in
- JetStream:
Messages()iterator going silent after a reconnect that completes betweenNext()calls. Thanks @1995parham for the contribution (#2135)- Legacy ordered consumer silently losing messages when the subscription hits its pending limits (#2137)
- Legacy ordered consumer reset resurrecting an unsubscribed or draining subscription (#2133)
IMPROVED
- Core NATS:
- JetStream:
- Prevent
doErrclosure escaping to the heap in async publish reply handling. Thanks @0xAozora for the contribution (#2127) - Fix typo in
Publisherinterface methods comment. Thanks @sreeram77 for the contribution (#2120)
- Prevent
- Minimum Go version is now 1.26 (#2146)
- Bump
klauspost/compressto v1.20.0 andnkeysto v0.4.16 (#2117, #2146) - Tests run locally without docker via an in-process ntf tester (#2131), and CI now runs against nats-server v2.15.0 (#2146)
- Fix flaky cluster restart tests (#2141) and list consumers test against latest server (#2138)