NATS client v0.6.0 Release Notes

  • 2016-10-11 GitHub Diff

    • โšก๏ธ Implemented asynchronous handling of INFO messages, allowing the client to process INFO messages that may be received from the server after a connection is already established. These asynchronous INFO messages may update the client's list of servers in the connected cluster.
    • โž• Added proper JSON parsing via google/gson.
    • Cleaned up some threading oddities in ConnectionImpl
    • ๐Ÿšš Moved async subscription threading mechanics into the Connection, similar to the Go client.
    • ๐Ÿ›  Fixed a number of inconsistencies in how subscription pending limits were handled.
    • โœ‚ Removed subscription pending limits from ConnectionFactory. These should be set on the Subscription using Subscription#setPendingLimits().
    • ConnectionImpl is now public, to avoid some issues with reflection in Java and reflective languages such as Clojure. Described further in [#35](/../../pull/35) (special thanks to @mccraigmccraig).
    • โšก๏ธ [#58](/../../issues/#58) Updated NUID implementation to match [the Go version](nats-io/nuid)
    • โœ… [#48](/../../issues/#48) Fixed an NPE issue in TCPConnectionMock when calling bounce() (affects tests only).
    • ๐Ÿ›  [#26](/../../issues/#26) Fixed a problem with AsyncSubscription feeder thread not exiting correctly in all cases.
    • โšก๏ธ Updated integration tests to more closely reflect similar Go tests.
    • ๐Ÿ’… Miscellaneous typo, style and other minor fixes.