Repository navigation
v0.6.0 — RELAY spec v0.2 conformance
What's new
Full conformance with RELAY spec v0.2 across all three priority tiers.
P0 — Breaking renames
MessageTypeconstants now use theMsgTypeprefix:MsgTypeRequest,MsgTypeResponse,MsgTypeNotification,MsgTypeError,MsgTypeRequestNoReturn, and all TP variantsReturnCodeconstants now use theRetprefix:RetOK,RetNotOK,RetUnknownService, etc.SubscribeConfig/Option/ApplySubscribeOptsrenamed toSubscriberConfig/Option/ApplySubscriberOpts(now type aliases forrelay.SubscriberConfig/Option)ErrNotReadyrenamed toErrNotConnected
P1 — RELAY conformance (spec §5, §10, §14, §15, §17)
- Error sentinels wrap
relay.ErrClosed/ErrTimeout/ErrNotConnected/ErrPayloadTooLargesoerrors.Is(err, relay.ErrXxx)works across the stack - New
ErrPayloadTooLargewrappingrelay.ErrPayloadTooLarge BackPressurePolicywithDropNewest/DropOldest/BlockandWithBackPressureoptionSOMEIPProtocolVersion = 0x01;codec.Decoderejects frames with a different version- JSON tags on
Messagefields Message.ToMessage()/FromMessage()envelope conversionAdapt(Service) relay.Caller— protocol-agnostic application interfaceSpecVersion = "0.2"cmd/go-someip:version,capabilities,statusCLI commands
P2 — Optional interfaces (spec §9)
HealthProvider,MetricsProvider,Drainer
FuSa
- 112 atomic SEOOC requirements in
.fusa-reqs.json(up from 71)
Fixes
Full Changelog: v0.5.0...v0.6.0