Skip to content

Releases: nats-io/nats.java

2.6.0

22 Jul 23:24
7cbf32c

Choose a tag to compare

  • [FIXED/ADDED] - #197 - the ability to use a single dispatcher for multiple message handlers, including multiple subscriptions on a single subject
  • [FIXED] - #252 - deprecated strings for username/pass/token and use char arrays instead, required changing some other code to CharBuffer
  • [FIXED] - #255 - added special ioexception when possible to indicate an authentication problem on connect
  • [FIXED] - cleaned up use of "chain" instead of "creds"
  • [ADDED] - Openjdk11 to travis build and updated gradle wrapper to 5.5
  • [ADDED] - an option to trace connect timing, including a test and example

2.5.2

19 Jun 18:50
593037e

Choose a tag to compare

  • [FIXED] - #244 - fixed a critical issue with parsing ipv6 addresses in the info JSON, added unit test for parser
  • [FIXED] - #245 - fixed a timing bug in nats bench, now subscribers start timing at the first receive
  • [FIXED/CHANGED] - #246 - fixed a confusing output from nats bench in CSV mode, now the test count and the total count are printed
  • [ADDED] - spring cache to git ignore file
  • [ADDED] - support for running nats bench with conscrypt

2.5.1

05 Jun 19:53
050729b

Choose a tag to compare

This release was motivated by some TLS performance results. The primary change is #241 which allows several native libraries to be used if preferred over the j2se SSL implementations.

  • [FIXED] - #239 - cleaned up extra code after SSL connect failure
  • [FIXED] - #240 - removed stack trace that was left from debugging
  • [FIXED] - #241 - changed method used to create an ssl socket to allow support for conscrypt/wildfly native libraries
  • [ADDED] - conscrypt flag to natsautobench to allow testing with native library, requires Jar in class path

2.5

21 May 20:01
765af9b

Choose a tag to compare

2.5

2.5 introduces a new implementation of the underlying message queue used by subscribers, dispatchers and the publish code to hold messages. The new implementation allows the publish side to provide some backpressure when the network is not as fast as the application.

This new version may change performance characteristics of publishers but should show better overall performance across req/reply and pub/sub scenarios.

Latency should be un-changed.

2.4.6

10 May 21:18
bee8a8c

Choose a tag to compare

Versioning for rename

2.4.5

10 May 20:53
d689588

Choose a tag to compare

Repo rename and related updates.

2.4.4

09 May 20:41
71511a2

Choose a tag to compare

  • [FIXED] - #230 - removed extra executor allocation
  • [FIXED] - #231 - found a problem with message ordering when filtering pings on reconnect, caused issues with reconnect in general
  • [FIXED] - #226 - added more doc about ping intervals and max ping
  • [FIXED] - #224 - resolved a latency problem with windows due to the cost of the message queues spinwait/lock
  • [CHANGED] - started support for renaming gnatsd to nats-server, full release isn't done so using gnatsd for tests still

2.4.3

09 Apr 20:42
5f29104

Choose a tag to compare

  • [FIXED] - #223 - made SID public in the message
  • [FIXED] - #227 - changed default thread to be non-daemon and normal priority, fixes shutdown issues
  • [FIXED] - minor issue in javadoc that showed up when building on windows
  • [ADDED] - test for fast pings and disconnect, duration.zero on nextMsg
  • [CHANGED] - accepted pull request to replace explicit thread creation with executor

2.4.2

22 Mar 23:23
74bd55c

Choose a tag to compare

Version 2.4.2

  • [FIXED] - #217 - added check to "ignore" exceptions from reader during drain
  • [CHANGED] - no longer call exception handler for "ignored" communication exceptions during close/drain after close occurs
  • [ADDED] - #209 - support for comma separated urls in connect() or server()
  • [FIXED] - #206 - incorrect error message when reconnect buffer is overrun
  • [CHANGED] - #214 - moved to an executor instead of 1-off threads
  • [FIXED] - #220 - an icky timing issue that could delay messages
  • [CHANGED] - added larger TCP defaults to improve network performance
  • [ADDED] - public method to create an inbox subject using the prefix from options
  • [FIXED] - #203 & #204 - Fixed a thread/timing issue with writer and cleaning pong queues

2.4.1

08 Jan 17:38
b49a4ac

Choose a tag to compare

Fixed private packages for ed25519