Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:

jobs:
release-profinetctl-binary:
uses: otfabric/.github/.github/workflows/go-binary-release.yml@v3.8.0
uses: otfabric/.github/.github/workflows/go-binary-release.yml@v3.9.0
with:
bump: ${{ inputs.bump }}
binary-name: profinetctl
Expand Down
47 changes: 45 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Releasing profinetctl

Releases are cut by the **Release** workflow (`.github/workflows/release.yml`, the shared `otfabric/.github` `go-binary-release.yml@v3.8.0`): run it from the Actions tab with the version bump (`patch`, `minor`, `major`). It tags the version, builds the binaries for Linux (x86-64, ARM64, ARMv7), macOS (x86-64, ARM64) and Windows (x86-64, ARM64) with the version, tag, commit and build date in `profinetctl version`, and publishes them with SHA-256 checksums.
Releases are cut by the **Release** workflow (`.github/workflows/release.yml`, the shared `otfabric/.github` `go-binary-release.yml@v3.9.0`): run it from the Actions tab with the version bump (`patch`, `minor`, `major`). It tags the version, builds the binaries for Linux (x86-64, ARM64, ARMv7), macOS (x86-64, ARM64) and Windows (x86-64, ARM64) with the version, tag, commit and build date in `profinetctl version`, and publishes them with SHA-256 checksums.

## go-profinet

Expand All @@ -23,6 +23,49 @@ ending with a `---` line and no `---` line inside a section

---

## v0.22.1

**Date:** 2026-11-30
**Previous release:** v0.22.0

Built on go-profinet v0.26.0 (was v0.24.0). No change to the commands,
flags, exit codes or JSON output of profinetctl.

What the go-profinet releases in between mean for profinetctl:

- **Callbacks of the controller are guarded** (v0.26.0): the controller
runs its `OnState` and `OnAlarm` callbacks, which profinetctl uses to
print the events of `connect` and the other AR commands, on a
goroutine of their own. A callback that panics is logged at Warn and
the AR goes on; before, it ended the process.
- **Alarm sequence numbers** (v0.25.0, `alarm.Endpoint`): a DATA PDU
whose first transmission failed or whose send was cancelled no longer
uses up its sequence number, a pending PDU keeps its own copy of the
payload, and after a DATA PDU timed out the endpoint sends no further
DATA PDU (the AR is to be aborted).
- **RPC fragments in mixed byte order are refused** (v0.25.0): a
fragmented call or answer whose fragments differ in DRep byte order is
malformed; before, the body was read in the last fragment's order.
- **Decoded LLDP**: the PROFINET MRP port status TLV is now decoded by
go-profinet (v0.25.0); `lldp` shows the same fields as before.
- Against go-profinet IO-Devices (v0.25.0): their LLDP TTL is 21 s (was
20 s), which `lldp` shows; written MRP timers of the 200 and 500 ms
profiles are applied and other timers refused; a controller that
reconnects with a new IOCAR writes its port checks again; a repeated
identical diagnosis no longer raises a second alarm, and the
AlarmSpecifier of a maintenance diagnosis no longer advertises a fault.
- Policy 1.7 (v0.26.0) added device-side decision points
(`device.Config.Authorize`, `dcp.Policy.Authorize`) and typed events;
a go-profinet IO-Device that uses them may refuse a Connect, a record
Read or Write or a DCP Set that profinetctl sends, with the status the
application chose (for example "access denied"), which profinetctl
reports as for any other device refusal.

The Release workflow uses the shared `go-binary-release.yml@v3.9.0`,
which refuses draft release notes.

---

## v0.22.0

**Date:** 2026-11-24
Expand Down Expand Up @@ -733,7 +776,7 @@ go on or succeed wrongly, as listed below.
Hello; the `--station` and `topology` rules above. README.md:
`topology check` binds UDP 34964; a missing privilege exits 9, as
docs/exitcodes.md says (it said 4). RELEASE.md: the release workflow is
`go-binary-release.yml@v3.8.0`.
`go-binary-release.yml@v3.9.0`.

### CI

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/otfabric/profinetctl
go 1.26

require (
github.com/otfabric/go-profinet v0.24.0
github.com/otfabric/go-profinet v0.26.0
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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-profinet v0.24.0 h1:BRGixSpB2TDKFm49Txw4aHEL/+X9Zg1HtMeod1aFogQ=
github.com/otfabric/go-profinet v0.24.0/go.mod h1:eLxHQxabRs/OloPKSXKo/0OOgMjwjJUwnkQstdfE2wI=
github.com/otfabric/go-profinet v0.26.0 h1:v8ibrq2tSt5x4AkHRE5a9wNBvUMJciERt+QmoEuxyw4=
github.com/otfabric/go-profinet v0.26.0/go.mod h1:eLxHQxabRs/OloPKSXKo/0OOgMjwjJUwnkQstdfE2wI=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
Expand Down
Loading