All Versions
42
Latest Version
Avg Release Cycle
37 days
Latest Release
189 days ago

Changelog History
Page 1

  • v2.8.0

    August 24, 2020
    • ➕ Added lame-duck mode support 334

    When a server goes into lame-duck mode. The client will send out a connection event.

    Example code registering for lame-duck mode.

    Options options = new Options.Builder().server(ts.getURI()).connectionListener(new ConnectionListener() { @Overridepublic void connectionEvent(Connection conn, Events type) { if (type.equals(Events.LAME\_DUCK)) connectLDM.complete(type); } }).build(); Connection nc = Nats.connect(options);
    

    Lame-duck mode is for servers in a cluster to tell clients that they will no longer be serving requests.
    Clients can get notified of this and gracefully perform some actions.

  • v2.7.0

    August 19, 2020

    ⚡️ Miscellaneous Updates

    🐛 Bug Fixes

  • v2.6.8

    May 27, 2020

    2.6.8 - reconnect improvements.

    🔄 Changed the reconnect logic so it does not try to connect to a server that it just lost the connection to.

    🚚 With the randomization algorithm, there's a chance the client will immediately try the server it just lost connection with. Move the last connected server to the end of the list when reconnecting.

    • 🚚 [FIXED] - #309 - Removed some debug printf statements
    • [CHANGED] - Allow disable reconnect buffer by using size of zero
    • [CHANGED] - Added option to set the max unsent size at the writer and fail or discard messages
    • ⚡️ [CHANGED] - Updated build.gradle to not fail if TRAVIS_BRANCH isn't set
  • v2.6.7

    April 04, 2020
    • Reconnect cleanup #300
  • v2.6.6

    October 25, 2019

    🛠 [FIXED] - #274 - Added a check to prevent double event notification
    ⚡️ [CHANGED] - #276 - Updated TLS certs to match go client
    ⚡️ [FIXED] - #275 - Updated connect to randomize with the same code as reconnect

  • v2.6.5

    September 03, 2019

    🚀 2.6.5 is a test release to check automated maven releases. No code changes effect the running library.

  • v2.6.4

    August 31, 2019

    🚀 2.6.4 is a test release with no code changes but major build changes to support automated release.

  • v2.6.3

    August 31, 2019

    🚀 Bumped version to test automated deploy.

  • v2.6.2

    August 30, 2019

    ⬆️ Bumped version to replace maven packages built with JDK 11 with ones built with JDK 8

  • v2.6.1

    August 29, 2019
    • 🛠 [FIXED] - #263 - Added server URLs to connect exception (not to auth exception)
    • 🗄 [FIXED] - #262 - Added @deprecated as needed
    • 🛠 [FIXED] - #261 - Added a static credentials implementation that uses char arrays
    • 🚚 [FIXED] - #260 - Moved to nats-server from gnatsd for testing
    • 🛠 [FIXED/CHANGED] - #259 - Double authentication errors from a server during reconnect attempts will result in the connection being closed.
    • 🛠 [FIXED] - #257 - Added connection method to messages that come from subscriptions, dispatchers and requests
    • 🛠 [FIXED] - #243 - Added check for whitespace in subjects and queue names
    • ✅ [FIXED] - Improved a couple flaky tests