Releases: otfabric/go-otfp
Releases · otfabric/go-otfp
Release list
v0.0.3
Date: 2026-07-30
Previous release: v0.0.2
Summary
Patch release: MIT open-source hygiene, fix docs/code mismatches, wire typed
detection errors into detectors, and harden the Makefile coverage target.
Still v0.0.x (pre-1.0).
Changes
License & open-source hygiene
- LICENSE — Normalized copyright to
Copyright (c) 2026 OT Fabric(was personal name); standard MIT text retained. - SPDX headers — Added
// SPDX-License-Identifier: MITto all first-party.gosource files (55 files). - README — License section normalized to point at LICENSE.
- README badges — Standardized block: Go
1.23+(fromgo.mod), pkg.go.dev, License, CI, Codecov (tokenlesscodecov.io/gh/...), Release (label=release). Removed Go Report Card (service unmaintained).
Fixed
- README CI badge — image URL pointed at
otfp/modbus; nowotfabric/go-otfp. DefaultEngineConfigdocs —Paralleldefault documented asfalse(matches code / CLI).- Makefile
coverage— defineTEST_PKGS(all packages except/cmd/) so coverage no longer expands to an empty package list.
Added
core.ClassifyDial/ClassifyIO— map dial and send/receive failures toTimeoutError,ConnectionError, orDetectError.- All protocol detectors now return those typed errors instead of bare
fmt.Errorfwrappers (sootprobeJSON classification anderrors.Aswork). - Makefile
vuln—govulncheck ./..., included inmake check. - Makefile —
GOWORK=offso a parentgo.workthat omits this module does not break checks.
Documentation
- Observer — clarified as scan progress/audit callbacks, not request metrics (README, API.md, godoc).
- Stability —
v0.0.xpre-1.0 note in README and this file. - Errors — document classifier helpers; note
InvalidResponseErrorremains optional (detectors preferNoMatchfor protocol mismatches). - README — table of contents; short Project structure summary; Architecture tree refreshed (
classify.go,wireshark/, removed staleversion.txt). - ERRORS.md — Short error taxonomy: no-match
Resultvs typed transport/detection errors; classifier helpers; CLI JSON type mapping.
v0.0.2
Date: 2026-03-24
Previous release: v0.0.1
Summary
Module rename, build system overhaul, and adoption of shared CI/release workflows.
Changes
Module rename
- Renamed Go module from
github.com/otfabric/otfptogithub.com/otfabric/go-otfpacross all packages, imports, and documentation.
Build-time version injection
- Replaced
version.txt-based versioning with compile-time ldflags (-X main.version,-X main.tag,-X main.commit,-X main.buildDate). - Removed
cmd/otprobe/version.txt. - Updated
BuildInfostruct: replacedBranch,Revision, andBuildUserfields withTagandCommitto align with the shared release workflow.
CI/CD
- Migrated CI workflow to reusable
otfabric/.github/.github/workflows/go-ci.yml@v2with multi-version Go matrix (1.23–1.26) and Codecov integration. - Migrated release workflow to reusable
go-package-release.yml@v2andgo-binary-release.yml@v2, replacing the monolithic inline release job.
Makefile
- Restructured targets: separated
fmt,lint(staticcheck),lint-ci(golangci-lint), and addedcoverage/covertargets. - Version variables now derived from
git describeandgit rev-parseinstead ofversion.txt. - Binary output directory remains
./bin/.
Go version
- Lowered minimum Go version from 1.25 to 1.23.
Documentation
- Updated README badges, install commands, and code examples to reflect the new module path.
v0.0.1
Changes since v0.0.0
- Initial release