From a93d3cdf83c2cfd27395eeebb2ee655e732d0a7f Mon Sep 17 00:00:00 2001 From: Bart Van Bos Date: Sun, 8 Nov 2026 01:00:16 +0100 Subject: [PATCH] chore: bump OT Fabric libraries and align the Go floor Bump go-modbus v1.11.1 -> v1.13.1, keep go 1.26.0, pin the release workflow to otfabric/.github v3.6.0, update the README requirements and add the v0.6.1 release notes. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 2 +- README.md | 2 +- RELEASE.md | 12 ++++++++++++ go.mod | 2 +- go.sum | 4 ++-- 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 253a542..5a88d8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ permissions: jobs: release-sunspecctl-binary: - uses: otfabric/.github/.github/workflows/go-binary-release.yml@v3.3.0 + uses: otfabric/.github/.github/workflows/go-binary-release.yml@v3.6.0 with: bump: ${{ inputs.bump }} binary-name: sunspecctl diff --git a/README.md b/README.md index 3a20c0b..723bd26 100644 --- a/README.md +++ b/README.md @@ -382,7 +382,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.0+ and [otfabric/go-modbus](https://github.com/otfabric/go-modbus) v1.11.1+ +- [otfabric/go-sunspec](https://github.com/otfabric/go-sunspec) v0.10.0+ and [otfabric/go-modbus](https://github.com/otfabric/go-modbus) v1.13.1+ ## Contributing diff --git a/RELEASE.md b/RELEASE.md index 3df33f3..4720acd 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,17 @@ # sunspecctl Releases +## v0.6.1 + +**Date:** 2026-11-08 +**Previous release:** v0.6.0 + +### Changed + +- Built on go-modbus v1.13.1 (was v1.11.1). v1.12.0 to v1.13.1 change only go-modbus's bundled `modbus-cli` (organisation exit codes, the one-line `version` and `version --json`, shell completion); the library code sunspecctl uses is the same, so sunspecctl behaves as before. `version` lists `go-modbus 1.13.1`. +- Release binaries are built with the latest Go 1.26 patch release (otfabric/.github release workflow v3.6.0); they were built with the exact Go version in `go.mod` (1.26.0). + +--- + ## v0.6.0 **Date:** 2026-11-07 diff --git a/go.mod b/go.mod index 0b6bed9..f3b18ec 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/otfabric/sunspecctl go 1.26.0 require ( - github.com/otfabric/go-modbus v1.11.1 + github.com/otfabric/go-modbus v1.13.1 github.com/otfabric/go-sunspec v0.10.0 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index 998e822..304af6c 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,8 @@ 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.11.1 h1:9a5sMUwcpN49VVfCJRSgW72QggcfF7KnqiWNcbmnzSk= -github.com/otfabric/go-modbus v1.11.1/go.mod h1:FcVASTIAl1MNwPVW8nCMMubztiMueKHIFeVyHm0BDeY= +github.com/otfabric/go-modbus v1.13.1 h1:tdIsrO/p8b79ZfgejZJu4l30RKH0E9j30CnzR9ueCDs= +github.com/otfabric/go-modbus v1.13.1/go.mod h1:FcVASTIAl1MNwPVW8nCMMubztiMueKHIFeVyHm0BDeY= github.com/otfabric/go-serial v0.2.1 h1:PCOdnCDAHIHFaxTBNmisC/4SlD+NVd74d+EJPnXrCOw= github.com/otfabric/go-serial v0.2.1/go.mod h1:TqbYpWWg6W+IuCLs8YM2cndlMAEaTyaKyUX6Z08gtq8= github.com/otfabric/go-sunspec v0.10.0 h1:4vHV94iaj4ukUbSiEKf/aDUvVYmY9MTb5+dos4UdtkQ=