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..4904ae9 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 (#74) + ## [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" )