RELAY spec v0.3 released
The RELAY specification has been bumped to v0.3 (draft). See spec/CHANGELOG.md and spec/version.json.
New cross-cutting artifacts useful for this repo:
- JSON Schemas (draft 2020-12) for every canonical type and CLI document are now published under
spec/schemas/ and embedded in the relay binary (relay.Schema(name)).
- Golden reference vectors are published under
spec/vectors/, including error-condition vectors under spec/vectors/errors/. Use these as fixtures to verify your ToMessage()/FromMessage() and validators.
relay conform <binary> now validates version/capabilities/status output against the §12 schemas.
Action: when this implementation adopts v0.3, update its exported spec version to "0.3" and run relay conform against the schemas.
C++ note: the JSON Schemas under spec/schemas/ are language-neutral and apply to the C++ RCP implementation's version/capabilities/status CLI output (§12) and its canonical RCP types (rcp-command.json, rcp-status.json). Build the CLI with -DRELAY_BUILD_CLI=ON so relay conform can validate it against the schemas.
RELAY spec v0.3 released
The RELAY specification has been bumped to v0.3 (draft). See spec/CHANGELOG.md and spec/version.json.
New cross-cutting artifacts useful for this repo:
spec/schemas/and embedded in therelaybinary (relay.Schema(name)).spec/vectors/, including error-condition vectors underspec/vectors/errors/. Use these as fixtures to verify yourToMessage()/FromMessage()and validators.relay conform <binary>now validatesversion/capabilities/statusoutput against the §12 schemas.Action: when this implementation adopts v0.3, update its exported spec version to
"0.3"and runrelay conformagainst the schemas.C++ note: the JSON Schemas under
spec/schemas/are language-neutral and apply to the C++ RCP implementation'sversion/capabilities/statusCLI output (§12) and its canonical RCP types (rcp-command.json,rcp-status.json). Build the CLI with-DRELAY_BUILD_CLI=ONsorelay conformcan validate it against the schemas.