diff --git a/README.md b/README.md index 29f64e3..923173f 100644 --- a/README.md +++ b/README.md @@ -402,7 +402,7 @@ Tests need no hardware: they run against the SunSpec fixture server of go-sunspe ## Requirements - Go 1.26+ to build from source (not needed with the installer) -- [otfabric/go-sunspec](https://github.com/otfabric/go-sunspec) v0.10.1+ and [otfabric/go-modbus](https://github.com/otfabric/go-modbus) v1.14.5+ +- [otfabric/go-sunspec](https://github.com/otfabric/go-sunspec) v0.10.2+ and [otfabric/go-modbus](https://github.com/otfabric/go-modbus) v1.15.1+ ## Contributing diff --git a/RELEASE.md b/RELEASE.md index 25c2798..1abdb07 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,19 @@ # sunspecctl Releases +## v0.7.2 + +**Date:** 2026-11-13 +**Previous release:** v0.7.1 + +### Changed + +- Built on go-modbus v1.15.1 and go-sunspec v0.10.2 (was go-modbus v1.14.5 and go-sunspec v0.10.1). go-sunspec is a dependency bump only. +- `rtu://` and `ascii://`: after a timeout or an answer that does not match its request, the client discards the line until it is quiet, so the next request does not receive a late answer to an earlier one. +- `rtuovertcp://`, `asciiovertcp://` and `rtuoverudp://`: the client closes and redials the connection after a request error or a mismatched answer. Expect more reconnects behind gateways where units often time out. +- `serve` on `tcp+tls://`: when all 10 client slots are taken, a new connection replaces the oldest connection still in its TLS handshake instead of being refused; connections that completed the handshake are kept. A client must complete the TLS handshake within 10 s (was 30 s). + +--- + ## v0.7.1 **Date:** 2026-11-13 diff --git a/go.mod b/go.mod index c0264bc..0387e88 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/otfabric/sunspecctl go 1.26.0 require ( - github.com/otfabric/go-modbus v1.14.5 - github.com/otfabric/go-sunspec v0.10.1 + github.com/otfabric/go-modbus v1.15.1 + github.com/otfabric/go-sunspec v0.10.2 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 ) diff --git a/go.sum b/go.sum index f0f075b..fbc43af 100644 --- a/go.sum +++ b/go.sum @@ -1,12 +1,12 @@ github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/otfabric/go-modbus v1.14.5 h1:jJ/DHNXxKNJqWCOz4EM2WvJ21K3CrDX9/kFuVYdQhBQ= -github.com/otfabric/go-modbus v1.14.5/go.mod h1:JF9zr+k/zgGilGDsDbS6pg33w8i9VPbFmaVpbnaHVzU= +github.com/otfabric/go-modbus v1.15.1 h1:uQjS4xWjc2Pd6IDsBWj/MNGqRHfOMkKC1IHCJuAEnN8= +github.com/otfabric/go-modbus v1.15.1/go.mod h1:JF9zr+k/zgGilGDsDbS6pg33w8i9VPbFmaVpbnaHVzU= github.com/otfabric/go-serial v0.3.0 h1:HHklo8Ak76ffDUIv7Jd2A2ScAiI/wZhV1o8IWUj4ywA= github.com/otfabric/go-serial v0.3.0/go.mod h1:CGEz7RtffVDY/EBU8oN/ydSCjMOdtRpB0LNTc8BmSUQ= -github.com/otfabric/go-sunspec v0.10.1 h1:jr5ea0MnAvcB42PP/fvVpAHjCrhQdIkNjb/Eep6cVMY= -github.com/otfabric/go-sunspec v0.10.1/go.mod h1:jgD8ExkU0fp6wmhumPmzQJDIQsArJ7cl15RHOWFNizo= +github.com/otfabric/go-sunspec v0.10.2 h1:nRmxsb53V8/B7dc4qebpFYlanEJVSxc7CZopbdSVCMo= +github.com/otfabric/go-sunspec v0.10.2/go.mod h1:ZNYeTqmkFUwBug7KRBKte3QuxYReClhuOk/m2uU6hHg= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/santhosh-tekuri/jsonschema/v6 v6.0.3 h1:1EYB5IzjZawrrnELUi78f9fPu57HuXjmddZPjrls/28= github.com/santhosh-tekuri/jsonschema/v6 v6.0.3/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU=