Releases: nats-io/nats.java
Releases · nats-io/nats.java
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
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.