Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/rcp/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
namespace rcp {

// Semantic version of the cpp-RCP implementation (matches the latest git tag).
constexpr std::string_view kVersion = "0.3.0";
constexpr std::string_view kVersion = "1.0.0";

} // namespace rcp
8 changes: 4 additions & 4 deletions include/relay/relay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ namespace relay {

// ── Spec version (§19.4) ─────────────────────────────────────────────────────

constexpr std::string_view kRelaySpecVersion = "0.3";
constexpr std::string_view kRelaySpecVersion = "1.0";

// NOTE: keep in sync with RELAY spec/version.json. The v0.3 breaking change
// (§15.7.6SOME/IP numeric msg_type) does NOT affect RCP; RCP's
// ToMessage()/FromMessage() mappings are unchanged from v0.2.
// NOTE: keep in sync with RELAY spec/version.json. RELAY v1.0 (stable) carries
// no normative changes from v0.3it promotes the spec and freezes §5/§10/§12/
// §15. RCP's ToMessage()/FromMessage() mappings are unchanged.

// ── Protocol identifiers (§3) ────────────────────────────────────────────────

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ TEST_CASE("cli: version --format json has all required fields", "[cli][conforman
REQUIRE(has_key(s, k));
}
REQUIRE(s.find("\"language\":\"cpp\"") != std::string::npos);
REQUIRE(s.find("\"spec_version\":\"0.3\"") != std::string::npos);
REQUIRE(s.find("\"spec_version\":\"1.0\"") != std::string::npos);
REQUIRE(s.find("\"protocol_int\":5") != std::string::npos);
}

Expand Down
4 changes: 2 additions & 2 deletions tests/test_relay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ using namespace std::chrono_literals;

// ── §19.4: SpecVersion constant ───────────────────────────────────────────────

TEST_CASE("relay: kRelaySpecVersion is 0.3", "[relay][conformance]") {
REQUIRE(relay::kRelaySpecVersion == "0.3");
TEST_CASE("relay: kRelaySpecVersion is 1.0", "[relay][conformance]") {
REQUIRE(relay::kRelaySpecVersion == "1.0");
}

// ── §3: Protocol enum ─────────────────────────────────────────────────────────
Expand Down
Loading