From 45a65e8edb1773af67b590ab017895c401e0d2bb Mon Sep 17 00:00:00 2001 From: Matt <47545907+SoundMatt@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:27:40 -0700 Subject: [PATCH 1/2] chore: bump RELAY dependency v1.11.0 -> v2.0.4 (github.com/SoundMatt/RELAY/v2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit go-LIN's go.mod required github.com/SoundMatt/RELAY v1.11.0, three spec versions behind (v1.12, v1.13, v1.14, v2.0 have all shipped since). RELAY v2.0.4 fixed its own go.mod to carry the required /v2 module-path suffix (RELAY#70), so this is the real, current, go-get-able pin. Reviewed every intervening RELAY CHANGELOG entry for LIN-relevant requirement changes: - v1.12: added "c" as a valid CLI `language` value — not applicable, go-lin already reports "go". - v1.13: deep-audit fix pass to RELAY's own conform/interop/crossbar CLI bugs (e.g. --strict silently dropped when placed after the binary path). go-LIN's CI already invokes `relay conform --strict /tmp/go-lin` with --strict first, so it was never exposed to that bug. - v1.14: §13.7.2 module-name registry expansion for RCP/DDS-internals naming drift — RCP/DDS-only, not applicable to LIN. - v2.0 (MAJOR): replaces RCP's canonical types wholesale for real OPEN Alliance TC18 conformance — RCP-only, not applicable to LIN. None of the above required any go-LIN behavioral change. Updated all six `relay "github.com/SoundMatt/RELAY"` imports (adapt.go, adapt_test.go, lin.go, relay_vectors_test.go, cmd/go-lin/main.go, cmd/go-lin/main_test.go) to the /v2 path, removed the old require via `go mod tidy`, and repointed both `.github/workflows/ci.yml` `relay` CLI install pins from v1.11.0 to v2.0.4. Verified against a real v2.0.4 relay CLI built from source: - `relay conform --strict` and `relay interop --strict --protocol LIN` both PASS with no new findings. - The three checked-in testdata/relay-vectors/ LIN golden vectors are byte-identical to RELAY v2.0.4's published spec/vectors/ — no drift. - go build ./..., go vet ./..., go test ./..., go test ./... -race all pass. - gofusa check, gofusa trace -req-coverage 100, gofusa trace -sec-tested 100, gofusa cyber, gofusa vuln all pass with no new findings (pre-existing INFO-level narrowing-conversion notes only, unrelated to this change). Added the v1.5.0 CHANGELOG entry and ROADMAP release-history row per this repo's usual per-release versioning convention (MINOR bump per notable PR). Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ ROADMAP.md | 1 + adapt.go | 2 +- adapt_test.go | 2 +- cmd/go-lin/main.go | 2 +- cmd/go-lin/main_test.go | 2 +- go.mod | 2 +- go.sum | 8 ++------ lin.go | 2 +- relay_vectors_test.go | 2 +- 11 files changed, 40 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a320e0e..4f9a949 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,7 +136,7 @@ jobs: go-version: "1.25" - name: Install relay CLI - run: go install github.com/SoundMatt/RELAY/cmd/relay@v1.11.0 + run: go install github.com/SoundMatt/RELAY/v2/cmd/relay@v2.0.4 - name: Build CLI run: go build -o /tmp/go-lin ./cmd/go-lin @@ -158,7 +158,7 @@ jobs: go-version: "1.25" - name: Install relay CLI - run: go install github.com/SoundMatt/RELAY/cmd/relay@v1.11.0 + run: go install github.com/SoundMatt/RELAY/v2/cmd/relay@v2.0.4 - name: Build CLI run: go build -o /tmp/go-lin ./cmd/go-lin diff --git a/CHANGELOG.md b/CHANGELOG.md index d8872fd..db39ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,34 @@ canonical list. Dates are release dates (UTC-7, matching tag creation). ## [Unreleased] +## [1.5.0] — 2026-07-30 + +- chore: bump `github.com/SoundMatt/RELAY` v1.11.0 → `github.com/SoundMatt/RELAY/v2` + v2.0.4, tracking RELAY spec v1.12 ("c" as a valid CLI `language` value, + N/A — go-lin already reports `"go"`), v1.13 (deep-audit CLI/tooling fix + pass — RELAY-side `relay conform`/`relay interop`/`relay crossbar` + bugfixes, none of which go-LIN's CI invocation was exposed to: `--strict` + is already passed before the binary path in `.github/workflows/ci.yml`, + not after), v1.14 (§13.7.2 module-name registry expansion — RCP/DDS-only, + N/A to LIN), and v2.0 (MAJOR — RCP canonical-type replacement, RCP-only, + N/A to LIN; the only change relevant to every RELAY consumer was v2.0.4's + own fix, the `go.mod` `/v2` module-path suffix required for the v2 tag to + be `go install`/`go get`-able at all). Updated all six `relay + "github.com/SoundMatt/RELAY"` imports (`adapt.go`, `adapt_test.go`, + `lin.go`, `relay_vectors_test.go`, `cmd/go-lin/main.go`, + `cmd/go-lin/main_test.go`) to `github.com/SoundMatt/RELAY/v2`, and both + `.github/workflows/ci.yml` `relay` CLI install pins to + `go install github.com/SoundMatt/RELAY/v2/cmd/relay@v2.0.4`. Verified + against the real v2.0.4 CLI built from source: `relay conform --strict` + and `relay interop --strict --protocol LIN` both PASS with no new + findings; `lin.SpecVersion` (aliased from `relay.SpecVersion`) now + reports `"2.0"`. The three checked-in `testdata/relay-vectors/` LIN + golden vectors are byte-identical to RELAY v2.0.4's published + `spec/vectors/` — no vector drift. `go build ./...`, `go vet ./...`, + `go test ./...`, `go test ./... -race`, `gofusa check`, `gofusa trace + -req-coverage 100`, `gofusa trace -sec-tested 100`, `gofusa cyber`, and + `gofusa vuln` all pass with no new findings (#PR_NUMBER) + ## [1.4.0] — 2026-07-30 - fix: `master.Node.Diagnostics` now transmits LIN diagnostic frames diff --git a/ROADMAP.md b/ROADMAP.md index 92dea8b..93cd47e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -41,6 +41,7 @@ See [CHANGELOG.md](CHANGELOG.md) for the detailed per-version changelog. Summary | v1.2.0 | Full ISO/IEC/DO compliance evidence pack, max coverage | | v1.3.0 | RELAY spec v1.11 conformance; `cmd/go-lin` RELAY CLI docs/Docker image; diagnostic frames, sporadic frames, LDF write-direction encoding, `stats` package; see CHANGELOG | | v1.4.0 | Audit fix pass: diagnostic-frame (0x3C/0x3D) classic-checksum bug, oversize-payload rejection, HARA ASIL recomputation, deprecated-alias cleanup, doc/traceability corrections; see CHANGELOG | +| v1.5.0 | RELAY dependency bump v1.11.0 → `github.com/SoundMatt/RELAY/v2` v2.0.4 (spec v2.0 conformance); no LIN-relevant behavioral changes, verified against the real CLI; see CHANGELOG | --- diff --git a/adapt.go b/adapt.go index 1e23143..e3031ac 100644 --- a/adapt.go +++ b/adapt.go @@ -11,7 +11,7 @@ import ( "strconv" "time" - relay "github.com/SoundMatt/RELAY" + relay "github.com/SoundMatt/RELAY/v2" ) // Adapt wraps bus as a relay.Node for use with protocol-agnostic applications. diff --git a/adapt_test.go b/adapt_test.go index b97d599..e4ac97d 100644 --- a/adapt_test.go +++ b/adapt_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - relay "github.com/SoundMatt/RELAY" + relay "github.com/SoundMatt/RELAY/v2" lin "github.com/SoundMatt/go-LIN" "github.com/SoundMatt/go-LIN/virtual" ) diff --git a/cmd/go-lin/main.go b/cmd/go-lin/main.go index 8d115ff..15854b7 100644 --- a/cmd/go-lin/main.go +++ b/cmd/go-lin/main.go @@ -50,7 +50,7 @@ import ( "syscall" "time" - relay "github.com/SoundMatt/RELAY" + relay "github.com/SoundMatt/RELAY/v2" lin "github.com/SoundMatt/go-LIN" "github.com/SoundMatt/go-LIN/virtual" ) diff --git a/cmd/go-lin/main_test.go b/cmd/go-lin/main_test.go index ae648a5..4fd87a2 100644 --- a/cmd/go-lin/main_test.go +++ b/cmd/go-lin/main_test.go @@ -12,7 +12,7 @@ import ( "strings" "testing" - relay "github.com/SoundMatt/RELAY" + relay "github.com/SoundMatt/RELAY/v2" lin "github.com/SoundMatt/go-LIN" ) diff --git a/go.mod b/go.mod index 6fff62f..eae3cde 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/SoundMatt/go-LIN go 1.25.0 -require github.com/SoundMatt/RELAY v1.11.0 +require github.com/SoundMatt/RELAY/v2 v2.0.4 diff --git a/go.sum b/go.sum index bb5c11d..d4eb739 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,2 @@ -github.com/SoundMatt/RELAY v1.0.0 h1:eb4PvxHrJd0jsR97zBHOeTNJZXB69S3MWFpaknJho6c= -github.com/SoundMatt/RELAY v1.0.0/go.mod h1:8HXkxErdk4pHaM1de9eopm2S8o1aE7tKYkCBBsHxxcg= -github.com/SoundMatt/RELAY v1.10.0 h1:P+UrbaMCwb44KKPdotBSPfjPtqnC6GkrCZg8lNSgtKE= -github.com/SoundMatt/RELAY v1.10.0/go.mod h1:8HXkxErdk4pHaM1de9eopm2S8o1aE7tKYkCBBsHxxcg= -github.com/SoundMatt/RELAY v1.11.0 h1:ZqGQpU/ak5FNW4AOHjtVA6vPGjJhXCwFzAICHlHjNFE= -github.com/SoundMatt/RELAY v1.11.0/go.mod h1:8HXkxErdk4pHaM1de9eopm2S8o1aE7tKYkCBBsHxxcg= +github.com/SoundMatt/RELAY/v2 v2.0.4 h1:e64zaug7jFfFCgTq6PDdUWwyiwxUF0ypg4u360PDs3M= +github.com/SoundMatt/RELAY/v2 v2.0.4/go.mod h1:v/KbXSnTFSl4M44p0xLYyIH2eZ9rZ16CJCCbAropi24= diff --git a/lin.go b/lin.go index 7b6f360..d9d96a2 100644 --- a/lin.go +++ b/lin.go @@ -32,7 +32,7 @@ import ( "fmt" "strconv" - relay "github.com/SoundMatt/RELAY" + relay "github.com/SoundMatt/RELAY/v2" ) // SpecVersion is the RELAY specification version this package implements. diff --git a/relay_vectors_test.go b/relay_vectors_test.go index 6fbefa4..1cbb834 100644 --- a/relay_vectors_test.go +++ b/relay_vectors_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - relay "github.com/SoundMatt/RELAY" + relay "github.com/SoundMatt/RELAY/v2" lin "github.com/SoundMatt/go-LIN" ) From 3f64c07908a21308e9ef4a9dbd8a5451f0780401 Mon Sep 17 00:00:00 2001 From: Matt <47545907+SoundMatt@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:28:20 -0700 Subject: [PATCH 2/2] docs: fill in PR number in v1.5.0 CHANGELOG entry (#74) Signed-off-by: Matt <47545907+SoundMatt@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db39ab6..4904ae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,7 +32,7 @@ canonical list. Dates are release dates (UTC-7, matching tag creation). `spec/vectors/` — no vector drift. `go build ./...`, `go vet ./...`, `go test ./...`, `go test ./... -race`, `gofusa check`, `gofusa trace -req-coverage 100`, `gofusa trace -sec-tested 100`, `gofusa cyber`, and - `gofusa vuln` all pass with no new findings (#PR_NUMBER) + `gofusa vuln` all pass with no new findings (#74) ## [1.4.0] — 2026-07-30