diff --git a/README.md b/README.md index 108db4e35..042733da1 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ When using or transitioning to Go modules support: ```bash # Go client latest or explicit version go get github.com/nats-io/nats.go/@latest -go get github.com/nats-io/nats.go/@v1.30.2 +go get github.com/nats-io/nats.go/@v1.31.0 # For latest NATS Server, add /v2 at the end go get github.com/nats-io/nats-server/v2 diff --git a/nats.go b/nats.go index 0031dcb65..da13692fd 100644 --- a/nats.go +++ b/nats.go @@ -47,7 +47,7 @@ import ( // Default Constants const ( - Version = "1.30.2" + Version = "1.31.0" DefaultURL = "nats://127.0.0.1:4222" DefaultPort = 4222 DefaultMaxReconnect = 60