diff --git a/CHANGELOG.md b/CHANGELOG.md index 30ffc6696..cf715dfce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Change Log +## Version 2.6.8 + +* [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 + ## Version 2.6.6 * [FIXED] - #274 - Added a check to prevent double event notification diff --git a/README.md b/README.md index d3051dfab..47cb1922b 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ The java-nats client is provided in a single jar file, with a single external de ### Downloading the Jar -You can download the latest jar at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.7/jnats-2.6.7.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.7/jnats-2.6.7.jar). +You can download the latest jar at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.8/jnats-2.6.8.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.8/jnats-2.6.8.jar). -The examples are available at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.7/jnats-2.6.7-examples.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.7/jnats-2.6.7-examples.jar). +The examples are available at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.8/jnats-2.6.8-examples.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.6.8/jnats-2.6.8-examples.jar). To use NKeys, you will need the ed25519 library, which can be downloaded at [https://repo1.maven.org/maven2/net/i2p/crypto/eddsa/0.3.0/eddsa-0.3.0.jar](https://repo1.maven.org/maven2/net/i2p/crypto/eddsa/0.3.0/eddsa-0.3.0.jar). @@ -64,7 +64,7 @@ The NATS client is available in the Maven central repository, and can be importe ```groovy dependencies { - implementation 'io.nats:jnats:2.6.7' + implementation 'io.nats:jnats:2.6.8' } ``` @@ -90,7 +90,7 @@ The NATS client is available on the Maven central repository, and can be importe io.nats jnats - 2.6.7 + 2.6.8 ``` diff --git a/build.gradle b/build.gradle index 5ff283146..256ea2a0d 100644 --- a/build.gradle +++ b/build.gradle @@ -16,9 +16,9 @@ plugins { // Be sure to update Nats.java with the latest version, the change log and the package-info.java def versionMajor = 2 def versionMinor = 6 -def versionPatch = 7 +def versionPatch = 8 def versionModifier = "" -def jarVersion = "2.6.7" +def jarVersion = "2.6.8" def branch = System.getenv("TRAVIS_BRANCH") != null ? System.getenv("TRAVIS_BRANCH") : ""; def tag = System.getenv("TRAVIS_TAG") != null ? System.getenv("TRAVIS_TAG") : ""; def useSigning = "master".equals(branch) || (!"".equals(tag) && tag.equals(branch)) // tag will be the branch on a tag event for travis diff --git a/src/main/java/io/nats/client/Nats.java b/src/main/java/io/nats/client/Nats.java index 7095ce32b..c542a5041 100644 --- a/src/main/java/io/nats/client/Nats.java +++ b/src/main/java/io/nats/client/Nats.java @@ -72,7 +72,7 @@ public class Nats { /** * Current version of the library - {@value #CLIENT_VERSION} */ - public static final String CLIENT_VERSION = "2.6.7"; + public static final String CLIENT_VERSION = "2.6.8"; /** * Current language of the library - {@value #CLIENT_LANGUAGE} diff --git a/src/main/java/io/nats/client/impl/NatsConnection.java b/src/main/java/io/nats/client/impl/NatsConnection.java index cf42d2680..d0829ad8c 100644 --- a/src/main/java/io/nats/client/impl/NatsConnection.java +++ b/src/main/java/io/nats/client/impl/NatsConnection.java @@ -1825,4 +1825,4 @@ boolean isAuthenticationError(String err) { err = err.toLowerCase(); return err.startsWith("user authentication") || err.contains("authorization violation"); } -} \ No newline at end of file +}