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

---

## v0.22.3

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

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

What go-profinet v0.28.0 means for profinetctl:

- **Connect does not set RejectDCPsetRequests**: go-profinet's
controller can now ask a device to refuse DCP Set requests while the
AR runs (`controller.DeviceConfig.RejectDCPSet`, ARProperties bit 27).
profinetctl does not set it, so `connect` and the other AR commands
send the same Connect as before, and a device under an AR of
profinetctl still accepts `name set`, `ip set` and `reset`.
- **A device under another controller's AR may refuse a Set**: a
go-profinet device now honours the bit, as p-net already did. While a
controller that set it holds an AR with the device, `name set`,
`ip set` and `reset` are refused with the DCP block error "SET not
possible by local reasons" (exit 6, `dcp_block_error`), as for any
other device that refuses a Set; `signal` is still answered. A device
under a controller that does not set the bit behaves as before.
- **New in the library, not exposed by profinetctl**: the CIM SNMP
records (CIMSNMPAdjust 0x8200, CIMSNMPReal 0x8201) and their codecs,
`dcp.SetGuard` and `snmp.Agent.SetCommunities`. `record read` and
`record write` reach those records by index on a device that serves
them, as any other record.

---

## v0.22.2

**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.27.0
github.com/otfabric/go-profinet v0.28.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.27.0 h1:ByAeCY1ZaM8cKYY8w6OCREZQnI8cOnc2XvZpVPsaXSU=
github.com/otfabric/go-profinet v0.27.0/go.mod h1:eLxHQxabRs/OloPKSXKo/0OOgMjwjJUwnkQstdfE2wI=
github.com/otfabric/go-profinet v0.28.0 h1:d+bO5L7If/hwlSIe4r//wXgvy9Gn1pBnNQxtq5Aq1t0=
github.com/otfabric/go-profinet v0.28.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