v1.18.0
What's Changed
The most notable features in this release are:
- More reliable JetStream simplified consumers
- A new connect option
noAsyncTraces
which greatly improves the performance of request reply and JetStream publishers. This option is opt-in, so please read about it below.
Core NATS
- [FEAT] sync iterator utility
syncIterator()
by @aricart in #602 - [FEAT] [PERF] added connect option
noAsyncTraces
to disable async trace extra information on requests - this significantly improves performance but makes request failures harder to trace. This option is false by default - to increate performance, you must set it totrue
. Note this also improves JetStream publisher performance as those are implemented as requests by @aricart in #622 and #627 - [FEAT] [EXPERIMENTAL] exposed a mechanism to force a reconnect by @aricart in #632
- [FIX] added
last()
toMsgHeaders
to retrieve the last value in the case that the header may be repeated multiple times. Made JetStream direct apis read last header value. Fix #586 by @aricart in #619
JetStream
- [FEAT] [JETSTREAM] [OS] ObjectStore compatibility and tests by @Jarema in #604 and #605
- [FEAT] [JETSTREAM] added creation option to nc.jetstreamManager() to prevent checking if the JetStream API is available. by @aricart in #607
- [FIX] [JETSTREAM] Made simplfied consumers significantly more resilent - ordered consumers can now report
status()
changes by @aricart in #615 - [FEAT] [JETSTREAM] [KV] [OS] kv and os compression by @aricart in #625 and #631
- [FEAT] [JETSTREAM] added
reason
to JsMsg#term - this feature requires 2.11.0 by @aricart in #630
Other
- [DOC] regenerated docs by @aricart in #603
- [CI] update nats-server by @aricart in #611
- [LIC] updated dependencies.md by @aricart in #610
- [REPO] issue forms - simplify and relax issue forms further by @bruth in #616
- [TEST] launcher changes to set deterministic monitoring port on first node. by @aricart in #608
- [TEST] made some tests less likely to flap by @aricart in #609
- [TEST] tweaks to locally flapping tests by @aricart in #612
- [TEST] make chaos suspendable and restartable by @aricart in #620
- [TEST] changed source transforms test to not be order sensitive by @aricart in #618
- [TEST] fix some time sensitive tests that flap on faster machines by @aricart in #621
- [TEST] speed up parallel tests by @aricart in #623
- [FIX] linter by @aricart in #626
- [BUMP] client version for release by @aricart in #633
- [CHORE] tsc compiler pacification by @aricart in #634
Full Changelog: v1.17.0...v1.18.0