Skip to content

Commit

Permalink
2.14.0 (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf authored Mar 8, 2022
1 parent 490ad30 commit 8a35b87
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,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.13.4/jnats-2.13.4.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.13.4/jnats-2.13.4.jar).
You can download the latest jar at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.14.0/jnats-2.14.0.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.14.0/jnats-2.14.0.jar).

The examples are available at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.13.4/jnats-2.13.4-examples.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.13.4/jnats-2.13.4-examples.jar).
The examples are available at [https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.14.0/jnats-2.14.0-examples.jar](https://search.maven.org/remotecontent?filepath=io/nats/jnats/2.14.0/jnats-2.14.0-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).

Expand All @@ -89,7 +89,7 @@ The NATS client is available in the Maven central repository, and can be importe

```groovy
dependencies {
implementation 'io.nats:jnats:2.13.4'
implementation 'io.nats:jnats:2.14.0'
}
```

Expand All @@ -115,7 +115,7 @@ repositories {
}
dependencies {
implementation 'io.nats:jnats:2.13.4-SNAPSHOT'
implementation 'io.nats:jnats:2.14.0-SNAPSHOT'
}
```

Expand All @@ -127,7 +127,7 @@ The NATS client is available on the Maven central repository, and can be importe
<dependency>
<groupId>io.nats</groupId>
<artifactId>jnats</artifactId>
<version>2.13.4</version>
<version>2.14.0</version>
</dependency>
```

Expand Down Expand Up @@ -161,7 +161,7 @@ If you need a snapshot version, you must enable snapshots and change your depend
<dependency>
<groupId>io.nats</groupId>
<artifactId>jnats</artifactId>
<version>2.13.4-SNAPSHOT</version>
<version>2.14.0-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import aQute.bnd.gradle.Bundle
// src/main/java/io/nats/client/Nats.java
// src/main/java/io/nats/client/package-info.java
// CHANGELOG.md
def jarVersion = "2.13.4"
def jarVersion = "2.14.0"

def isRelease = System.getenv("BUILD_EVENT") == "release"

Expand Down
4 changes: 2 additions & 2 deletions src/examples/java/io/nats/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ You can also just insert some code before the arguments are processed to set the
In the examples, the usage will show `java <program> -cp <classpath> ...` Make sure you add both the client library and examples into the classpath. For example:

```bash
java -cp build/libs/jnats-2.13.4-SNAPSHOT.jar:build/libs/jnats-2.13.4-SNAPSHOT-examples.jar io.nats.examples.NatsPub nats://localhost:4222 test "hello world"
java -cp build/libs/jnats-2.14.0-SNAPSHOT.jar:build/libs/jnats-2.14.0-SNAPSHOT-examples.jar io.nats.examples.NatsPub nats://localhost:4222 test "hello world"
```

### Some examples depend on others
Expand All @@ -108,7 +108,7 @@ java -Djavax.net.ssl.keyStore=src/test/resources/keystore.jks -Djavax.net.ssl.ke
To run with the completely unverified client:

```bash
java -cp build/libs/jnats-2.13.4-SNAPSHOT.jar:build/libs/jnats-2.13.4-SNAPSHOT-examples.jar io.nats.examples.NatsSub opentls://localhost:4443 test 3
java -cp build/libs/jnats-2.14.0-SNAPSHOT.jar:build/libs/jnats-2.14.0-SNAPSHOT-examples.jar io.nats.examples.NatsSub opentls://localhost:4443 test 3
```

There are a set tls configuration for the server in the test files that can be used to run the NATS server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static void main(String[] args) {
* The conscrypt flag is provided for testing with the conscrypt jar. Using it through reflection is
* deprecated but allows the library to ship without a dependency. Using conscrypt should only require the
* jar plus the flag. For example, to run after building locally and using the test cert files:
* java -cp ./build/libs/jnats-2.13.4-SNAPSHOT-examples.jar:./build/libs/jnats-2.13.4-SNAPSHOT-fat.jar:<path to conscrypt.jar> \
* java -cp ./build/libs/jnats-2.14.0-SNAPSHOT-examples.jar:./build/libs/jnats-2.14.0-SNAPSHOT-fat.jar:<path to conscrypt.jar> \
* -Djavax.net.ssl.keyStore=src/test/resources/keystore.jks -Djavax.net.ssl.keyStorePassword=password \
* -Djavax.net.ssl.trustStore=src/test/resources/truststore.jks -Djavax.net.ssl.trustStorePassword=password \
* io.nats.examples.autobench.NatsAutoBench tls://localhost:4443 med conscrypt
Expand Down

0 comments on commit 8a35b87

Please sign in to comment.