Skip to content

v0.7.0 — RELAY spec v0.3 conformance (lossless SOME/IP mapping)

Choose a tag to compare

@SoundMatt SoundMatt released this 17 Jun 13:36
· 15 commits to main since this release
5804037

Adopts RELAY spec v0.3. Depends on github.com/SoundMatt/RELAY v0.8.0.

⚠️ Breaking changes (spec v0.3 §15.7.6 / §4.3)

The someip.Message ↔ relay.Message conversion is now lossless (hazard H-002):

  • Meta["someip.msg_type"] now carries the numeric MessageType; the human-readable label moved to Meta["someip.msg_type_name"] (diagnostic only, ignored by FromMessage).
  • ToMessage() now also emits someip.client_id and someip.session_id.
  • FromMessage() restores ClientID, SessionID, MessageType, ReturnCode, and InterfaceVersion.

Other changes

  • SpecVersion → "0.3".
  • Adapt().Subscribe reads relay.WithEventID to subscribe to a SOME/IP event group (resolves SoundMatt/RELAY#12).
  • New standalone ErrWrongProtocolVersion sentinel + Message.Validate(); codec.Decode rejects wrong-version frames with it.
  • cmd/go-someip CLI output conforms to the §12 schemas; verified by relay conform --strict (new relay-conform CI gate).
  • Golden + error reference vectors vendored under testdata/vectors/.
  • FuSa: 114 atomic requirements.

Full Changelog: v0.6.1...v0.7.0