diff --git a/go.mod b/go.mod index 982d25d175..da114a07f3 100644 --- a/go.mod +++ b/go.mod @@ -57,7 +57,7 @@ require ( github.com/mna/pigeon v1.3.0 github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 github.com/nats-io/nats-server/v2 v2.12.0 - github.com/nats-io/nats.go v1.46.0 + github.com/nats-io/nats.go v1.46.1 github.com/oklog/run v1.2.0 github.com/olekukonko/tablewriter v1.1.0 github.com/onsi/ginkgo v1.16.5 diff --git a/go.sum b/go.sum index e5deba5ae5..2d252ea664 100644 --- a/go.sum +++ b/go.sum @@ -889,8 +889,8 @@ github.com/nats-io/jwt/v2 v2.8.0 h1:K7uzyz50+yGZDO5o772eRE7atlcSEENpL7P+b74JV1g= github.com/nats-io/jwt/v2 v2.8.0/go.mod h1:me11pOkwObtcBNR8AiMrUbtVOUGkqYjMQZ6jnSdVUIA= github.com/nats-io/nats-server/v2 v2.12.0 h1:OIwe8jZUqJFrh+hhiyKu8snNib66qsx806OslqJuo74= github.com/nats-io/nats-server/v2 v2.12.0/go.mod h1:nr8dhzqkP5E/lDwmn+A2CvQPMd1yDKXQI7iGg3lAvww= -github.com/nats-io/nats.go v1.46.0 h1:iUcX+MLT0HHXskGkz+Sg20sXrPtJLsOojMDTDzOHSb8= -github.com/nats-io/nats.go v1.46.0/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g= +github.com/nats-io/nats.go v1.46.1 h1:bqQ2ZcxVd2lpYI97xYASeRTY3I5boe/IVmuUDPitHfo= +github.com/nats-io/nats.go v1.46.1/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g= github.com/nats-io/nkeys v0.4.11 h1:q44qGV008kYd9W1b1nEBkNzvnWxtRSQ7A8BoqRrcfa0= github.com/nats-io/nkeys v0.4.11/go.mod h1:szDimtgmfOi9n25JpfIdGw12tZFYXqhGxjhVxsatHVE= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= diff --git a/vendor/github.com/nats-io/nats.go/README.md b/vendor/github.com/nats-io/nats.go/README.md index 5ea5a0aee2..30783815e5 100644 --- a/vendor/github.com/nats-io/nats.go/README.md +++ b/vendor/github.com/nats-io/nats.go/README.md @@ -23,7 +23,7 @@ A [Go](http://golang.org) client for the [NATS messaging system](https://nats.io go get github.com/nats-io/nats.go@latest # To get a specific version: -go get github.com/nats-io/nats.go@v1.46.0 +go get github.com/nats-io/nats.go@v1.46.1 # Note that the latest major version for NATS Server is v2: go get github.com/nats-io/nats-server/v2@latest diff --git a/vendor/github.com/nats-io/nats.go/jetstream/stream_config.go b/vendor/github.com/nats-io/nats.go/jetstream/stream_config.go index e5342b1466..efcb9522a4 100644 --- a/vendor/github.com/nats-io/nats.go/jetstream/stream_config.go +++ b/vendor/github.com/nats-io/nats.go/jetstream/stream_config.go @@ -196,14 +196,14 @@ type ( // AllowMsgTTL allows header initiated per-message TTLs. // This feature requires nats-server v2.11.0 or later. - AllowMsgTTL bool `json:"allow_msg_ttl"` + AllowMsgTTL bool `json:"allow_msg_ttl,omitempty"` // Enables and sets a duration for adding server markers for delete, purge and max age limits. // This feature requires nats-server v2.11.0 or later. SubjectDeleteMarkerTTL time.Duration `json:"subject_delete_marker_ttl,omitempty"` // AllowMsgCounter enables the feature - AllowMsgCounter bool `json:"allow_msg_counter"` + AllowMsgCounter bool `json:"allow_msg_counter,omitempty"` // AllowAtomicPublish allows atomic batch publishing into the stream. AllowAtomicPublish bool `json:"allow_atomic,omitempty"` diff --git a/vendor/github.com/nats-io/nats.go/nats.go b/vendor/github.com/nats-io/nats.go/nats.go index 0151223c87..7e8c11b7ea 100644 --- a/vendor/github.com/nats-io/nats.go/nats.go +++ b/vendor/github.com/nats-io/nats.go/nats.go @@ -48,7 +48,7 @@ import ( // Default Constants const ( - Version = "1.46.0" + Version = "1.46.1" DefaultURL = "nats://127.0.0.1:4222" DefaultPort = 4222 DefaultMaxReconnect = 60 diff --git a/vendor/modules.txt b/vendor/modules.txt index 42a0c98773..e64181ebd8 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1133,7 +1133,7 @@ github.com/nats-io/nats-server/v2/server/stree github.com/nats-io/nats-server/v2/server/sysmem github.com/nats-io/nats-server/v2/server/thw github.com/nats-io/nats-server/v2/server/tpm -# github.com/nats-io/nats.go v1.46.0 +# github.com/nats-io/nats.go v1.46.1 ## explicit; go 1.23.0 github.com/nats-io/nats.go github.com/nats-io/nats.go/encoders/builtin