From 25f01a284862f9a3229a3c797e8d7d4663f02baf 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 and go-modbus-capture v0.1.0 -> v0.2.0, keep go 1.26.0, pin the release workflow to otfabric/.github v3.6.0 and add the v3.6.1 release notes. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 2 +- RELEASE.md | 12 ++++++++++++ go.mod | 4 ++-- go.sum | 8 ++++---- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d049a03..d180b62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ permissions: jobs: release-modbusctl-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: modbusctl diff --git a/RELEASE.md b/RELEASE.md index ea7a4c3..dba5b7c 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,17 @@ # modbusctl Releases +## v3.6.1 + +**Date:** 2026-11-08 +**Previous release:** v3.6.0 + +### Changed + +- Built on go-modbus v1.13.1 (was v1.11.1) and go-modbus-capture v0.2.0 (was v0.1.0). These releases change only the tools bundled with the libraries (`modbus-cli`: organisation exit codes, the one-line `version` and `version --json`, shell completion; `mbcapctl`: the one-line `version`, `version --json` and `completion`); the library code modbusctl uses is the same, so modbusctl behaves as before. `version` lists `go-modbus 1.13.1` and `go-modbus-capture 0.2.0`. +- 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). + +--- + ## v3.6.0 **Date:** 2026-11-07 diff --git a/go.mod b/go.mod index cf5335e..ebc15da 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.26.0 require ( github.com/mdlayher/arp v0.0.0-20220512170110-6706a2966875 - github.com/otfabric/go-modbus v1.11.1 - github.com/otfabric/go-modbus-capture v0.1.0 + github.com/otfabric/go-modbus v1.13.1 + github.com/otfabric/go-modbus-capture v0.2.0 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 github.com/stretchr/testify v1.11.1 diff --git a/go.sum b/go.sum index 22420cf..2d73b08 100644 --- a/go.sum +++ b/go.sum @@ -20,10 +20,10 @@ github.com/mdlayher/packet v1.1.2/go.mod h1:GEu1+n9sG5VtiRE4SydOmX5GTwyyYlteZiFU github.com/mdlayher/socket v0.2.1/go.mod h1:QLlNPkFR88mRUNQIzRBMfXxwKal8H7u1h3bL1CV+f0E= github.com/mdlayher/socket v0.5.1 h1:VZaqt6RkGkt2OE9l3GcC6nZkqD3xKeQLyfleW/uBcos= github.com/mdlayher/socket v0.5.1/go.mod h1:TjPLHI1UgwEv5J1B5q0zTZq12A/6H7nKmtTanQE37IQ= -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-capture v0.1.0 h1:5TuDKNQy/TKAxEa413Y1RUpcmTK6Zl80KTJtqP6Z9hc= -github.com/otfabric/go-modbus-capture v0.1.0/go.mod h1:z+1rnvMln/8Ra4lSzbekw4pybZroJuBf8GPXqCHY8qs= +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-modbus-capture v0.2.0 h1:tU1qYslLrWehUyk5wBQWRGdF8YNaPPpog9k5k8Rz98c= +github.com/otfabric/go-modbus-capture v0.2.0/go.mod h1:z+1rnvMln/8Ra4lSzbekw4pybZroJuBf8GPXqCHY8qs= 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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=