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
32 changes: 32 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,38 @@ ending with a `---` line and no `---` line inside a section

---

## v0.22.2

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

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

What go-profinet v0.27.0 means for profinetctl:

- **`--debug` output**: the go-profinet entries that belong to a request
are now a constant message with fields. Of those profinetctl can
print, `discover` and `identify` log a dropped Identify response as
`msg="dcp: identify response dropped" source=… error=…`, and the AR
commands log a re-parameterization (`--reparam`) as
`msg="controller: re-parameterized" station=… parameters=…`; before,
each was one formatted sentence. A script that parses `--debug`
stderr must match the new messages. stdout and the exit codes are
unchanged.
- **New in the library, not exposed by profinetctl**: an opt-in
allow-list of what a controller or a record client sends
(`controller.Config.Allowed`, `controller.RecordClientOptions.Allowed`:
operation classes, record index ranges for reads and writes, DCP Set
blocks) and its DCP counterpart (`dcp.ClientOptions.Allowed`).
profinetctl sends only what its command line asks for and sets no
allow-list, so nothing it sends is refused.
- `rpc.Server` answers a handler that panics with a FAULT instead of
ending the process; profinetctl runs no RPC server, so this does not
affect it.

---

## v0.22.1

**Date:** 2026-11-30
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.26.0
github.com/otfabric/go-profinet v0.27.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.26.0 h1:v8ibrq2tSt5x4AkHRE5a9wNBvUMJciERt+QmoEuxyw4=
github.com/otfabric/go-profinet v0.26.0/go.mod h1:eLxHQxabRs/OloPKSXKo/0OOgMjwjJUwnkQstdfE2wI=
github.com/otfabric/go-profinet v0.27.0 h1:ByAeCY1ZaM8cKYY8w6OCREZQnI8cOnc2XvZpVPsaXSU=
github.com/otfabric/go-profinet v0.27.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