diff --git a/go.mod b/go.mod index 8413677..c676c17 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,12 @@ module github.com/roadrunner-server/nats/v4 -go 1.22 - -toolchain go1.22.0 +go 1.22.0 require ( github.com/goccy/go-json v0.10.2 github.com/google/uuid v1.6.0 - github.com/nats-io/nats.go v1.33.0 - github.com/roadrunner-server/api/v4 v4.10.0 + github.com/nats-io/nats.go v1.33.1 + github.com/roadrunner-server/api/v4 v4.11.0 github.com/roadrunner-server/endure/v2 v2.4.3 github.com/roadrunner-server/errors v1.4.0 go.opentelemetry.io/contrib/propagators/jaeger v1.23.0 diff --git a/go.sum b/go.sum index 0b37bcd..2b18b35 100644 --- a/go.sum +++ b/go.sum @@ -13,16 +13,16 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= -github.com/nats-io/nats.go v1.33.0 h1:rRg0l2F29B30n6EPl0j50hl8eYp7rA2ecoJ74E62US8= -github.com/nats-io/nats.go v1.33.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= +github.com/nats-io/nats.go v1.33.1 h1:8TxLZZ/seeEfR97qV0/Bl939tpDnt2Z2fK3HkPypj70= +github.com/nats-io/nats.go v1.33.1/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= github.com/nats-io/nkeys v0.4.7 h1:RwNJbbIdYCoClSDNY7QVKZlyb/wfT6ugvFCiKy6vDvI= github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/roadrunner-server/api/v4 v4.10.0 h1:tF6vmA6MaQyOL/GQQc+nyj356oX3UoQBd+SXNtsu+bU= -github.com/roadrunner-server/api/v4 v4.10.0/go.mod h1:ou9QviOd5dxl3to1+BV4iZ3lnMLxuE/HqESNW5PDnw0= +github.com/roadrunner-server/api/v4 v4.11.0 h1:N/MX+9r0ExSQ3rJG7sYUc2WQkWYYnJTJDUhxkx3UdX0= +github.com/roadrunner-server/api/v4 v4.11.0/go.mod h1:+OkLfVYQM24v7uU+txIyCyE5U9qtxVwX3xMafzKpfzY= github.com/roadrunner-server/endure/v2 v2.4.3 h1:R9DdsLiLjtSFivZ1HKk/1eDZ0TYaKHQzakVwz9D2hto= github.com/roadrunner-server/endure/v2 v2.4.3/go.mod h1:4n3PdwZ3h/IRL2enDGvEVXtaQgqRnZ74VOyZtOJq528= github.com/roadrunner-server/errors v1.4.0 h1:Odjg3VZrj1q5Y8ILwoN+JgERyv0pkhrWPNOM4h68iQ8= diff --git a/go.work b/go.work index 768f368..3efbcf3 100644 --- a/go.work +++ b/go.work @@ -1,6 +1,4 @@ -go 1.22 - -toolchain go1.22.0 +go 1.22.0 use ( . diff --git a/tests/go.mod b/tests/go.mod index 2c266ea..06a3155 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -1,26 +1,24 @@ module tests -go 1.22 - -toolchain go1.22.0 +go 1.22.0 require ( github.com/Shopify/toxiproxy/v2 v2.7.0 github.com/goccy/go-json v0.10.2 github.com/google/uuid v1.6.0 - github.com/nats-io/nats.go v1.33.0 - github.com/roadrunner-server/api/v4 v4.10.0 - github.com/roadrunner-server/config/v4 v4.6.7 + github.com/nats-io/nats.go v1.33.1 + github.com/roadrunner-server/api/v4 v4.11.0 + github.com/roadrunner-server/config/v4 v4.6.8 github.com/roadrunner-server/endure/v2 v2.4.3 github.com/roadrunner-server/goridge/v3 v3.8.1 - github.com/roadrunner-server/informer/v4 v4.3.14 - github.com/roadrunner-server/jobs/v4 v4.7.13 - github.com/roadrunner-server/logger/v4 v4.2.14 - github.com/roadrunner-server/nats/v4 v4.6.7 - github.com/roadrunner-server/otel/v4 v4.3.13 - github.com/roadrunner-server/resetter/v4 v4.1.0 - github.com/roadrunner-server/rpc/v4 v4.2.15 - github.com/roadrunner-server/server/v4 v4.5.7 + github.com/roadrunner-server/informer/v4 v4.3.15 + github.com/roadrunner-server/jobs/v4 v4.7.14 + github.com/roadrunner-server/logger/v4 v4.2.15 + github.com/roadrunner-server/nats/v4 v4.6.8 + github.com/roadrunner-server/otel/v4 v4.3.14 + github.com/roadrunner-server/resetter/v4 v4.1.1 + github.com/roadrunner-server/rpc/v4 v4.2.16 + github.com/roadrunner-server/server/v4 v4.5.8 github.com/stretchr/testify v1.8.4 go.uber.org/zap v1.26.0 ) @@ -60,7 +58,7 @@ require ( github.com/pelletier/go-toml/v2 v2.1.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/client_golang v1.18.0 // indirect - github.com/prometheus/client_model v0.5.0 // indirect + github.com/prometheus/client_model v0.6.0 // indirect github.com/prometheus/common v0.47.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect github.com/roadrunner-server/errors v1.4.0 // indirect diff --git a/tests/go.sum b/tests/go.sum index df2023f..dababf8 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -91,8 +91,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/nats-io/nats.go v1.33.0 h1:rRg0l2F29B30n6EPl0j50hl8eYp7rA2ecoJ74E62US8= -github.com/nats-io/nats.go v1.33.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= +github.com/nats-io/nats.go v1.33.1 h1:8TxLZZ/seeEfR97qV0/Bl939tpDnt2Z2fK3HkPypj70= +github.com/nats-io/nats.go v1.33.1/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= github.com/nats-io/nkeys v0.4.7 h1:RwNJbbIdYCoClSDNY7QVKZlyb/wfT6ugvFCiKy6vDvI= github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= @@ -111,38 +111,38 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= -github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= +github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos= +github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= -github.com/roadrunner-server/api/v4 v4.10.0 h1:tF6vmA6MaQyOL/GQQc+nyj356oX3UoQBd+SXNtsu+bU= -github.com/roadrunner-server/api/v4 v4.10.0/go.mod h1:ou9QviOd5dxl3to1+BV4iZ3lnMLxuE/HqESNW5PDnw0= -github.com/roadrunner-server/config/v4 v4.6.7 h1:Ak6e8iLkT6nbbDANXk0gSXHvm9OjA04pJZ/ErJQdyqE= -github.com/roadrunner-server/config/v4 v4.6.7/go.mod h1:0xhw9NBCb08vQFW3rui9WxHz2hNcr68Jd8HohnFZihw= +github.com/roadrunner-server/api/v4 v4.11.0 h1:N/MX+9r0ExSQ3rJG7sYUc2WQkWYYnJTJDUhxkx3UdX0= +github.com/roadrunner-server/api/v4 v4.11.0/go.mod h1:+OkLfVYQM24v7uU+txIyCyE5U9qtxVwX3xMafzKpfzY= +github.com/roadrunner-server/config/v4 v4.6.8 h1:dxG+VdPL5+7JG1BMjvs21sqZdqEAr7EFuLxk3XEhR8Q= +github.com/roadrunner-server/config/v4 v4.6.8/go.mod h1:Bh7SBen7Bb38ex8j1F3xAcvARsLsxbLbLCVw/vZBd8c= github.com/roadrunner-server/endure/v2 v2.4.3 h1:R9DdsLiLjtSFivZ1HKk/1eDZ0TYaKHQzakVwz9D2hto= github.com/roadrunner-server/endure/v2 v2.4.3/go.mod h1:4n3PdwZ3h/IRL2enDGvEVXtaQgqRnZ74VOyZtOJq528= github.com/roadrunner-server/errors v1.4.0 h1:Odjg3VZrj1q5Y8ILwoN+JgERyv0pkhrWPNOM4h68iQ8= github.com/roadrunner-server/errors v1.4.0/go.mod h1:78PvraAFj+Sxy5nDmo0S+h6rEMLFIDszWZxA3B0sPAs= github.com/roadrunner-server/goridge/v3 v3.8.1 h1:mdS5lDKQwPuVJ2jwW7l5cngJNJiie7xEGwpgw7a6CuQ= github.com/roadrunner-server/goridge/v3 v3.8.1/go.mod h1:L5UkNzD8aKLz6TzpqmmiHOJ6EnsadsWEYNoqK/4qoK0= -github.com/roadrunner-server/informer/v4 v4.3.14 h1:eJWI079rMBJBkYVWwtFdkozGw9hwI2iBfl/E5LzVfSM= -github.com/roadrunner-server/informer/v4 v4.3.14/go.mod h1:Ir5FsF7/BndYNtzLJvRz/4sJaMGe3jojDDG6FAWeeXk= -github.com/roadrunner-server/jobs/v4 v4.7.13 h1:8bzZzMEykSnFhzkCWuQ/Lq1Q2LR1F9+P0dc1rA0eB9A= -github.com/roadrunner-server/jobs/v4 v4.7.13/go.mod h1:32iG5PZaDPOAKX6WbOwPm4rAHzCYC3s3DIPy374MjFc= -github.com/roadrunner-server/logger/v4 v4.2.14 h1:BVJqmdsI+tIkspSyTd5MsqvHX2w2oxGYjRTSh5kDL1w= -github.com/roadrunner-server/logger/v4 v4.2.14/go.mod h1:z8ainOGoCNey7vEAEfiVAMYmOmfAUoN3z13Hc0co1Ho= -github.com/roadrunner-server/otel/v4 v4.3.13 h1:CCavPu7RKdt01fVDpgYKd6ACU1liByuZ3fIBrJJxsBM= -github.com/roadrunner-server/otel/v4 v4.3.13/go.mod h1:a05XI/y+dzIuXmZXsvHXDBFF6rVhPfH+lciTv+J5FAM= -github.com/roadrunner-server/resetter/v4 v4.1.0 h1:xQ1zOpkwqTgzzp6FtS8x3HhNcceOpSmhtqTk2i/GWQw= -github.com/roadrunner-server/resetter/v4 v4.1.0/go.mod h1:uJwGNu+Ktodo3JGAOEiz+EmvgB+vorTbR2HDL7bWR3M= -github.com/roadrunner-server/rpc/v4 v4.2.15 h1:cGKsF2tYqe8k+oRM3aWsbddpihY1vhjd9n6/w6AqEqA= -github.com/roadrunner-server/rpc/v4 v4.2.15/go.mod h1:Hxduua91f9pAkMzoJzG+a5Ep3azHeBsp2I842A6X+mQ= +github.com/roadrunner-server/informer/v4 v4.3.15 h1:ub2WGk57R4x4TsPb47XSwpu07+lsUuTAMrimTaIr7OY= +github.com/roadrunner-server/informer/v4 v4.3.15/go.mod h1:kc7B+kH5pc04NHKWcZLTSnA4n174Cw105s4AzDBHgUg= +github.com/roadrunner-server/jobs/v4 v4.7.14 h1:bmAqHn+yo0u8o6EqjE7hVrgxUZVBg9kHUXwBp4iz2Gg= +github.com/roadrunner-server/jobs/v4 v4.7.14/go.mod h1:FuH54M3MRV2tknaZDacvHTh4SiiIUms9bBO0OtPZSpA= +github.com/roadrunner-server/logger/v4 v4.2.15 h1:Tltmbn3c/Sz/FjSzmVk/DCy57JELvVdT41xKEXZJh5M= +github.com/roadrunner-server/logger/v4 v4.2.15/go.mod h1:3OHfFMDzhXUYel/lpfj1hfSHHcFaJhQfE47F2ZYEA2A= +github.com/roadrunner-server/otel/v4 v4.3.14 h1:s7GtARlarQ/XWVUIy7KSVAxj+V7iewKjbqWkifp1gz0= +github.com/roadrunner-server/otel/v4 v4.3.14/go.mod h1:sLkb1eye9OXTi/X/BVSRUMD6zRA9qazWAWCWW14GgNo= +github.com/roadrunner-server/resetter/v4 v4.1.1 h1:5HtRFDjpBFTjTfqM98egVyisc2B1vpynzfjSa6WKvWU= +github.com/roadrunner-server/resetter/v4 v4.1.1/go.mod h1:uJwGNu+Ktodo3JGAOEiz+EmvgB+vorTbR2HDL7bWR3M= +github.com/roadrunner-server/rpc/v4 v4.2.16 h1:oIjQY0iYaH4Le8YPRBWq8JaSKwngunkSW+GbR+/9JzY= +github.com/roadrunner-server/rpc/v4 v4.2.16/go.mod h1:xilTZTP+mTaYqjqRmt3ePmz1vJqEsZQNRzQtKwuYIJU= github.com/roadrunner-server/sdk/v4 v4.6.0 h1:dXMN7V8+VKjQAZamhKBizPGSqrpfAfVG6r4OCF66hNY= github.com/roadrunner-server/sdk/v4 v4.6.0/go.mod h1:YzRn2S947MqcnBcOuwu04CpAhsQGf6JBf+xY+njqu5o= -github.com/roadrunner-server/server/v4 v4.5.7 h1:F337i6cGmwssle8jrkjwOEmYd230wny6wGnFIr17yrQ= -github.com/roadrunner-server/server/v4 v4.5.7/go.mod h1:ca/vVreZ/w7bta1NcJNEysyEoyKoYkh/n0cILed786Y= +github.com/roadrunner-server/server/v4 v4.5.8 h1:pc/Bzaz0APk0rESo7OMybtFcNx3EOzOL95f+Yq7RaRc= +github.com/roadrunner-server/server/v4 v4.5.8/go.mod h1:vueybZ3U+noYb+o2t9QIzOUzRpZN+IcfY45rcysfEdE= github.com/roadrunner-server/tcplisten v1.4.0 h1:yWo09zktv/CSV6VywLfw4pwNcUchgTiIrW4uIICtO5M= github.com/roadrunner-server/tcplisten v1.4.0/go.mod h1:A6+VSnW2ETGnN/e/CMdP63ZXqQDaC0UDMU6QmyuB0yM= github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ=