Releases: nats-io/nats.java
Releases · nats-io/nats.java
2.20.1 Tuning
Core
- Catch errors in Dispatchers and log #1200 @MauriceVanVeen
- During forceReconnect, ensure reader/writer is stopped before continuing #1203 @MauriceVanVeen @scottf
- While handleCommunicationIssue, closeSocket should use reconnect impl otherwise tryingToConnect will guard #1206 @MauriceVanVeen @scottf
- Remove redundant writer.flushBuffer() call #1207 @MauriceVanVeen
Documentation
- Jetstream Usage #1193 @roeschter
- Recommended (new) APIs and more example code #1191 @roeschter
2.20.0
Core
- CONNECT username and password need json encoding #1168 @scottf
- UTF subject support #1169 @scottf
- Handle InterruptedException when obtaining the lock to queue a message. #1170 @scottf
- Handle duration string when accepting duration properties #1183 @scottf
- Make NatsServerPool extendable #1185 @scottf
- Allow user to set socket read timeout option #1188 @scottf
JetStream
- Stream state subjects as a map #1177 @scottf
- Stream state more efficient loading of subjects #1179 @scottf
Key Value
- Add filtering to KV keys methods #1173 @scottf
- Add filtering to KV keys methods - Use greater than constant #1174 @scottf
- Add filtering to KV keys methods - remove unnecessary optimization #1175 @scottf
Object Store
Unit Testing
- Test implementation dependency update #1167 @scottf
- Improve cluster testing support #1171 @scottf
- Change test to run against 2.10 or later #1180 #1181 @scottf
- [Flapper] Reconnect test fix #1189 @scottf
Project Management
- Switch to Eclipse Temurin and add SDKMan for local dev #1176 @artur-ciocanu
- Allowing building main on workflow_dispatch #1186 @scottf
2.19.1
2.19.0 Improve socket close behavior
2.18.1 Placement, Retry and Leadership Change
2.18.0
2.18.0 attempts to start us on the road to properly Semantic Version (semver). In the last few patch releases, there were technically things that should cause a minor version bump, but were numbered as a patch.
Even if just one api is newly added, semver requires that we bump the minor version. The forceReconnect
api is an example of one api being added to the Connection interface. It should have resulted in a minor version bump.
Going forward, when a release contains only bug fixes, it's appropriate to simply bump the patch. But if an api is added, even one, then the minor version will be bumped.
2.17.7 Disconnection behavior improvements.
2.17.6 KV Watch Multiple Filters
REPLACES 2.17.5
KV
Core
- Log connect trace server uri when reconnecting #1106 @photizzo
- Ensure NatsConnection inboxDispatcher is started prior to publishing messages #1109 @nathanschile
JetStream
KV
Simplification
Test
- Testing Cleanup Only - No Functionality Changes #1110 @scottf
- Don't run testAddStreamInvalids with server older than 2.10 #1111 @scottf
Doc
- Added graalvm setup example #1112 @YunaBraska
- Graalvm readme touch-up #1115 @scottf
Misc
2.17.5 KV Watch Multiple Filters
Core
- Log connect trace server uri when reconnecting #1106 @photizzo
- Ensure NatsConnection inboxDispatcher is started prior to publishing messages #1109 @nathanschile
JetStream
KV
Simplification
Test
- Testing Cleanup Only - No Functionality Changes #1110 @scottf
- Don't run testAddStreamInvalids with server older than 2.10 #1111 @scottf
Doc
- Added graalvm setup example #1112 @YunaBraska
- Graalvm readme touch-up #1115 @scottf
Misc
2.17.4 Core and JS Improvements, KV Features
Core
- Fix reconnect() calls close() when simultaneously 'disconnecting' in another thread #1082 @MauriceVanVeen
- Optional dispatching with executor instead of blocking #1083 @scottf
- Offer timeout millis no longer hardcoded #1088 @scottf
- ReentrantLock instead of synchronized #1095 @scottf
- Force Reconnect API #1100 @scottf
- SSLContextFactory #1101 @scottf
JetStream
- Implement Consumers Pause #1093 @MauriceVanVeen
- Make sure Fetch No Wait returns as soon as it gets 404/408 #1096 @scottf
- Message Info always use last value in the headers. #1099 @scottf
KV
- KV Watch From Revision #1081 @scottf
- KeyValue atomic delete and purge methods. #1092 @davidmcote
- KV Transform support. #1098 @scottf