Releases: nats-io/nats.java
Releases · nats-io/nats.java
2.21.4 Features and Fixes
Core
- Fix race condition during reconnect sends UNSUB messages #1321 @ajax-surovskyi-y
- Add connection auth token supplier option #1324 @buleuszmatak
- Nano time for elapsed timings and Nats System Clock #1334 @scottf
- Replace Timer with scheduled tasks #1335 @scottf
- [Bug] Fix UNSUBs after disconnect can cause auth violations #1336 @scottf @ajax-surovskyi-y
- Options allow token supplier from property, not just api method #1349 @scottf
JetStream
- Annotating API objects with NotNull and Nullable #1333 @scottf
- [Bug] MessageConsumer.isFinished() not set properly in certain conditions #1339 @scottf
- [Bug] Pull Heartbeat handler intermittent failure after switch to scheduler #1345 @scottf
- Fix heartbeat timer handling broken when replacing timer with scheduler. #1348 @scottf
Key Value
- Nats-Marker-Reason must be mapped to a Key Value Operation #1323 @scottf
- KV Purge Per Message TTL #1344 @scottf
Tests
- Addition validation and test for token / token supplier #1325 @scottf
- Add test for auth violations during reconnect #1328 @ajax-surovskyi-y
- Fixed KV Limit Marker Test to only run against 2.11.2 or later #1338 @scottf
- Fix flapping test: testOverflowFetch #1340 @scottf
- Set the test timeout default to 3 minutes. #1343 @scottf
Misc
2.21.3 DO NOT USE. REPLACED BY 2.21.4
DO NOT USE. REPLACED BY 2.21.4
2.21.2 Bug Fixes and JetStream and KeyValue Improvements
Core
- Changed header value validation to accept any ascii except CR & LF #1316 @francoisprunier
JetStream
- Update account ApiStats with level and inflight #1304 @scottf
- Update account AccountTier with reserved memory and reserved storage #1305 @scottf
- Add StreamAlternate structure to StreamInfo response #1306 @scottf
- Better workflow for leadership change while pull consuming. #1313 @scottf
- Ability to supply a prefix for watches. Fixed ordered consumer naming bug. #1314 @scottf
- Use full NUID for generated consumer names #1317 @scottf
Key Value
- Update KV consumeKeys() to return the BlockingQueue immediately. #1308 @scottf
- KV Limit Marker #1310 @scottf
- KV LimitMarker add missing getter, additional docs and tests #1311 @scottf
General
2.21.1 Minor bug fixes
2.21.0 Server 2.11 Support
Core
Jetstream
2.11 Specific
Main 2 11 merge safe #1294 is actually a compilation of PRs related to 2.11 features @scottf @MauriceVanVeen
2.20.6 Fixes, Tuning and Libraries
Core
- Reader Listener #1265 @scottf
- [BUG] Hosts should never be resolved on websocket URI's #1286 @scottf
- Replace ed25519 with BouncyCastle #1290 @scottf
KV
Service API
- Remove Schema related leftovers #1263 @d0x7
- Feature: Support adding service endpoint after construction #1274 @scottf
- Feature: Support adding service endpoint after construction (more) #1276 @scottf
- Service user endpoints can be run without queue groups. #1277 @scottf
- Service, tuning review #1279 @scottf
Documentation
- Docs - close() versus stop() in MessageConsumer #1271 @roeschter
- Remove the experimental mentions #1278 @scottf
- Fix Javadoc for JetStream #1283 @vkolomeyko
- [DOC] ResilientPublisher better api doc #1285 @scottf
Test
2.20.5 Fix locking issue.
Core
- feat(nats-connection): implement named executor thread factories #1254 @kedzie
- Edit lock don't unlock if was not locked. #1255 @scottf
- Executor and Executor Factories in Options can be created via properties #1257 @scottf
JetStream
- Fix simplified ordered consuming when a delivery policy was set. #1251 @scottf @roeschter
- Fix: exception on simple consume when disconnected immediately #1253 @roeschter
Documentation
- NoWait documentation #1256 @roeschter
Tests
2.20.4 Tuning and Docs
2.20.3 DO NOT USE
DO NOT USE
2.20.2 Threading behavior tuning.
Core
- Publishing plus immediate flush #1211 @scottf
- When interrupted call interrupt #1212 @MauriceVanVeen
- Interrupt fine tuning #1214 @scottf
- Run loops check the interrupted flag #1215 @scottf
- Tuning futures used for internal tracking #1216 @scottf
- Fix cleanResponses must handle cleaning up cancelled future #1218 @MauriceVanVeen